After years of being frustrated by the maven-release-plugin, perl, Expect
and writing post-branch & post-release scripts that "fix" poms, I have
endeavored to model my release process with the maven-release-plugin in
--batch mode & the versions plugin 2.1.

I have run into a snag that is probably related more to our process than
the plugin.

I will attempt to outline it:

   1. we branch trunk, say 1.4.0-SNAPSHOT to 1.4.x
      1. I can't find a way to update a dependency SNAP to the next
      1.5.0-SNAP in my trunk with mvn:versions; I tried use-next-snapshots &
      use-latest-snapshots and mvn keeps printing "Incremental version
      changes allowed"
         1. nothing goes from SNAP to SNAP !?!?!?!
         2. apparently. no SNAP to SNAP here:
         
http://mojo.codehaus.org/versions-maven-plugin/examples/advancing-dependency-versions.html
         2. we release 1.4.0 from 1.4.x
      1. I haven't got this far yet.

I am also trying to get all of this into generated jenkins jobs using
job-dsl-plugin!

After branching, how can I get SNAP deps to increment the minor version ?

Thanks,

James

Reply via email to