Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: July 2010 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)


Maven - Installs a jar into /usr/share/maven-repo.


mh_installjar [option]... [pom] [jar] [link]...


Installs the jar file in /usr/share/maven-repo, at the correct location for Maven. The jar is copied into the build directory. It can also create additional links to the jar, usually located in /usr/share/java.


[pom] is the location of the POM associated with the jar to install.
GroupId, artifactId and version will be extracted from this file.
[jar] is the path to the jar to install, usually located in the build
[link] is an additional link to the jar to install, usually there should
be a link to usr/share/java/.jar and usr/share/java/-.jar to comply with the Java packaging guidelines. Note that there is no need to specify those particular links if the --java-lib option is used.


-h --help: show this text
-V --version: show the version
-p<package> --package=<package>: package to act on
-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
-l --java-lib: Optional, if given it will install the jar into
/usr/share/java to comply with the Debian Java specification.
The jar will be installed as /usr/share/java/-.jar and a versionless link /usr/share/java/.jar will point to it, as well as the links installed in /usr/share/maven-repo
-n<name> --usj-name=<name>: Optional, the name to use when installing the
library in /usr/share/java when --java-lib is used. Defaults to the artifact id found in the POM.
-i<version> --usj-version=<version>: Optional, the version to use when
installing the library in /usr/share/java when --java-lib is used. Defaults to the version found in the POM.
-s --no-usj-versionless: Optional, don't install the versionless link
in /usr/share/java. This flag is used only when the -l or --java-lib option is given.
-d<path> --dest-jar=<path>: Optional, the destination for the real jar.
The other places where the jar appears, in the repository or in the list of links, will be symlinks to this jar. Defaults to /usr/share/java/-.jar if --java-lib is used, otherwise it goes to the versioned path in the Maven repository.
-c<classifier> --classifier=<classifier>: Optional, the classifier for
the jar. Empty by default.
-v --verbose: show more information while running
-n --no-act: don't actually do anything, just print the results

M : Salut, vieux !
P : Normalement, les chiens n'aiment pas les facteurs !
M : J'ai rien contre les fonctionnaires... Je boufferai les couilles du facteur quand la poste sera privatisée !