1POM_XPATH_REMOVE(7)           Java Packages Tools          POM_XPATH_REMOVE(7)
2
3
4

NAME

6       pom_xpath_remove - remove an XML node from POM file
7

SYNOPSIS

9       %pom_xpath_remove XPath [POM-location]
10

DESCRIPTION

12       This macro patches specified POM file removing all XML nodes described
13       by the XPath expression.
14
15       XPath is an expression describing a set of XML nodes to be removed from
16       the POM file. It must be a properly formated XPath 1.0 expression, as
17       described in http://www.w3.org/TR/xpath/.
18
19       POM location can be either a full path to the POM file, or a path to
20       the directory containing pom.xml. If POM location is not given then
21       pom.xml from current working directory is used.
22

EXAMPLES

24       %pom_xpath_remove pom:project/pom:reporting - this call removes
25       reporting section from POM in current working directory.
26

BUGS

28       POM files use a specific namespace - http://maven.apache.org/POM/4.0.0.
29       Currently this namespace needs to be explicitly specified in all XPath
30       POM macros by prefixing all node names with pom:.
31

AUTHOR

33       Written by Mikolaj Izdebski.
34

REPORTING BUGS

36       Bugs should be reported through Red Hat Bugzilla at
37       http://bugzilla.redhat.com/.
38

SEE ALSO

40       pom_add_dep(7), pom_add_parent(7), pom_add_plugin(7),
41       pom_disable_module(7), pom_remove_dep(7), pom_remove_parent(7),
42       pom_remove_plugin(7), pom_set_parent(7), pom_xpath_inject(7),
43       pom_xpath_replace(7), pom_xpath_set(7).
44
45
46
47JAVAPACKAGES                      11/20/2015               POM_XPATH_REMOVE(7)
Impressum