table of contents
BUILD-JAR-REPOSITORY(1) | Java Packages Tools | BUILD-JAR-REPOSITORY(1) |
NAME¶
build-jar-repository - create a symbolic link to a JAR
SYNOPSIS¶
build-jar-repository [OPTION]... DIRECTORY JAR|artifact-coordinates
DESCRIPTION¶
Build a JAR repository in the named directory by copying files or creating symbolic links. The JARs can be identified by their names or Maven artifact coordinates. Artifact coordinates specify Maven artifact and are in format groupId:artifactId[:extension[:classifier]]:version. If extension is omitted then "jar" is used. If classifier is omitted then empty classifier is used. For more information see XMvn Configuration Reference.
OPTIONS¶
If no option is specified the default action will be to create symbolic links
-c, --copy
-h, --hard
-p, --preserve-naming
-s, --soft, --symbolic
--help
DEPENDENCIES¶
Using build-jar-repository with artifact-coordinates requires xmvn-resolve command to be available. User of build-jar-repository is responsible for making it available in the system.
EXAMPLES¶
build-jar-repository . jndi - This will create a symbolic link to the jndi JAR in the current working directory.
build-jar-repository -h /tmp log4j - This will create a hard link to the log4j JAR in /tmp directory.
build-jar-repository -c . org.apache.commons:commons-io - This will copy commons-io JAR to the current working directory.
AUTHOR¶
Originally written by Nicholas Mailhot and David Walluck.
REPORTING BUGS¶
Bugs should be reported through Java Packages Tools issue tracker at Github: <https://github.com/fedora-java/javapackages/issues>.
SEE ALSO¶
2024-10-11 | JAVAPACKAGES |