In Maven, the difference between mvn install and mvn deploy is the following :
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.
- 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