centos man page for pom_add_dep

Query: pom_add_dep

OS: centos

Section: 7

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

POM_ADD_DEP(7)							Java Packages Tools						    POM_ADD_DEP(7)

NAME
pom_add_dep - add dependency to POM file
SYNOPSIS
%pom_add_dep groupId*:*artifactId[:*version[:*scope]] [POM-location] [extra-XML] %pom_add_dep_mgmt groupId:articId[:*version[:*scope]] [POM-location] [extra-XML]
DESCRIPTION
These macros patch specified POM file adding a dependency on given version of artifactId from groupId, with given scope (if any). pom_add_dep adds the dependency to <dependencies> XML node, while pom_add_dep_mgmt adds it to dependencyManagement. groupId and artifactId are identifiers of Maven artifact on which dependency is to be added. They must be specified. If version is not specified then default value of "any" is used. If scope is not specified then no scope is defined (Maven defaults to "compile" in this case). 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 <dependency> node. This parameter can be ommited, in which case no extra XML is appended.
EXAMPLES
%pom_add_dep foo:bar baz - this call adds dependency on artifact foo:bar to baz/pom.xml file.
AUTHOR
Written by Mikolaj Izdebski.
REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.
SEE ALSO
pom_add_parent(7), pom_add_plugin(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_DEP(7)
Related Man Pages
mvn_alias(7) - centos
mvn_package(7) - centos
mh_install(1) - debian
mh_cleanpom(1) - debian
mh_installpoms(1) - debian
Similar Topics in the Unix Linux Community
Maven Dependency Overview 1.2 (Default branch)
Maven Integration for Eclipse 0.9.6 (Default branch)
Ivy 2.0.0 (Default branch)
Help on X Window service
DOM query selected path and show as xml