MAVEN(1)
πΈ 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 thesite.xmlfile 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 thesite.xmlyou 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 isdebian/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 ranmh_cleanpomwith the correct options. And heads up:mh_cleanpomis 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
- ubuntu resolute: maven-repo-helper 1.12 Β· Apache-2.0
- ubuntu stonking: maven-repo-helper 1.12 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms