| | |
| | | </executions> |
| | | </plugin> |
| | | |
| | | <!-- Retrieve the SVN revision number and the build timestamp --> |
| | | <!-- |
| | | Retrieve the SCM revision number and store it into the ${buildRevision} property |
| | | and retrieve the build timestamp and store it into the ${buildDateTime} property |
| | | --> |
| | | <plugin> |
| | | <groupId>org.codehaus.mojo</groupId> |
| | | <artifactId>buildnumber-maven-plugin</artifactId> |
| | | <version>1.3</version> |
| | | <executions> |
| | | <execution> |
| | | <id>generate-buildnumber</id> |
| | | <goals> |
| | | <goal>create</goal> |
| | | </goals> |
| | | <configuration> |
| | | <buildNumberPropertyName>buildRevision</buildNumberPropertyName> |
| | | <revisionOnScmFailure>-1</revisionOnScmFailure> |
| | | </configuration> |
| | | </execution> |
| | | <execution> |
| | | <id>generate-timestamp</id> |
| | | <goals> |
| | | <goal>create</goal> |
| | | </goals> |
| | | <configuration> |
| | | <format>{0,date,yyyyMMddHHmmss}</format> |
| | | <items> |
| | | <item>timestamp</item> |
| | | </items> |
| | | <buildNumberPropertyName>buildDateTime</buildNumberPropertyName> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | |
| | | <!-- Compile unit tests --> |