Home > util > Install Maven artifacts to local repository

Install Maven artifacts to local repository

September 29, 2009 alexv Leave a comment Go to comments

To install maven artifact to local repository without affecting public repository you will do the following thing:

mvn install:install-file -DgroupId=com.company -DartifactId=application -Dversion=0.0.1 -Dfile=application-0.0.1.jar -Dpackaging=jar -DgeneratePom=true

Source: http://maven.apache.org/plugins/maven-install-plugin/usage.html

Categories: util Tags:
  1. No comments yet.
  1. No trackbacks yet.