Home > util > Install Maven artifacts to local repository

Install Maven artifacts to local repository

September 29, 2009 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

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.