Manual Pages for Linux CentOS command on man pom_add_dep
MyWebUniversity

Manual Pages for Linux CentOS command on man pom_add_dep

POMADDDEP(7) Java Packages Tools POMADDDEP(7)

NAME

pomadddep - add dependency to POM file SYNOPSIS

%pomadddep groupId*:*artifactId[:*version[:*scope]] [POM-location]

[extra-XML]

%pomadddepmgmt 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). pomadddep adds the dependency to XML node, while pomadddepmgmt 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 node. This parameter can be ommited, in which case no extra XML is appended. EXAMPLES

%pomadddep 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 pomaddparent(7), pomaddplugin(7), pomdisablemodule(7), pomremovedep(7), pomremoveparent(7), pomremoveplugin(7), pomsetparent(7), pomxpathinject(7), pomxpathremove(7), pomxpathreplace(7), pomxpathset(7). JAVAPACKAGES 11/20/2015 POMADDDEP(7)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™