pom_add_parent man page

pom_add_parent — add parent POM reference to POM file


%pom_add_parent groupId:artifactId[:version] [POM-location]...


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. You can specify more file locations which will be processed.


%pom_add_parent foo:bar baz - this call adds reference to parent POM artifact foo:bar to baz/pom.xml file.


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_change_dep(7), pom_set_parent(7), pom_xpath_inject(7), pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).

Referenced By

pom_add_dep(7), pom_add_plugin(7), pom_change_dep(7), pom_disable_module(7), pom_remove_dep(7), pom_remove_parent(7), pom_remove_plugin(7), pom_set_parent(7), pom_xpath_disable(7), pom_xpath_inject(7), pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).

Explore man page connections for pom_add_parent(7).

JAVAPACKAGES Java Packages Tools 10/03/2016