Query: pom_xpath_remove
OS: centos
Section: 7
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
POM_XPATH_REMOVE(7) Java Packages Tools POM_XPATH_REMOVE(7)NAMEpom_xpath_remove - remove an XML node from POM fileSYNOPSIS%pom_xpath_remove XPath [POM-location]DESCRIPTIONThis macro patches specified POM file removing all XML nodes described by the XPath expression. 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 http://www.w3.org/TR/xpath/. 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.EXAMPLES%pom_xpath_remove pom:project/pom:reporting - this call removes reporting section from POM in current working directory.BUGSPOM files use a specific namespace - http://maven.apache.org/POM/4.0.0. Currently this namespace needs to be explicitly specified in all XPath POM macros by prefixing all node names with pom:.AUTHORWritten by Mikolaj Izdebski.REPORTING BUGSBugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.SEE ALSOpom_add_dep(7), pom_add_parent(7), pom_add_plugin(7), pom_disable_module(7), pom_remove_dep(7), pom_remove_parent(7), pom_remove_plugin(7), pom_set_parent(7), pom_xpath_inject(7), pom_xpath_replace(7), pom_xpath_set(7).JAVAPACKAGES06/10/2014 POM_XPATH_REMOVE(7)