This tool allows setting the version number of a specified dependency in a given Maven pom.xml file.
All original comments and formatting will be kept.
Usage example:
mvn com.soerensen.maven.plugins:version-edit-plugin:1.0.1:setDependencyVersion -DpomFile="pom.xml" -Dgavtc="commons-io:commons-io:4.8.0"
mvn com.soerensen.maven.plugins:version-edit-plugin:0.0.1:setPropertyDependencyVersion -DpropertyFile="test.property" -Dkey="junit_junit" -Dvalue="24.0.0"
gavtc -> groupId:artifactId:version:type*:classifier*
* optional
Extra property:
- noBackupFile (default:false), used to ignore the creation of a backup file.
This tool allows setting the version number of a specified dependency in a given Maven pom.xml file.
All original comments and formatting will be kept.
Usage example:
mvn com.soerensen.maven.plugins:version-edit-plugin:1.0.1:setDependencyVersion -DpomFile="pom.xml" -Dgavtc="commons-io:commons-io:4.8.0"
mvn com.soerensen.maven.plugins:version-edit-plugin:0.0.1:setPropertyDependencyVersion -DpropertyFile="test.property" -Dkey="junit_junit" -Dvalue="24.0.0"
gavtc -> groupId:artifactId:version:type*:classifier*
* optional
Extra property:
- noBackupFile (default:false), used to ignore the creation of a backup file.