Install JAR in local repo

Example of installing JACOB library in local repository repo:

mvn install:install-file -Dfile=jacob.jar \
-DgroupId=com.jacob \
-DartifactId=jacob \
-Dversion=1.7 \
-Dpackaging=jar \
-DlocalRepositoryPath=repo \
-DcreateChecksum=true

one line version:

mvn install:install-file -Dfile=jacob.jar -DgroupId=com.jacob -DartifactId=jacob -Dversion=1.7 -Dpackaging=jar -DlocalRepositoryPath=repo -DcreateChecksum=true

Leave a Reply

Your email address will not be published. Required fields are marked *