centos man page for pom_add_parent

Query: pom_add_parent

OS: centos

Section: 7

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

POM_ADD_PARENT(7)						Java Packages Tools						 POM_ADD_PARENT(7)

NAME
pom_add_parent - add parent POM reference to POM file
SYNOPSIS
%pom_add_parent groupId*:*artifactId[*:*version] [POM-location]
DESCRIPTION
This macro patches specified POM file adding a reference to parent POM with specified groupId, artifactId and version. groupId and artifactId are identifiers of Maven group and artifact of the POM to be referenced as parent POM. They must be specified. If version is not specified then default value of "any" is used. 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_add_parent foo:bar baz - this call adds reference to parent POM artifact foo:bar to baz/pom.xml file.
BUGS
If specified POM has already a reference to parent POM this macro will not alter or remove it. Instead a second reference will be added. This is usually not the expected behavior as it results in creating invalid POM file. In order to replace existing parent POM reference, pom_set_parent(7) should be used instead.
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_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_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
JAVAPACKAGES
06/10/2014 POM_ADD_PARENT(7)
Related Man Pages
mh_cleanpom(1) - debian
mh_installjar(1) - debian
mh_installpoms(1) - debian
mh_patchpoms(1) - debian
pod::pom::view::html(3pm) - debian
Similar Topics in the Unix Linux Community
POMStrap 1.0.10 (Default branch)
Removing leading spaces from the variable value.
Copying files from parent directory only
Replacing a value in all xml's
Replacing a particular word with another word in all the xml's under a particular directory with sed