BUILD-JAR-REPOSITORY(1)
πΈ BUILD-JAR-REPOSITORY π
okay so bestie, welcome to the build-jar-repository page β it's part of the Java Packages Tools manual, and it's genuinely iconic. Let's get into it β¨
β¨ NAME β¨
build-jar-repository β literally makes a symlink to a JAR. That's the whole vibe. π
π¦ SYNOPSIS π¦
build-jar-repository [OPTION]... DIRECTORY JAR|artifact-coordinates
π DESCRIPTION π
So what this does: it builds a JAR repository in whatever directory you point at, either by copying files or by creating symbolic links. slay.
You can identify the JARs either by their names or by Maven artifact coordinates. And artifact coordinates are Maven artifacts written like this:
groupId:artifactId[:extension[:classifier]]:version
the deets:
- if
extensionis omitted,"jar"gets used π« - if
classifieris omitted, then an empty classifier is used π«Ά
want more info? go look at the XMvn Configuration Reference. iykyk π
π OPTIONS π
quick lil heads up: if you specify no option at all, the default action is to create symbolic links. no cap.
-c,--copyβ copy the files. actual copies, actual bytes, no shortcuts π-h,--hardβ create hard links. lowkey spicy π₯-p,--preserve-namingβ try to keep the original JAR file names as they were (and if there's a nested hit, the slashes in the path still get replaced by underscores). β οΈ but listen: using this option makes any future automated repository rebuild impossible, and it implies-cunless you say otherwise. so, like, know what you're doing π-s,--soft,--symbolicβ create symbolic links. this is the default, main character energy π--helpβ display the help text. classic π
π§ DEPENDENCIES π§
using build-jar-repository with artifact-coordinates requires the xmvn-resolve command to be available. and here's the thing β you (the user of build-jar-repository) are responsible for making it available on the system. no hand-holding, bestie π
β EXAMPLES β
build-jar-repository . jndi
this creates a symbolic link to the jndi JAR in the current working directory. cute and easy β¨
build-jar-repository -h /tmp log4j
this creates a hard link to the log4j JAR in the /tmp directory. π«Ά
build-jar-repository -c . org.apache.commons:commons-io
this copies the commons-io JAR to the current working directory. ate. π
π AUTHOR π
Originally written by Nicholas Mailhot and David Walluck. legends only π
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie β report it through the Java Packages Tools issue tracker on Github:
https://github.com/fedora-java/javapackages/issues
πΈ SEE ALSO πΈ
and that's the page!! π this was JAVAPACKAGES, dated 2026-05-28, for BUILD-JAR-REPOSITORY(1) β go forth and link those JARs, bestie, you're gonna do amazing πβ¨π¦
π¦ where this page comes from
- opensuse-leap 16.0: javapackages-tools 6.5.1-160000.2.1 Β· BSD-3-Clause
- opensuse-leap 16.0: javapackages-tools 6.5.1-160000.2.1 Β· BSD-3-Clause
- opensuse-leap 16.0: javapackages-tools 6.5.1-160000.2.1 Β· BSD-3-Clause
- opensuse-leap 16.0: javapackages-tools 6.5.1-160000.2.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms