1POM_XPATH_SET(7) Java Packages Tools POM_XPATH_SET(7)
2
3
4
6 pom_xpath_set - set text contents of XML node from POM file
7
9 %pom_xpath_set XPath new-contents [POM-location]
10
12 This macro patches specified POM file replacing text contents of all
13 XML nodes described by the XPath expression with given new text
14 content.
15
16 XPath is an expression describing a set of XML nodes to be removed from
17 the POM file. It must be a properly formated XPath 1.0 expression, as
18 described in http://www.w3.org/TR/xpath/.
19
20 POM location can be either a full path to the POM file, or a path to
21 the directory containing pom.xml. If POM location is not given then
22 pom.xml from current working directory is used.
23
25 POM files use a specific namespace - http://maven.apache.org/POM/4.0.0.
26 Currently this namespace needs to be explicitly specified in all XPath
27 POM macros by prefixing all node names with pom:.
28
30 Written by Mikolaj Izdebski.
31
33 Bugs should be reported through Red Hat Bugzilla at
34 http://bugzilla.redhat.com/.
35
37 pom_add_dep(7), pom_add_parent(7), pom_add_plugin(7),
38 pom_disable_module(7), pom_remove_dep(7), pom_remove_parent(7),
39 pom_remove_plugin(7), pom_set_parent(7), pom_xpath_inject(7),
40 pom_xpath_remove(7), pom_xpath_replace(7).
41
42
43
44JAVAPACKAGES 11/20/2015 POM_XPATH_SET(7)