Section: User Commands (1) Updated: July 2010 Local index
Maven - Installs a POM file into /usr/share/maven-repo.
Installs the POM file in /usr/share/maven-repo, at the correct location for
Before installing the POM, it prepares it with mh_cleanpom.
debian/maven.rules is used to alter the version properties for the library and
Prefer to use mh_installpoms as it reuses the information in
debian/$package.poms and avoids repetition.
[pom] is the location of the POM associated with the jar to install.
GroupId, artifactId and version will be extracted from this file.
-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
-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)
This document was created by
using the manual pages.
Time: 21:23:52 GMT, April 16, 2011