Adding the build version and timestamp

It is important to be able to identify different builds, not just the build version but also when the build was compiled. The project version is defined in the pom.xml file using the version property:

<groupId>com.gieman</groupId>
<artifactId>task-time-tracker</artifactId>
<version>1.0</version>
<packaging>war</packaging>

Performing a Maven build will result in a WAR file being generated with the filename task-time-tracker-1.0.war; it is a combination of the artifactId and version fields with the .war extension.

In enterprise environments, a new release could be anything from a minor change (for example, Release Version 1.3.2) to a major release (such as Release Version 4.0). The exact naming conventions for ...

Get Enterprise Application Development with Ext JS and Spring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.