MAVEN(1) User Commands MAVEN(1)NAME
Maven - Creates links in /usr/share/maven-repo for all jars.
SYNOPSIS
mh_linkjars [option]...
DESCRIPTION
Reads the file debian/$package.poms and create links for each jar file generated by a POM listed in the .poms file.
OPTIONS -h --help: show this text
-V --version: show the version
-p<package> --package=<package>: name of the Debian package which
will contain the jar files
-e<version>, --set-version=<version>: set the version for the jars,
do not use the version declared in the POM file.
-r<rules> --rules=<rules>: path to the file containing the
rules to apply when cleaning the POM. Optional, the default location is debian/maven.rules
-v --verbose: show more information while running
-n --no-act: don't actually do anything, just print the results
The <package>.poms file should contain the list of POM files associated with the list of jars to install in the repository, and each pom
file should have either the option --usj-name, giving the name of the jar (without the extension) to link to and located in
/usr/share/java, or the option --artifact, which should contain the full name of the source jar to link to.
See also: mh_linkjar(1), mh_install(1)Maven Repo Helper version 1.7.1 January 2012 MAVEN(1)
Check Out this Related Man Page
MAVEN(1) User Commands MAVEN(1)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
Maven Repo Helper version 1.7.1 January 2012 MAVEN(1)
I have a list which contains all the jar files shipped with the product I am involved with. Now, in this list I have some jar files which appear again and again. But these jar files are present in different folders.
My input file looks like this
/path/1/to a.jar
/path/2/to a.jar
/path/1/to... (10 Replies)
Hello all
im trying to start jar with sh script
i have foo.jar
and i have this sh that does not work ...
#!/bin/sh
exec java -cp .;foo.jar com.umen.Main
what im doing wrong here ? (10 Replies)
I am trying to run a script called install.sh as follows:
I get a jar file, and extract it using the command:
unzip filename.jar -D path/to/files
then I navigate to that directory where I extracted the files, and run the command:
sh install.sh
(where install.sh is one of the files... (12 Replies)
Hi All,
Im trying to extract a file called 'DYEDistinctAppServer.topology' from a jar at specific location data/product/template-topologies, using remsh.
command is:
remsh $rHost -l $rUser -n 'export JAVA_HOME=/usr/java6_64_SR7;
export ORACLE_HOME=/oravl01/oracle/11.1.0.7;
export... (4 Replies)
hyper link- abc:8081/xyz/2.5.6/rtyp-2.5.6.jar
Needs to get "rtyp-2.5.6.jar" i.e character after last backslash "/"
how to do this using sed/awk??
help is highly appreciated. (7 Replies)
I am trying to understand why the runnable jar file runs on one Unix server, but not the other with same environment settings.
I copied exact same test jar from here -->
http://www.javaworld.com/javaworld/javatips/javatip127/MakeJarRunnable.zip
on to both Unix servers. Then changed... (5 Replies)
OKay so my question is that how does this jar file convert something in there and show pdf when open it? I don't get how it works. Can someone explain to me. I have a link below, in there will be a file call Tools, and please open the file called "PQ10-sample" it will automaticly open up a pdf as... (11 Replies)
Hi All,
I am having 7 jar files in a dir. abc like listed below
bash-3.00$ cd abc
bash-3.00$ ls
123.jar
23wdawd.jar
dfsa23.jar
dsa.jar
wew234.jar
adsd234234.jar
dfsda423.jarNow i want to assign all this jar files to a variable in the below format
... (6 Replies)
Hi All,
This discussion involves getting a way to load different jars in different Operating Systems.
Case Scenario
---------------
I am working on a specific OS known as NSK. Its an unix flavour and powers the HP NSK Servers. I am running one of my middleware app ( a java application) on... (3 Replies)
I can view a jar file contents using the below command:
$ jar -tvf ./checker-compat-qual-2.0.0.jar
0 Mon May 02 18:28:46 IST 2016 META-INF/
184 Mon May 02 18:28:44 IST 2016 META-INF/MANIFEST.MF
0 Mon May 02 17:20:16 IST 2016 afu/
0 Mon May 02 17:20:16 IST 2016 afu/org/
... (5 Replies)