Posted By

cha0s on 09/17/10


add jar adding maven mvn

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


Maven: adding a jar

 / Published in: DOS Batch

Assume that you want to add the jar exampleX.jar, this is the mvn command to do this. After that remember to add this in your pom.xml

  1. C:\>mvn install:install-file -Dfile=exampleX.jar -DgroupId=com.examples -DartifactId=exampleX -Dversion=X.X.X -Dpackaging=jar

Report this snippet  

You need to login to post a comment.