MVN_ARTIFACT(7)
π MVN_ARTIFACT π
okay so bestie, welcome to mvn_artifact β it's a macro from Java Packages Tools (that's the manual section we're chilling in, MVN_ARTIFACT(7), no cap) and its whole vibe is: request installation of a Maven artifact. β¨
πΈ NAME πΈ
mvn_artifact β request installation of Maven artifact π«Ά
π SYNOPSIS π
%mvn_artifact [options] model [artifact-file]
%mvn_artifact [options] artifact-coordinates artifact-file
β¨ DESCRIPTION β¨
So the mvn_artifact macro literally just marks a specified Maven artifact so that a later call to mvn_install will install it. That's it, that's the job. π
And the way it works is lowkey cute: you can call mvn_artifact and/or mvn_build multiple times to request installation of multiple artifacts. Stack 'em up, queen. π
π OPTIONS π
--skip-dependenciesβ do NOT go gather the list of dependencies for the given Maven artifact. Skip. Bypass. Not today. π-Dproperty=valueβ add an artifact property. That's the whole thing. π
π¦ OPERANDS π¦
modelβ the path to the raw project object model (POM) file that gets associated with the artifact and installed alongside it. πartifact-fileβ the path to the file that's gonna be used as the artifact file. And bestie, heads up: if it's omitted, then no artifact file is installed. So likeβ¦ nothing. π«₯artifact-coordinatesβ these specify the artifact to be installed. And if you specify this, then no model file is installed with the artifact β it's one or the other, periodt. The coordinates are in this format:
groupId:artifactId[:extension[:classifier]]:version
Notes, because details matter: if extension is omitted then "jar" is used. If classifier is omitted then an empty classifier is used. Want more lore? Go see the XMvn Configuration Reference. π
π AUTHOR π
Written by Michal Srb. π (iconic behavior, honestly)
π REPORTING BUGS π
Found a bug? π Do not suffer in silence β bugs should be reported through the Java Packages Tools issue tracker at Github:
https://github.com/fedora-java/javapackages/issues
π SEE ALSO π
gradle_build(7), mvn_build(7), mvn_install(7).
iykyk. go read those next, bestie. πβ¨
JAVAPACKAGES Β· 2025-09-19 β mwah, that's the source/version and the date this page was last touched, so when you're out here slaying builds just know the docs got their glow-up on September 19, 2025. bye bestie, go install some artifacts π ππ¦
π¦ 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