MAVEN(1)

πŸ“¦
version 1.12 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

🌸 NAME 🌸

Maven β€” bestie, this one installs your site.xml into /usr/share/maven-repo. That's it, that's the job πŸ’…


✨ SYNOPSIS ✨

mh_installsite [option]... [pom] [site-file]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the whole vibe here: this drops your site.xml file into /usr/share/maven-repo, and it puts it in exactly the right spot for Maven to find it. Location matters, periodt πŸ“

Now, the deets:

  • [pom] β€” this is where the POM that goes with the site.xml file you're installing lives. And the way that it works? The GroupId, artifactId and version all get pulled out of this file. So yeah, it's kind of the main character here πŸ‘‘
  • [site-file] β€” the location of the site.xml you actually want to install. Your little file, off to its new home 🏠

πŸ’– OPTIONS πŸ’–

  • -h, --help β€” shows this text. Classic. We love a helper 🫢
  • -V, --version β€” shows the version. Say it with me: which one are we running?? πŸ‘€
  • -p<package>, --package=<package> β€” the name of the Debian package that's gonna contain the site file πŸ“¦
  • -e<version>, --set-version=<version> β€” sets the version for the artifact. Do not use the version declared in the POM file, okay? Like, override it on purpose. We said what we said πŸ’…
  • -r<rules>, --rules=<rules> β€” path to the file holding the rules to apply when cleaning the POM. It's optional! The default location is debian/maven.rules, and Maven rules get used here to extract the groupId, artifactId and version from the POM file. Lowkey the brains of the operation 🧠✨
  • -v, --verbose β€” shows more information while running. She's chatty, she's giving commentary, we're here for it πŸ—£οΈ
  • -n, --no-act β€” doesn't actually do anything, just prints the results. A dress rehearsal, no cap πŸ™ˆ
  • --skip-clean-pom β€” don't clean the pom! Assumes that a previous action already ran mh_cleanpom with the correct options. And heads up: mh_cleanpom is run only to extract the groupId, artifactId and version of the jar πŸ‘‘
Bestie, watch that --skip-clean-pom one β€” it's trusting that somebody else already did the cleaning. If nobody did, that's on you πŸ’€

See also: mh_installpom(1), mh_installjar(1) β€” go read those too, they're iconic in their own right 🌈


Maven Repo Helper version 1.7.1, September 2025 β€” mwah, that's a wrap, slay the day and go install something cute πŸŽ€πŸ’œ

πŸ“¦ where this page comes from