Friday, 5 February 2016

Maven - Install vs Deploy

In Maven, the difference between mvn install and mvn deploy is the following :

  • mvn install is used to install the artifact/dependency on your local repository.


  • mvn deploy is used to upload/install the artifact/dependency on the remote repository like nexus or artifactory.

Check this link for detailed reference.

Also let me refresh your memory about repositories. As you may be aware, your local repository is usually a local cache of the remote repository and may also contain unreleased artifacts.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
eXTReMe Tracker