POM_DISABLE_MODULE(7)
π POM_DISABLE_MODULE β the manual page, but make it make sense π
okay bestie, pull up a chair, because we're talking about pom_disable_module β a little macro from the Java Packages Tools crew that's lowkey a whole lifesaver. It's a section 7 manual page, so it's ~lore~ not a command you run directly, but trust, you're gonna want this in your brain. π§ β¨
β¨ NAME β¨
pom_disable_module β disable given project module in POM file. that's it, that's the vibe. it ghosts a module so your POM stops talking about it. π
πΈ SYNOPSIS πΈ
%pom_disable_module module-name [POM-location]...
like yes, that's the whole shape of it. one required thing, one optional thing you can repeat. slay.
π¦ DESCRIPTION π¦
so here's the tea, bestie: this macro patches the POM file you point it at so that it does not contain a reference to the given project module. it's giving "we don't talk about Bruno" but for XML. π
The module-name is the exact name of the module you wanna disable. Not a vibe-adjacent name, not a nickname, not a "you know the one" β the exact name. And you cannot omit it. Not even a little. it must not be ommited (yes, we're keeping the original's spelling, it's iconic, we don't touch it π).
The POM-location is flexible in the best way:
- it can be a full path to the POM file itself, or
- a path to the directory containing
pom.xmlβ she'll find it, she always does π΅οΈββοΈ
If you don't give a POM location at all? No stress. She just uses pom.xml from the current working directory. main character energy, honestly.
And here's the best part β you can specify more file locations, and every single one of them will be processed. bulk edits, periodt. π
π EXAMPLES π
%pom_disable_module nonfree
this call removes the aggregated module nonfree from the POM file in the current working directory. one line, one module gone, zero drama. obsessed. β¨
π AUTHOR π
Written by Mikolaj Izdebski. give them their flowers, fr fr π
π REPORTING BUGS π
Found a bug? Not on our watch. 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 wanna know π«Ά
π SEE ALSO π
the whole friend group, if you will:
pom_add_dep(7)pom_add_parent(7)pom_add_plugin(7)pom_remove_dep(7)pom_remove_parent(7)pom_remove_plugin(7)pom_change_dep(7)pom_set_parent(7)pom_xpath_inject(7)pom_xpath_remove(7)pom_xpath_replace(7)pom_xpath_set(7)
real talk: this whole page is from thejavapackagesmanual, dated 2025-09-19, and it's titledPOM_DISABLE_MODULE(7)β now you know the source and the date, iykyk π
okay that's the page, go disable a module and feel powerful about it. bye bestie!! π¦β¨π
π¦ 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