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

NAME

6       pom_add_parent - add parent POM reference to POM file
7

SYNOPSIS

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

DESCRIPTION

12       This macro patches specified POM file adding a reference to parent POM
13       with specified groupId, artifactId and version.
14
15       groupId and artifactId are identifiers of Maven group and artifact of
16       the POM to be referenced as parent POM. They must be specified. If
17       version is not specified then default value of "any" is used.
18
19       POM location can be either a full path to the POM file, or a path to
20       the directory containing pom.xml. If POM location is not given then
21       pom.xml from current working directory is used. You can specify more
22       file locations which will be processed.
23

EXAMPLES

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

AUTHOR

29       Written by Mikolaj Izdebski.
30

REPORTING BUGS

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

SEE ALSO

36       pom_add_dep(7), pom_add_plugin(7), pom_disable_module(7),
37       pom_remove_dep(7), pom_remove_parent(7), pom_remove_plugin(7),
38       pom_change_dep(7), pom_set_parent(7), pom_xpath_inject(7),
39       pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
40
41
42
43JAVAPACKAGES                      08/11/2019                 POM_ADD_PARENT(7)
Impressum