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

NAME

6       pom_remove_plugin - remove Maven plugin invocation from POM file
7

SYNOPSIS

9       %pom_remove_plugin [OPTIONS] [groupId]:[artifactId][:version[:scope]]
10       [POM-location]...
11

OPTIONS

13       -r
14           Work in recursive mode. That means that plugin is also removed from
15           all enabled submodules of given POM file(s).
16
17       -f
18           Do not throw an error when one of the specified files doesn’t
19           contain given dependency.
20

DESCRIPTION

22       This macro patches specified POM file not to contain invocations of
23       given Maven plugin.
24
25       groupId and artifactId are identifiers of Maven group and artifact of
26       the plugin which invocation is to be removed. If they are ommited then
27       all identifiers are matched.
28
29       POM location can be either a full path to the POM file, or a path to
30       the directory containing pom.xml. If POM location is not given then
31       pom.xml from current working directory is used. You can specify more
32       file locations which will be processed. You can specify more file
33       locations.
34

EXAMPLES

36       %pom_remove_plugin :maven-shade-plugin - this call removes invocation
37       of Maven Shade Plugin from POM in current working directory.
38

AUTHOR

40       Written by Mikolaj Izdebski.
41

REPORTING BUGS

43       Bugs should be reported through Java Packages Tools issue tracker at
44       Github: https://github.com/fedora-java/javapackages/issues.
45

SEE ALSO

47       pom_add_dep(7), pom_add_parent(7), pom_add_plugin(7),
48       pom_disable_module(7), pom_remove_dep(7), pom_remove_parent(7),
49       pom_change_dep(7), pom_set_parent(7), pom_xpath_inject(7),
50       pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
51
52
53
54JAVAPACKAGES                      01/25/2023              POM_REMOVE_PLUGIN(7)
Impressum