9

Am trying to automate the process of uploading an artifact generated by Maven into a Nexus hosted repository (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

Manoj
  • 1,384
  • 4
  • 14
  • 19
  • Here is another solution: http://stackoverflow.com/questions/3240477/upload-download-entire-directory-to-nexus-through-maven – Aaron Digulla Aug 29 '11 at 08:38

1 Answers1

8

You have to use mvn deploy to deploy your artifacts via WebDAV (declare the Nexus DAV URL in the distributionManagement section).

See also

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124