Maven: adding a jar


/ Published in: DOS Batch
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. C:\>mvn install:install-file -Dfile=exampleX.jar -DgroupId=com.examples -DartifactId=exampleX -Dversion=X.X.X -Dpackaging=jar

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.