MAVEN(1)
π MAVEN(1) β User Commands, but make it cute
okay so bestie, welcome to the MAVEN page π this is one of those User Commands situations, and honestly? it's giving "tiny script, huge responsibility." she makes a link in /usr/share/maven-repo for a jar that already exists. that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
Maven β Creates a link in /usr/share/maven-repo for an existing jar. periodt. that's her whole job and she does it flawlessly π
π¦ SYNOPSIS π¦
mh_linkjar [option]... [pom] [dest_jar] [link]...
look at her. little command, big dreams β¨
πΈ DESCRIPTION πΈ
so what we're doing here is creating symlinks for a jar that got installed by other means. the symlinks she makes include links to the jar inside /usr/share/maven-repo, and she puts them at the correct location for Maven, no cap. she can also create extra links to the jar, which are usually chillin' over in /usr/share/java π
Where:
[pom]β this is the location of the POM that's associated with the jar you're installing. and listen: the GroupId, artifactId and version get extracted from this file. she reads it. she knows. π[dest_jar]β the path of the installed jar, which is usually located in theusr/share/javafolder. (yes bestie, that's exactly how it's written in the original, i'm not touching it π)[link]β an extra link to the jar you're installing. usually there should be a link tousr/share/java/$jar.jarandusr/share/java/$jar-$version.jarso you comply with the Java packaging guidelines π¦β¨ and heads up: there is no need to specify those particular links if you use the--java-liboption. she'll handle it. she's got you.
π OPTIONS π
-h,--helpβ show this text π₯° (yes, the text you are literally reading the vibe of right now)-V,--versionβ show the version, so you know which queen you're talking to π-p<package>,--package=<package>β name of the Debian package which will contain this jar file π¦-e<version>,--set-version=<version>β set the version for the jar. do not use the version declared in the POM file β like, she's overriding it, on purpose, respectfully π-r<rules>,--rules=<rules>β path to the file containing the rules to apply when cleaning the POM. it's optional, and the default location isdebian/maven.rules. Maven rules are used here to extract the groupId, artifactId and version from the POM file πβ¨-l,--java-libβ optional! if you give her this, she'll install the jar into/usr/share/javato comply with the Debian Java specification. the jar gets installed as/usr/share/java/$name-$version.jar, and a versionless link/usr/share/java/$name.jarwill point to it, as well as the links installed in/usr/share/maven-repoπ-n<name>,--usj-name=<name>β optional, the name to use when installing the library in/usr/share/javawhen--java-libis used. defaults to the artifact id found in the POM πΈ-j<version>,--usj-version=<version>β optional, the version to use when installing the library in/usr/share/javawhen--java-libis used. defaults to the version found in the POM π¦-s,--no-usj-versionlessβ optional, don't install the versionless link in/usr/share/java. this flag is used only when the-lor--java-liboption is given π«-c<classifier>,--classifier=<classifier>β optional, the classifier for the jar. empty by default π«§-v,--verboseβ show more information while running. she gets chatty. it's cute π£οΈπ¬-n,--no-actβ don't actually do anything, just print the results π (and yes bestie, the original page really does use-ntwice β once for--usj-nameand once for--no-act. i'm just the messenger π iykyk)--skip-clean-pomβ don't clean the pom, assume that a previous action ranmh_cleanpomwith the correct options.mh_cleanpomis run only to extract the groupId, artifactId and version of the jar π§Όβ
β οΈ reminder bestie:-e/--set-versionmeans you are not using the version from the POM, and--skip-clean-pommeans you're trusting thatmh_cleanpomalready ran correctly. know what you're asking for π
and that's the whole page, fr fr π«Ά this was Maven Repo Helper version 1.7.1, from September 2025 β iconic behavior, no notes, ate and left absolutely zero crumbs πβ¨ bye bestie, go make some symlinks π
π¦ 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