Reputation: 3000
We have a maven repository setup on a computer (host is http://repository:8280
). Jars are uploaded to the repository and we use IVY to pull relevant jars for development.
We have an office in another country, many miles from the repository server. It takes a lot of time to download jars. I want to setup another server closer to the other office which when a jar is uploaded to http://repository:8280
it also gets uploaded to this new repository. Like a mirrored repository or something.
Can this be done and if so is there any tutorials online?
Upvotes: 0
Views: 165
Reputation: 77951
You haven't mentioned what Maven repository manager you are using.
The use case you've outlined is supported by the Nexus repository manager, the following diagram describes its smart proxy feature:
Upvotes: 1