Friday, July 22, 2011

Maven - Installing a jar into local repository

The following command is used to install a jar file to the local maven repository.

>cd MAVEN_HOME

>cd bin

>mvn install:install-file -DgroupId=org.mybusiness -DartifactId=ShippingServiceClient -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file/ShippingServiceClient-1.0.jar

No comments:

Post a Comment