How to copy/clone a maven2 repository server

I want to create a local maven2 repository so we can download dependencies faster.

we use sbt

what is the simplest way to take all or some depedencies from http://oss.sonatype.org/content/repositories/releases and put it in our server

I was thinking of a script to download some jars and put it in a sftp server and use sftp resolver with sbt https://github.com/harrah/xsbt/wiki/Resolvers


A pretty simple way would be to install a repository manager. A popular one is Sonatype Nexus (the application that serves http://oss.sonatype.org). The repository manager is installed on your server, and set up to proxy online Maven repositories. Then you download your dependencies from the repository manager as though it was the actual server. The first time you download a dependency, it'll be as slow as before (the proxy will download it from the internet), but after that, it'll serve its cached copy. There are some details on this question.


  • Get best records of each name using mysql
  • neo4j cypher set statement with parameter map
  • How to copy/clone a maven2 repository server
  • Android | contentObserver | Content URI does not contain the resource ID
  • Json.net Add property to every class containing of a certain type
  • ClassNotFoundException: Attempted to load class… Symfony
  • How to prevent EF4 from dynamically loading all assemblies
  • reverse() throws AttributeError on call
  • Thymeleaf fragment with own controller
  • C/C++ System portable way to change maximum number of open files
  • curl - How to escape < in parameter value
  • How to send an std::vector of unsigned char over an UDP socket using boost asio?
  • Azure PDF Sharp not using Unicode font
  • Android gradle : Error No resource found that matches the given name: attr when refer to an android
  • How to force Composer to download a local package?
  • Accessing local repository in offline mode
  • Checking if the Faye server exists before running it for my Rails app
  • How to get Fully qualified domain name in unix
  • What is the likely cause of a net::ERR_CONNECTION_ABORTED when uploading a file to Spring
  • CRASH: *** -[__NSArrayM objectAtIndex:]: index 4294967295 beyond bounds [0 .. 9]
  • Backward compatibility of Python 3.5 for external modules
  • Possible to get mouse events fired when cursor is outside page?
  • Filter strings with regex before casting to numeric
  • Symfony 2. CSRF token is invalid
  • uniform generation of points on 3D box
  • SharedPreferences or SQLite Database?
  • Java: can you cast Class into a specific interface?
  • Q promise. Difference between .when and .then
  • DomPDF {PAGE_NUM} not on first page
  • Javascript simulate pressing enter in input box
  • RectangularRangeIndicator format like triangular using dojo
  • DotNetZip - Calculate final zip size before calling Save(stream)
  • AES padding and writing the ciphertext to a disk file
  • Updating server-side rendering client-side
  • How to extract text from Word files using C#?
  • Importing jscolor library in angular 2
  • Warning: Can't call setState (or forceUpdate) on an unmounted component
  • A cron job substitute?
  • Load html files in TinyMce
  • Free memory of cv::Mat loaded using FileStorage API