Default versioning mode maven-release-plugin problem

151 views
Skip to first unread message

lebrame57

unread,
Feb 18, 2015, 9:08:52 AM2/18/15
to jenkins...@googlegroups.com
Hi,

I encountered an issue that is obstructing my development on Jenkins.

After installing the maven-release-plugin on Jenkins I've tested it.

The fact is that for a project without any dependencies, the plugin works
well.

But since I have some project dependencies it doesn't. Indeed after
selecting the "Default versioning mode" as "Specify version(s)" ,when I
save
the configuration and try to perform maven release build, the "Default
versioning mode" parameter keeps its state, whatever I change it to and
simply goes back to ''none'' state. There is no way to modify it !!!

My main goal here is to specify my release version of a dependency and this
is what the "Default versioning mode" is done for because
maven-release-plugin can't work with SNAPSHOT dependencies !!

Does exist any tips to get around this problem ? an other way to do ? or a
fix of the maven-release-plugin ?

Thanks for the help



--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Default-versioning-mode-maven-release-plugin-problem-tp4739407.html
Sent from the Jenkins users mailing list archive at Nabble.com.

James Nord

unread,
Feb 19, 2015, 4:33:40 AM2/19/15
to jenkins...@googlegroups.com, alexis...@esigetel.fr
Hi,

The maven-release-plugin (and the m2release plugin) will not update SNAPSHOT dependencies for you unless they are being released as part of the reactor.
They only change the SNAPSHOT versions of modules in the reactor.

If you want to change your dependencies then you should be looking at the maven-versions-plugin - which is a question for the Maven users list.

/James
Reply all
Reply to author
Forward
0 new messages