This is my script, itβs pretty simple, but I'm afraid it took me 2 days.
In my pom.xml, I have this set of properties.
<properties> <timestamp>${maven.build.timestamp}</timestamp> <maven.build.timestamp.format>yyyyMMdd-HHmmssSSS</maven.build.timestamp.format> </properties>
The format is great because it has milliseconds, but I wanted to have only milliseconds, for example, the one that came back,
date.getTime();
Can we do this in Maven plugins? Thanks.
source share