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

NAME

6       pom_xpath_replace - replace XML node from POM file with given XML code
7

SYNOPSIS

9       %pom_xpath_replace XPath XML-code [POM-location]
10

DESCRIPTION

12       This macro patches specified POM file removing all XML nodes described
13       by the XPath expression and injecting given XML code in their place.
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

BUGS

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

AUTHOR

29       Written by Mikolaj Izdebski.
30

REPORTING BUGS

32       Bugs should be reported through Red Hat Bugzilla at
33       http://bugzilla.redhat.com/.
34

SEE ALSO

36       pom_add_dep(7), pom_add_parent(7), pom_add_plugin(7),
37       pom_disable_module(7), pom_remove_dep(7), pom_remove_parent(7),
38       pom_remove_plugin(7), pom_set_parent(7), pom_xpath_inject(7),
39       pom_xpath_remove(7), pom_xpath_set(7).
40
41
42
43JAVAPACKAGES                      11/20/2015              POM_XPATH_REPLACE(7)
Impressum