I am developing code actively, with my developing team. When we release to our customers, I would like to provide jars without the -SNAPSHOT so they only need to update when a new dot version is created.
This there a maven plugin that provides this functionality. I know there is because everyone else must do it some how. I doubt it is manually.
I would appreciate answers to be explicit as possible.
Please and thank you.
Some plugins can help here, as already mentioned in this answer and in the comments of this one: the Maven Release Plugin if you want to fully automate the release and/or the Maven Versions Plugin.
With the Maven Release Plugin
Releasing a project with the Maven Release Plugin is done in two steps:
prepareandperformand here is what the documentation writes about therelease:preparegoal:In other words, the Maven Release Plugin is exactly doing what you’re asking for.
With the Maven Versions Plugin
If you don’t use the Maven Release Plugin, the Maven Versions Plugin can be helpful. In particular, the following goals:
I mentioned several goals but the “most” interesting is probably
versions:update-child-moduleshere. It would allow to change the version in the top parent pom and then to automate the update of the child. See Fixing a multi-module build for an example.Can’t help more, you need to experiment yourself now. Good luck!
References