Hi, as said previously this is a question for the Maven users mailing list. I think one solution could be around using the use-latest with a version range goal instead. Le 19 févr. 2015 16:14, "lebrame57" <[email protected]> a écrit :
> Hi, > > we have a problem with maven releases and maven version plugin. In Jenkins > we want to do releases automatically upon pressing a button. To remove > snapshot dependencies we want to use the maven versions plugin. Suppose we > have two projects A (latest release 0.0.1, latest snapshot 0.0.2-SNAPSHOT) > and project B with a dependency on ProjectA - 0.0.2-SNAPSHOT and we want to > release project B. How can we upgrade project Bs dependencies to the latest > available release version? The maven versions plugin goal "use-releases" > does not change the 0.0.2-SNAPSHOT dependency because there is no 0.0.2 > release version of this project. > > > > So my question is: how can we automatically remove snapshot dependencies > and > replace them with the latest available release version in our scenario? > > > > > -- > View this message in context: > http://jenkins-ci.361315.n4.nabble.com/Release-Version-Maven-plugin-tp4739608.html > Sent from the Jenkins users mailing list archive at Nabble.com. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/1424358469893-4739608.post%40n4.nabble.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5jwcoQGd%2BySK%3DL0bbJOnWeD3yJ7Syi%2BhkBpVO8iD02-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
