MAVEN(1) | User Commands | MAVEN(1) |
Maven - Patches the POM files using the Maven dependency rules.
mh_patchpoms [option]...
Reads the file debian/$package.poms and transforms each POM file listed in the .poms file into a POM file using the Debian versions of the libraries. Also keeps a backup of each POM file which can be restored with mh_unpatchpoms
-h --help: show this text
-V --version: show the version
-p<package> --package=<package>: package to act on
-k --keep-pom-version: keep the original version of the POMs but,
-e<version>, --set-version=<version>: set the version for the POM,
-r<rules> --rules=<rules>: path to the file containing the
-R<rule>, --extra-rule=<rule>: extra rule to apply when cleaning the POM
-u<rules> --published-rules=<rules>: path to the file containing the
-U<rule>, --extra-published-rule=<rule>: extra rule to publish
-i<rules> --ignore-rules=<rules>: path to the file containing the
-I<rule>, --extra-ignore-rule=<rule>: extra rule used to remove dependencies
-c<rules> --clean-ignore-rules=<rules>: path to the file containing the
-s --no-rules: don't apply any rules for converting versions,
--no-publish-used-rule: don't publish the rule used to transform
-d --debian-build: transform during a Debian build, which means that
-b --build-no-docs: if the build doesn't need to build documentation, use this
-m<repo root>--maven-repo=<repo root>: location of the Maven repository,
-v --verbose: show more information while running
-n --no-act: don't actually do anything, just print the results
See also: mh_installpoms(1), mh_patchpom(1)
June 2018 | Maven Repo Helper version 1.7.1 |