Using SNAPSHOT versioning during the development
You should use the SNAPSHOT
qualifier for the artifacts produced by your project if those are still under development and deployed regularly to a Maven snapshot repository. If the version to be released is 1.7.0, then you should use the version 1.7.0-SNAPSHOT
while it's under development. Maven treats the version SNAPSHOT
in a special manner. If you try to deploy 1.7.0-SNAPSHOT
into a repository, Maven will first expand the SNAPSHOT
qualifier into a date and time value in UTC (Coordinated Universal Time). If the date/time at the time of deployment is 10.30 AM, November 10th, 2014, then the SNAPSHOT
qualifier will be replaced with 20141110-103005-1, and the artifact will be deployed with the version 1.7.0-20141110-103005-1
.