Maven - Patches one POM file using the Maven dependency rules.
[option]... [pom] [backup]
Transform the POM using the transformation rules.
[pom] is the location of the POM file to transform.
Default to pom.xml
[backup] is the backup file for the pom.
Default to pom.xml.save
-h--help: show this text
-V--version: show the version
-p<package> --package=<package>: name of the Debian package containing
-o--no-parent: don't inherit from a parent POM
-e<version>, --set-version=<version>: set the version for the POM,
do not use the version declared in the POM file.
-r<rules> --rules=<rules>: path to the file containing the
extra rules to apply when cleaning the POM.
Optional, the default location is debian/maven.rules
-u<rules> --published-rules=<rules>: path to the file containing the
extra rules to publish in the property debian.mavenRules in the
Optional, the default location is debian/maven.publishedRules
-i<rules> --ignore-rules=<rules>: path to the file containing the
rules used to remove certain dependencies from the cleaned POM
Optional, the default location is debian/maven.ignoreRules
-c<rules> --clean-ignore-rules=<rules>: path to the file containing the
rules use to remove certain dependencies from the cleaned POM,
in addition to the ignore rules specified previously. This is
useful in situations such as when the Maven clean target requires more
dependencies or plugins to ignore than the build target
Optional, it is ignored by default
-s--no-rules: don't apply any rules for converting versions,
do not even convert versions to the default 'debian' version
-k--keep-pom-version: keep the original version of the POMs but,
convert all other versions in dependencies and plugins
-d--debian-build: transform during a Debian build, which means that
some POM elements will be removed
-b--build-no-docs: transform during a build where no documentation is generated,
which means that some POM elements will be removed
-m<repo root>--maven-repo=<repo root>: location of the Maven repository,
used to force the versions of the Maven plugins used in the current
POM file with the versions found in the repository
-v--verbose: show more information while running
-n--no-act: don't actually do anything, just print the results