What are Maven SNAPSHOT versus release versions?
BeginnerConceptBuild Tools and Artifact Repositories
Answer
A -SNAPSHOT version (such as 1.5.0-SNAPSHOT) is a mutable development build, re-publishable and re-resolved periodically. A release version (1.5.0) is immutable: once published, repositories reject overwrites. Release builds should not depend on SNAPSHOTs, since that destroys reproducibility, and Nexus snapshot and release repos have different redeployment policies.
More on Build Tools and Artifact Repositories
What is Maven and what is its build lifecycle?BeginnerWhat is the difference between `mvn package`, `install` and `deploy`?BeginnerHow do Maven dependency scopes and transitive dependencies work?IntermediateWhat is `settings.xml` in Maven and how do CI builds use it?IntermediateWhat is the Maven Wrapper and why use it?BeginnerHow do you cache dependencies and speed up Maven builds in CI?Intermediate