Maven deploy Plugin: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 10: | Line 10: | ||
The deploy plugin copies artifacts into a ''remote repository'' (the [[Maven install Plugin|install plugin]] copies artifacts into the local repository). | The deploy plugin copies artifacts into a ''remote repository'' (the [[Maven install Plugin|install plugin]] copies artifacts into the local repository). | ||
=Examples= | |||
==Install Arbitrary Files as Binaries and Sources== | |||
<pre> | |||
mvn deploy:deploy-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B \ | |||
-Dpackaging=jar -Dfile="C:\tmp\jta-1.0.1B.jar" \ | |||
-Durl="file://C:\Documents and Settings\user1\.m2" -DrepositoryId=repository | |||
</pre> |
Revision as of 16:09, 18 November 2016
External
Internal
Overview
The deploy plugin copies artifacts into a remote repository (the install plugin copies artifacts into the local repository).
Examples
Install Arbitrary Files as Binaries and Sources
mvn deploy:deploy-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B \ -Dpackaging=jar -Dfile="C:\tmp\jta-1.0.1B.jar" \ -Durl="file://C:\Documents and Settings\user1\.m2" -DrepositoryId=repository