Using Mirrors for Repositories

Creating a local mirror of maven repository often saves your developers a lot of time waiting for getting everything from a repository. Just by modifying the settings.xml can do, e.g.:

<settings>
...
<mirrors>
      <mirror>
         <id>UK</id>
         <name>UK Central</name>
         <url>http://uk.maven.org/maven2</url&gt;
         <mirrorOf>central</mirrorOf>
      </mirror>
   </mirrors>
   ...
</settings>

See the links for more details:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: