scmuser created the topic: SNAPSHOT versions Vs. incremental versions
SNAPSHOT versions Vs. incremental versions
I am in a process of pushing Maven in my organization and I have a methodology question.
Up until now (before Maven), in most R&D teams, the development was broken into builds. If, for example we have a module called “my-module” with version 126.96.36.199, each build produced a jar will the following method:
My-module-188.8.131.52-01 (for build number 1)
My-module-184.108.40.206-02 (for build number 2)
And so on…
Now, when the module is built with Maven, each time the team deploy the module to Maven repository (release type), there is a new release version.
I think, the better way is to use SNAPSHOT version during development, so that all artifacts are under the same version umbrella. The problem is that the teams want to have a significant artifact for each build, something that says: this artifact is of build number 6…
1) Do you agree with me that the SNAPSHOT way is better?
2) Can you give your reasons of why this is better?