MVN_PACKAGE(7)
π MVN_PACKAGE π
okay bestie, welcome to mvn_package from the Java Packages Tools manual (section 7, the β¨macrosβ¨ zone), no cap.
πΈ NAME πΈ
mvn_package β specify target package for Maven artifact(s) π
π¦ SYNOPSIS π¦
%mvn_package artifact-coordinates [target-package]
β¨ DESCRIPTION β¨
so basically, the mvn_package macro is the girl who walks into the room and adds instructions for artifact installation to the XMvn reactor configuration. that's her whole job. π
what she's for is telling everyone which target package your Maven artifacts should get installed into. main character energy, honestly.
β οΈ now listen, this part matters: the artifact coordinates you specify must match at least one artifact. if they don't? bestie, the behavior is unspecified. we don't know her. π«
but here's the slay part β you can write coordinates that match multiple artifacts, which means one single call to mvn_package can affect the installation of more than one artifact. efficiency queen. π
π OPERANDS π
artifact-coordinatesβ the artifact(s) this rule applies to, obvi. coordinates go in this format:
groupId:artifactId[:extension[:classifier]][:version]
and the rules are: if you specify extension then you also have to specify version, no skipping steps π. if any part is omitted or is equal to an empty string, it matches any string β so it's giving "flexible". wildcards and brace expansions are supported in each part too, because we love options. for more info, go read the XMvn Configuration Reference. π
target-packageβ the name of the target (sub-)package where the matching artifacts get installed. π
backreferences are supported in the form @n, where n is an integer corresponding to a brace in artifact-coordinates. cute, right?
and there are two special values you need to know about:
noinstallβ means the matching artifact(s) should not be installed to any package. she's on a break. πdefaultβ means the matching artifact(s) should be installed into the main package. home sweet home. π
if target-package is omitted entirely, the value __default is assumed. (yes, with the double underscore. she's fancy.)
π AUTHOR π
Originally written by Mikolaj Izdebski. Versions 3.0.0 and later were written by Stanislav Ochotnicky. icons only, honestly. π«Ά
π REPORTING BUGS π
found a bug? not the vibe, but okay β bugs should be reported through the Java Packages Tools issue tracker at Github:
https://github.com/fedora-java/javapackages/issues
go tell them, bestie, they'll fix it. π₯
π SEE ALSO π
gradle_build(7)mvn_alias(7)mvn_build(7)mvn_compat_version(7)mvn_config(7)mvn_file(7)xmvn(1)
that's the whole page, and you ATE it. π this one came from the JAVAPACKAGES source, dated 2025-09-19 β mwah, go install some artifacts, ily, bye!! π β¨π§π
π¦ where this page comes from
- fedora 43: javapackages-common 6.4.1-4.fc43 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms