Category Archives: MAVEN

WHAT IS DIFFERENCE BETWEEN SNAPSHOT AND VERSION IN MAVEN?

What is difference between Snapshot and Version in Maven?

In case of Version, if Maven once downloaded the mentioned version say data-service:1.0, it will never try to download a newer 1.0 available in repository. To download the updated code, data-service version is be upgraded to 1.1.

In case of SNAPSHOT, Maven will automatically fetch the latest SNAPSHOT (data-service:1.0-SNAPSHOT) everytime app-ui team build their project.