Thanks for your helpful answer!

The solution works fine:


REM Dependency-Snapshot-Versions are replaced by the corresponding release
version (e.g. 0.4.0-SNAPSHOT --> 0.4.0)
call mvn versions:use-releases
call svn commit

REM Release Prepare and install to local repository
call mvn -B release:prepare -Dtag=0.4.0 -DdevelopmentVersion=0.5.0-SNAPSHOT
-DreleaseVersion=0.4.0 -DpreparationGoals=clean install

REM Dependency-Release-Versions are replaced by the newest Snapshot-Version
call mvn versions:use-latest-snapshots
call svn commit

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/maven-release-plugin-update-dependency-snapshots-to-versions-in-batch-mode-tp3351425p3359398.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to