开发者

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)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜