Package javapackages-tools

Macros and scripts for Java packaging support

This package provides macros and scripts to support Java packaging.

General Commands
Command Description
abs2rel convert absolute path to relative path
build-classpath build a Java CLASSPATH
build-jar-repository create a symbolic link to a JAR
diff-jars output the differences between two JAR files
find-jar find extension JAR or directory
rebuild-jar-repository rebuild a JAR repository
shade-jar rename Java namespace in JAR file
Name Description
pom_add_dep add dependency to Maven POM file or Ivy module
pom_add_parent add parent POM reference to POM file
pom_add_plugin add plugin invocation to POM file
pom_change_dep change dependency in Maven POM file or Ivy module
pom_disable_module disable given project module in POM file
pom_remove_dep remove dependency on Maven artifact from POM file
pom_remove_parent remove parent POM reference from POM file
pom_remove_plugin remove Maven plugin invocation from POM file
pom_set_parent set parent POM reference in POM file
pom_xpath_disable Disable all modules whose POM files satisfy given XPath condition
pom_xpath_inject inject code into XML file
pom_xpath_remove remove a node from XML file
pom_xpath_replace replace XML node from XML file with given code
pom_xpath_set set contents of XML node from XML file