Automating upload of artifacts in Nexus using Maven
Am trying to automate the process of uploading an artifact generated by Maven into a Nexus hosted re开发者_高级运维pository (like a maven goal, which will upload the generated jar into a specified repository in Nexus). Is this possible? In the Nexus docs they have talked only about manual uploading.
I also looked at the nexus maven plugins and nothing like this is specified.
Thanks in advance
You have to use mvn deploy to deploy your artifacts via WebDAV (declare the Nexus DAV URL in the distributionManagement section).
See also
- Getting started with Nexus Maven Repo Manager
- 13.3. Configuring Maven for Site Deployment (this link if for site deployment but it's similar)
加载中,请稍侯......
精彩评论