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 the version
value in use will depend on the enterprise organization. Regardless of the naming convention, it is important to identify when the build was made. This is obvious when the timestamp on the...