mh_linkrepojar

Langue: en

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

Section: 1 (Commandes utilisateur)

NAME

Maven - Installs a link from the jar in /usr/share/maven-repo.

SYNOPSIS

mh_linkrepojar [option]... [pom] [link]...

DESCRIPTION

Create symlinks from the jar in the Maven repository to any location, usually to a file located in /usr/share/java.

Where

[pom] is the location of the POM associated with the jar to install.
GroupId, artifactId and version will be extracted from this file.
[link] is a 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.

OPTIONS

-h --help: show this text
-V --version: show the version
-p<package> --package=<package>: package to act on
-r<rules> --rules=<rules>: gives the location of the rules file for
special properties. Optional, the default location is debian/maven.rules
-c<classifier> --classifier=<classifier>: Optional, the classifier for
the jar in the Maven repository. Empty by default.
-v --verbose: show more information while running
-n --no-act: don't actually do anything, just print the results