jeudi 23 juin 2011

Change Maven project version easily

With use of  versions maven plugin, you can easily change all POM files instantly from a project by using cmd line:

mvn versions:set -DnewVersion=1.0.1


This will change temporarly the version of POM files until you commit this modification by :


mvn versions:commit


or rollback to the previous version:


mvn versions:rollback

Aucun commentaire:

Enregistrer un commentaire