REBUILD-JAR-REPOSITORY(1)

πŸ“¦
version 6.5.1 Β· 5 versions
, in opensuse-leap 16.0

πŸ’… REBUILD-JAR-REPOSITORY β€” bestie edition ✨

okay so this is rebuild-jar-repository from the Java Packages Tools manual, section 1. sit down, grab a strawberry πŸ“, and let me tell you about the one little command that rebuilds your whole JAR repo situation. it's giving "spring cleaning but make it Java" and honestly? iconic.


✨ NAME ✨

rebuild-jar-repository β€” literally rebuilds a JAR repository. that's it. that's the whole vibe. 🫢


🌸 SYNOPSIS 🌸

rebuild-jar-repository [OPTION]... DIRECTORY

so you give it some options (or not, we're flexible πŸ’…) and then a DIRECTORY, and it does its thing. periodt.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜•: rebuild-jar-repository rebuilds a jar repository β€” the kind that was built by build-jar-repository β€” and it does this based on the current JVM settings. so it's not just rebuilding for funsies, it's matching whatever your JVM is currently serving. main character energy, honestly πŸ‘‘.


πŸ”₯ OPTIONS πŸ”₯

okay bestie, listen β€” if you don't specify any option at all, the default action is to rebuild with symbolic links. no cap. but if you do wanna pick a flavour, here you go:

  • -c, --copy β€” copy files. like, actual copies. no links, just files, doing their own thing πŸ’–
  • -h, --hard β€” create hard links. committed. inseparable. bonded fr fr πŸ”—
  • -s, --soft, --symbolic β€” create symbolic links. this one is the default, so if you're an icon who loves a symlink, you don't even have to ask πŸŽ€

🧚 DEPENDENCIES 🧚

okay real talk πŸ™ˆ β€” if you use rebuild-jar-repository with artifact-coordinates, it requires the xmvn-resolve command to be available. and here's the part where I have to be responsible: the user of rebuild-jar-repository is responsible for making it available in the system. so like… that's on you, bestie. I can't do that part for you. 😭


⭐ EXAMPLES ⭐

here's how the girlies actually run it:

rebuild-jar-repository .

this updates all the links created by build-jar-repository in the current working directory, and the updated links will be symbolic links. slay ✨

rebuild-jar-repository -h /tmp

this updates all the links created by build-jar-repository in the /tmp directory, and the updated links will be hard links. look at you switching it up, we love range πŸ’…


🌈 AUTHOR 🌈

written by the JPackage Project (http://www.jpackage.org/). kings, honestly 🫢


πŸ’€ REPORTING BUGS πŸ’€

found a bug? don't just suffer in silence πŸ™ˆ β€” bugs should be reported through the Java Packages Tools issue tracker at Github: https://github.com/fedora-java/javapackages/issues. go tell them, they wanna know, iykyk πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘


okay that's the whole page, bestie, you're basically a rebuild-jar-repository expert now πŸŽ€ and just so you have the receipts: this is from JAVAPACKAGES, dated 2026-05-28, and the page is REBUILD-JAR-REPOSITORY(1). mwah πŸ’‹πŸ’–