MVN_INSTALL(7)

πŸ’– MVN_INSTALL πŸ’–

okay bestie, so this is mvn_install β€” the macro that installs Maven artifacts πŸ’… it lives in section 7 of the Java Packages Tools manual, so it's a macro page, not a command page, iykyk.


✨ SYNOPSIS ✨

%mvn_install [-X] [-J directory]

like... that's the whole vibe. two optional flags, zero drama πŸŽ€


🌸 DESCRIPTION 🌸

so mvn_install is the macro that installs Maven artifacts into %buildroot. that's the main character job, periodt πŸ’–

the specification of artifacts to be installed gets pulled from the .xmvn-reactor file. and how does that file get filled up? bestie, that's mvn_build and/or mvn_artifact β€” those macros populate it for you 🫢

and the specification of how artifacts should be installed? that comes from the installer settings section in the XMvn configuration. go look at the XMvn Configuration Reference if you want the full tea β˜•

also real quick β€” these macros are all capable of writing configuration that can affect the behavior of mvn_install:

so if mvn_install is acting a little different than you expected, check what those wrote. it's giving "the config did this, not me" πŸ™ˆ


πŸ’… OPTIONS πŸ’…

  • -X β€” turns on debugging output πŸ› this option makes the XMvn installer write verbose debugging information to standard output. it's the "not me staring at logs" option, fr fr.
  • -J directory β€” lets you specify an alternative API documentation directory πŸ“ by default, API documentation is searched for in the target/site/apidocs directory. the -J option overrides that default location. so if your docs live somewhere else, this is your girl 🌈

πŸ‘‘ AUTHOR πŸ‘‘

Written by Mikolaj Izdebski. king behavior, we love to see it ✨


😭 REPORTING BUGS 😭

found a bug? bestie, don't suffer in silence. Bugs should be reported through the Java Packages Tools issue tracker at Github:

https://github.com/fedora-java/javapackages/issues

go tell them, they want to know 🫢


πŸ¦‹ SEE ALSO πŸ¦‹


reminder bestie: the artifacts come from .xmvn-reactor, the install behavior comes from the XMvn config, and both of those can be shaped by the macros above. that's the whole plot πŸ’œ

and that's the page!! this was JAVAPACKAGES, dated 2025-09-19, and it's MVN_INSTALL(7) β€” mwah, slay, go install some artifacts πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from