pom_xpath_replace (7) - Linux Man Pages
pom_xpath_replace: replace XML node from POM file with given XML code
pom_xpath_replace - replace XML node from POM file with given XML code
This macro patches specified POM file removing all XML nodes described by the XPath expression and injecting given XML code in their place.
XPath is an expression describing a set of XML nodes to be removed from the POM file. It must be a properly formated XPath 1.0 expression, as described in m[blue]http://www.w3.org/TR/xpath/m.
POM files use a specific namespace - m[blue]http://maven.apache.org/POM/4.0.0m. Currently this namespace needs to be explicitly specified in all XPath POM macros by prefixing all node names with pom:.
Bugs should be reported through Red Hat Bugzilla at m[blue]http://bugzilla.redhat.com/m.