I have the following problem releasing a project with the
maven-release-plugin (version 2.1). I’m using the maven release plugin in
batch-mode. When using the release plugin in interactive mode, the plugin
prompts for the new versions of snapshot dependencies. How can I populate
the versions (development + release) of snapshot dependencies running the
mvn release:prepare command in batch-mode?
I 've tried something like this:
call mvn -B release:prepare -Dtag=0.4.0 \
-DdevelopmentVersion=0.5.0-SNAPSHOT -DreleaseVersion=0.4.0 \
-Ddependency.org.sonatype.mavenbook:project-a.release=0.4.0 \
-Ddependency.org.sonatype.mavenbook:project-a.development=0.5.0-SNAPSHOT
and the pom content of project-b is as follows:
http://maven.40175.n5.nabble.com/file/n3351425/pom.xml pom.xml
--
View this message in context:
http://maven.40175.n5.nabble.com/maven-release-plugin-tp3351425p3351425.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]