Actions
How to deploy internal artifact » History » Revision 1
Revision 1/4
| Next »
chin-yeh, 04/22/2011 12:30 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
Updated by chin-yeh over 13 years ago · 1 revisions