pom_xpath_disable (7) - Linux Man Pages
pom_xpath_disable: Disable all modules whose POM files satisfy given XPath condition
pom_xpath_disable - Disable all modules whose POM files satisfy given XPath condition
This macro recursively walks all enabled submodules of given POM and evaluates given XPath expression on them. If the expression returns a true value, matching submodule is disabled. Values considered true are defined by XPath specification as either true boolean value (i.e. returned by comparisons), non-empty node set, non-empty string or non-zero number.
If the main module (specified by POM-location or pom.xml by default) also satisfies the condition, processing is aborted prior to making any changes and an error is raised. When none of the modules satisfy it, an error is also raised.
POM location can be either a full path to the POM file, or a path to the directory containing pom.xml. If POM location is not given then pom.xml from current working directory is used. You can specify more file locations which will be processed.
%pom_xpath_disable "/pom:project/pom:classifier = 'test'" - this call disables all modules with classifier test
Bugs should be reported through Red Hat Bugzilla at m[blue]http://bugzilla.redhat.com/m.