Actions
How to deploy internal artifact » History » Revision 2
« Previous |
Revision 2/4
(diff)
| Next »
chin-yeh, 04/22/2011 12:32 PM
How to deploy internal artifact¶
Before the deployment, you may need to check out the existing artifact in the Nexus, Search/Browsse Artifact.
- To deploy artifact to internal repositories, append the following to your project's POM (see also Maven Deploy Plugin) :
<repository> <uniqueVersion>false</uniqueVersion> <id>releases</id> <url>http://192.168.2.13:8081/nexus/content/repositories/releases</url> </repository> <snapshotRepository> <uniqueVersion>true</uniqueVersion> <id>snapshots</id> <url>http://192.168.2.13:8081/nexus/content/repositories/snapshots</url> </snapshotRepository>
- for connector project, all projects inherit the above settings from a parent POM, ecosway-parent. Therefore, you just need to update the parent POM and all its inherited projects will get the latest changes.
cd
to your project folder, and execute the maven goal, deploy:mvn deploy
- if successfully, checkout the deployed artifact in Nexus
- done.
Updated by chin-yeh over 13 years ago · 2 revisions