Reputation: 20219
We are using mvn pom.xmls to specify interdependency between our various modules that make up the project. The numeric version for every module is incremented by the build system automatically when the module is released. However, in this case, this would necessitate notifying every team to update the version their module depends on to the version we just released.
Can Maven instead just work in a way that users of a library specify something like, "depend on the 'STABLE' version of this module", and then with every build it would figure out which actual version number that translates to?
Upvotes: 0
Views: 82
Reputation: 53462
Why don't you just depend on the major version, and release minor versions?
<version>[1.,)</version>
You can also use RELEASE
<version>RELEASE</version>
However I guess that's not supported in Maven 3.
See more discussion about the same topic from this thread.
Upvotes: 1