Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nexus supports Mass upload of artifacts?

Tags:

I wanted to know if we can have mass upload of artifacts to the repository in Nexus.

like image 590
user170114 Avatar asked Sep 11 '09 12:09

user170114


2 Answers

You can do it in a variety of ways:

  • Use the Nexus artifact upload page (note this only works for multiple artifacts with the same groupId and artifactId).
  • Set up a script, with multiple invocations of the maven-deploy-plugin's deploy-file goal, one for each artifact.
  • If you have access to the file system, you can copy the files directly into [sonatype-work]/storage/[repository-name]. If you do this, set up scheduled tasks to rebuild the metadata and reindex the repository.
like image 64
Rich Seller Avatar answered Sep 30 '22 21:09

Rich Seller


Use the Nexus Repository Conversion Tool to create Release and Snapshot folders based on your local .m2 folder and then move the contents of those folders into [sonatype-work]/storage/[repository-name].

like image 28
Taylor Leese Avatar answered Sep 30 '22 19:09

Taylor Leese