Unix and Linux Discussions Tagged with war stories |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
52,957 |
War Stories |
|
|
|
3 |
5,894 |
War Stories |
|
|
|
11 |
8,835 |
War Stories |
|
|
|
1 |
3,920 |
War Stories |
|
|
|
6 |
5,999 |
War Stories |
|
|
|
5 |
5,883 |
War Stories |
|
|
|
2 |
12,226 |
War Stories |
|
|
|
8 |
12,136 |
War Stories |
|
|
|
1 |
11,706 |
War Stories |
|
|
|
2 |
18,057 |
War Stories |
|
|
|
6 |
13,845 |
War Stories |
|
|
|
2 |
4,838 |
War Stories |
|
|
|
4 |
9,299 |
War Stories |
|
|
|
6 |
6,964 |
War Stories |
|
|
|
3 |
22,042 |
War Stories |
|
|
|
2 |
6,249 |
War Stories |
|
|
|
4 |
6,369 |
War Stories |
|
|
|
3 |
5,943 |
War Stories |
|
|
|
23 |
17,713 |
War Stories |
|
|
|
2 |
6,837 |
War Stories |
|
|
|
7 |
11,769 |
War Stories |
|
|
|
13 |
16,312 |
War Stories |
|
|
|
11 |
10,394 |
War Stories |
|
|
|
9 |
10,910 |
War Stories |
|
|
|
10 |
12,697 |
War Stories |
|
|
|
8 |
10,831 |
War Stories |
|
|
|
30 |
25,943 |
War Stories |
|
|
|
0 |
13,379 |
War Stories |
|
|
|
2 |
6,798 |
War Stories |
|
|
|
3 |
7,593 |
War Stories |
|
|
|
3 |
7,021 |
War Stories |
|
|
|
6 |
2,678 |
UNIX for Dummies Questions & Answers |
POM_XPATH_INJECT(7) Java Packages Tools POM_XPATH_INJECT(7)
NAME
pom_xpath_inject - inject XML code into POM file
SYNOPSIS
%pom_xpath_inject XPath [XML-code] [POM-location]
DESCRIPTION
This macro patches specified POM file appending some code as childreen of all XML nodes described by the XPath expression.
XPath is an expression describing a set of XML nodes in the POM file to which child code is to be appended. 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_inject pom:project "<packaging>war</packaging>" - this call sets packaging of POM in current working directory to war.
BUGS
POM 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:.
AUTHOR
Written by Mikolaj Izdebski.
REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.
SEE ALSO
pom_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_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
JAVAPACKAGES
06/10/2014 POM_XPATH_INJECT(7)