Is maven deploy goal and actually copying of a dependency or artifact jar to remote repository same?
Actually, simply copying the artifact to the repository is not the same as using deploy. The deploy goal will update various metadata files, create the md5 and sha1 checksum files, and can optionally create missing POM files etc along with actually copying the artifact file. So there is a significant difference between the copying the file and using deploy.
Related Questions
- Is there a way to use the deploy phase to perform some tasks without maven trying to install the artifact to a maven repository?
- Whenever a file is modified in a maven project how is the SNAPSHOT jar updated in the remote repository?
- Is maven deploy goal and actually copying of a dependency or artifact jar to remote repository same?