This is the command mh_linkrepojar that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
Maven - Creates a link from a jar already installed 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.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.
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
Use mh_linkrepojar online using onworks.net services