NAME
Maven - Installs a POM file into /usr/share/maven-repo.
SYNOPSIS
mh_installpom [option]... [pom]
DESCRIPTION
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
[pom] is the location of the POM associated with the jar to
install.
GroupId, artifactId and version will be extracted from this
file.
OPTIONS
-h --help: show this text
-V --version: show the version
-p<package> --package=<package>: package to act on
-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>: gives the location of the rules file for
special properties. 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
cleaned POM Optional, the default location is
debian/maven.publishedRules
-i<rules> --ignore-rules=<rules>: path to the file containing the
extra rules use to remove certain dependencies from the cleaned
POM Optional, the default location is debian/maven.ignoreRules
-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_cleanpom(1)