pom_set_parent (7) Linux Manual Page
pom_set_parent – set parent POM reference in POM file
Synopsis
%pom_set_parent groupId*:*artifactId[*:*version] [POM-location]
Description
This macro patches specified POM file setting reference to parent POM to specified groupId, artifactId and version.
This macros first removes parent POM reference and then adds a new one. It’s (more or less) equivalent to call to %pom_remove_parent followed by invocation of %pom_add_parent. See pom_remove_parent(7) and pom_add_parent(7) for more information about parameters.
Examples
%pom_set_parent com.example:example-parent module – this call sets parent POM of module/pom.xml to com.example:example-parent.
Author
Written by Mikolaj Izdebski.
Reporting Bugs
Bugs should be reported through Red Hat Bugzilla at m[blue]http://bugzilla.redhat.com/m[].
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_xpath_inject(7), pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
