5. Timestamp Task

A task that prints a timestamp to stdout. Intended to primarily be used for testing.

5.1 Options

The timestamp task has the following options:

timestamp.format
The timestamp format, "yyyy-MM-dd HH:mm:ss.SSS" by default. (String, default: yyyy-MM-dd HH:mm:ss.SSS)

5.2 Building with Maven

$ ./mvnw clean install -PgenerateApps
$ cd apps/timestamp-task
$ ./mvnw clean package

5.3 Example

java -jar timestamp-task-<version>.jar