1

The web UI is clunky, and since archiva is on the internal network, adding new updates and things to it is a painstaking process.

Does there exist a script or something that'll do the job of syncing up archiva to a local maven repo?

gtrak
  • 5,598
  • 4
  • 32
  • 41
  • 2
    There was a similar question a few months ago: http://stackoverflow.com/questions/3240477/upload-download-entire-directory-to-nexus-through-maven And I wrote about it in my blog: http://mostlymagic.wordpress.com/2010/07/22/deploy-a-folder-hierarchy-to-a-maven-repository/ – Sean Patrick Floyd Sep 14 '10 at 21:00

2 Answers2

1

I'm not aware of such a tool, your best bet is IMO to script something on top of deploy:deploy-file.

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
  • yea, I think that's what I'm going to do unless someone's already done this before. – gtrak Sep 14 '10 at 19:59
  • so I recursed down a directory tree and found all the pom files, then I looked for accompanying jars and ran deploy:deploy-file. This mostly worked. – gtrak Oct 07 '10 at 15:06
1

A few people have now requested this for Archiva - I'd encourage you to vote for the issue MRM-875

Brett Porter
  • 5,827
  • 27
  • 25
  • would it be possible to just copy over some directories from my repository to archiva's filesystem and run 'Scan repository Now'? – gtrak Sep 15 '10 at 13:28