...
Using a timestamp variable in pom.xml
for Maven versions prior to 3.0.0, you need to wrap the build timestamp Maven provides a built-in property called ${maven.build.timestamp} that provides the time the build was initiated and this can be used in your Sealights profile after wrapping in another property
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<properties> ... <timestamp>${maven.build.timestamp}</timestamp> <maven.build.timestamp.format>yyyyMMdd_HHmm</maven.build.timestamp.format> </properties> |
...