DOKK / manpages / debian 10 / maven-repo-helper / mh_linkrepojar.1.en
MAVEN(1) User Commands MAVEN(1)

Maven - Creates a link from a jar already installed in /usr/share/maven-repo.

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

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.jar and usr/share/java/$jar-$version.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

-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

June 2018 Maven Repo Helper version 1.7.1