开发者

Automating upload of artifacts in Nexus using Maven

开发者 https://www.devze.com 2023-01-02 18:58 出处:网络
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 rep

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

精彩评论

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