add new execution phase to buildnumber-maven-plugin

This commit is contained in:
Roberto Cirillo 2023-02-10 11:20:04 +01:00
parent 6f04d669ad
commit 43a43a2740
1 changed files with 11 additions and 0 deletions

11
pom.xml
View File

@ -773,6 +773,17 @@
<doUpdate>false</doUpdate>
</configuration>
</execution>
<execution>
<id>build.date</id>
<phase>initialize</phase>
<goals>
<goal>create-timestamp</goal>
</goals>
<configuration>
<timestampFormat>yyyy-MM-dd</timestampFormat>
<timestampPropertyName>build.date</timestampPropertyName>
</configuration>
</execution>
</executions>
</plugin>