1POM_SET_PARENT(7)             Java Packages Tools            POM_SET_PARENT(7)
2
3
4

NAME

6       pom_set_parent - set parent POM reference in POM file
7

SYNOPSIS

9       %pom_set_parent groupId:artifactId[:version] [POM-location]...
10

DESCRIPTION

12       This macro patches specified POM file setting reference to parent POM
13       to specified groupId, artifactId and version.
14
15       This macros first removes parent POM reference and then adds a new one.
16       It’s (more or less) equivalent to call to %pom_remove_parent followed
17       by invocation of %pom_add_parent. See pom_remove_parent(7) and
18       pom_add_parent(7) for more information about parameters.
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. You can specify more
23       file locations which will be processed.
24

EXAMPLES

26       %pom_set_parent com.example:example-parent module - this call sets
27       parent POM of module/pom.xml to com.example:example-parent.
28

AUTHOR

30       Written by Mikolaj Izdebski.
31

REPORTING BUGS

33       Bugs should be reported through Java Packages Tools issue tracker at
34       Github: https://github.com/fedora-java/javapackages/issues.
35

SEE ALSO

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_change_dep(7), pom_xpath_inject(7),
40       pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
41
42
43
44JAVAPACKAGES                      08/06/2018                 POM_SET_PARENT(7)
Impressum