Add dependency to existing pom.xml via shell

Posted by oschrenk on Stack Overflow See other posts from Stack Overflow or by oschrenk
Published on 2010-04-29T12:53:08Z Indexed on 2010/04/29 13:47 UTC
Read the original article Hit count: 359

Filed under:
|
|
|

Is there a way to add dependencies to an existing pom.xml via shell script?

Something like:

mvn dependency:add -DgroupID=com.acme -DartifactId=project

[Update] Clarified that I want to add to an existing pom

© Stack Overflow or respective owner

Related posts about maven

Related posts about java