Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meaning of "SNAPSHOT" version in Maven pom.xml [duplicate]

Tags:

maven

pom.xml

While working on multiple projects I come cross a lot of cases in which the version number has a -SNAPSHOT suffix. For example

<version>1.0.0-SNAPSHOT</version>

Why is this naming used? Couldn't people just use a different version number? What exactly hides behind the meaning of the snapshot suffix?

Thanks!

like image 604
Dropout Avatar asked Feb 12 '14 18:02

Dropout


2 Answers

A snapshot version is a version that is currently under development and not production-ready.

It is also a guideline that you shouldn't use this version in your application, since its API is not guaranteed to be stable.

like image 154
Kurt Du Bois Avatar answered Nov 06 '22 12:11

Kurt Du Bois


SNAPSHOT means latest version that hasn't been released yet, usually a version in development.

like image 28
Michiel Borkent Avatar answered Nov 06 '22 11:11

Michiel Borkent