MAVEN(1) | User Commands | MAVEN(1) |
Maven - Installs a POM file into /usr/share/maven-repo.
mh_installpom [option]... [pom]
Installs the POM file in /usr/share/maven-repo, at the correct location for Maven. Before installing the POM, it prepares it with mh_cleanpom.
debian/maven.rules is used to alter the version properties for the library and its dependencies.
Prefer to use mh_installpoms as it reuses the information in debian/$package.poms and avoids repetition.
Where
-h --help: show this text
-V --version: show the version
-p<package> --package=<package>: name of the Debian package which
-h --has-package-version: flag that indicates that this POM has the
-o --no-parent: don't inherit from a parent POM
-k --keep-pom-version: keep the original version of the POM but
-e<version>, --set-version=<version>: set the version for the POM,
-r<rules> --rules=<rules>: path to the file containing the
-u<rules> --published-rules=<rules>: path to the file containing the
-i<rules> --ignore-rules=<rules>: path to the file containing the
-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
--keep-elements=<elem1,elem2>: keep the elements listed here
--relocate=<groupId>:<artifactId>:<version>: relocate the specified
-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
-ignore-pom: read the POM but don't install it
See also: mh_installpoms(1), mh_cleanpom(1)
May 2022 | Maven Repo Helper version 1.7.1 |