POM_REMOVE_PLUGIN(7) Java Packages Tools POM_REMOVE_PLUGIN(7)NAME
pom_remove_plugin - remove Maven plugin invocation from POM file
SYNOPSIS
%pom_remove_plugin [groupId]:[artifactId] [POM-location]
DESCRIPTION
This macro patches specified POM file not to contain invocations of given Maven plugin.
groupId and artifactId are identifiers of Maven group and artifact of the plugin which invocation is to be removed. If they are ommited
then all identifiers are matched.
POM location can be either a full path to the POM file, or a path to the directory containing pom.xml. If POM location is not given then
pom.xml from current working directory is used.
EXAMPLES
%pom_remove_plugin maven-shade-plugin - this call removes invocation of Maven Shade Plugin from POM in current working directory.
AUTHOR
Written by Mikolaj Izdebski.
REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.
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_set_parent(7),
pom_xpath_inject(7), pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
JAVAPACKAGES 06/10/2014 POM_REMOVE_PLUGIN(7)
Check Out this Related Man Page
POM_ADD_PLUGIN(7) Java Packages Tools POM_ADD_PLUGIN(7)NAME
pom_add_plugin - add plugin invocation to POM file
SYNOPSIS
%pom_add_plugin groupId*:*artifactId[*:*version] [POM-location] [extra-XML]
DESCRIPTION
This macro patches specified POM file adding plugin invocation of given groupId and artifactId.
groupId and artifactId are identifiers of Maven plugin artifact of which invocation is to be added. groupId may be ommited, in which case
value of "org.apache.maven.plugins" is used as default. artifactId must be specified. If version is not specified then default value of
"any" is used.
POM location can be either a full path to the POM file, or a path to the directory containing pom.xml. If POM location is not given then
pom.xml from current working directory is used.
Extra XML is additional XML code to be added into the <plugin> node. This parameter can be ommited, in which case no extra XML is appended.
EXAMPLES
%pom_add_plugin com.example:plugin foo - this call adds invocation of plugin com.example:plugin to foo/pom.xml.
%pom_add_plugin :maven-compiler-plugin . "<target>1.5</target>" - this call adds invocation of Maven Compiler Plugin with target configured
to 1.5.
AUTHOR
Written by Mikolaj Izdebski.
REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.
SEE ALSO pom_add_dep(7), pom_add_parent(7), pom_disable_module(7), pom_remove_dep(7), pom_remove_parent(7), pom_remove_plugin(7), pom_set_parent(7),
pom_xpath_inject(7), pom_xpath_remove(7), pom_xpath_replace(7), pom_xpath_set(7).
JAVAPACKAGES 06/10/2014 POM_ADD_PLUGIN(7)
Hi All,
I'm currently using SED to make various changes to some .xml files I'm working on, but I'm stuck on this particular problem.
I want to remove '<placeholder>element-name</placeholder>' from the following:
<heading>Element <placeholder>element-name</placeholder> not... (2 Replies)
Hi Folks,
I have a file name abc.xml in my windows machine at the location c:\ytr\abc.xml
which I want to place at the unix box machine inside cde directory.. at the following location that is /opt/app/cde/
now the credentials of unix box are
abc345 -->(dummyid)
ftyiu88--->(dummy passwd)
... (4 Replies)