Actions
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 similiar 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 success, checkout the deployed artifact in Nexus
- done.
Updated by chin-yeh over 13 years ago · 4 revisions