GeeCON Prague 2014*
The moose likes Ant, Maven and Other Build Tools and the fly likes Best way to populate archiva respository without an internet connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Best way to populate archiva respository without an internet connection" Watch "Best way to populate archiva respository without an internet connection" New topic
Author

Best way to populate archiva respository without an internet connection

Bob Talbert
Greenhorn

Joined: Mar 26, 2013
Posts: 4
I am setting up an Archiva maven repository on a network without an internet connection. What is the best way to populate the archiva respository without an internet connection and makes updates to it in the future? I have a local repository on my development machine and want to populate archiva with its content.
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

If you already have a local repository on your development machine and ( this is very important ) , it is in the exact same format as the maven ( .m2 local repo ) then you can simply copy paste the entire .m2 folder on the Archiva's storage folder. Re-start the Archiva application and it will index the storage.


Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
 
GeeCON Prague 2014
 
subject: Best way to populate archiva respository without an internet connection