1POM_REMOVE_DEP(7) Java Packages Tools POM_REMOVE_DEP(7)
2
3
4
6 pom_remove_dep - remove dependency on Maven artifact from POM file
7
9 %pom_remove_dep [groupId]:[artifactId] [POM-location]
10
12 This macro patches specified POM file not to contain dependencies on
13 given Maven artifact.
14
15 groupId and artifactId are identifiers of Maven group and artifact of
16 the module on which dependency is to be removed. If they are ommited
17 then all identifiers are matched.
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.
22
24 %pom_remove_dep com.example: - this call removes dependency on all
25 artifacts with groupId com.example from POM in current working
26 directory.
27
28 %pom_remove_dep boo:bar target/location - this call removes dependency
29 on artifacts with groupId foo and artifactId bar from
30 target/location/pom.xml.
31
33 Written by Mikolaj Izdebski.
34
36 Bugs should be reported through Red Hat Bugzilla at
37 http://bugzilla.redhat.com/.
38
40 pom_add_dep(7), pom_add_parent(7), pom_add_plugin(7),
41 pom_disable_module(7), pom_remove_parent(7), pom_remove_plugin(7),
42 pom_set_parent(7), pom_xpath_inject(7), pom_xpath_remove(7),
43 pom_xpath_replace(7), pom_xpath_set(7).
44
45
46
47JAVAPACKAGES 11/20/2015 POM_REMOVE_DEP(7)