Skip to content
Snippets Groups Projects
Commit e11e0c19 authored by Benguria Elguezabal, Gorka's avatar Benguria Elguezabal, Gorka
Browse files

Adds mirrors to settings.xml to speed up builds

parent a4585d48
No related branches found
No related tags found
No related merge requests found
......@@ -6,45 +6,59 @@
<pluginGroups></pluginGroups>
<proxies></proxies>
<servers></servers>
<mirrors></mirrors>
<profiles><profile>
<id>local-proxy</id>
<!-- https://stackoverflow.com/a/7430640 -->
<mirrors>
<mirror>
<id>archiva</id>
<mirrorOf>*</mirrorOf>
<url>http://192.168.56.40.nip.io:8090/repository/internal</url>
</mirror>
<mirror>
<id>snapshots</id>
<mirrorOf>snapshots</mirrorOf>
<url>http://192.168.56.40.nip.io:8090/repository/snapshots</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>archiva-proxy</id>
<repositories>
<repository>
<id>local-proxy</id>
<name>Local Internal repo</name>
<id>internal</id>
<name>Archiva Managed Internal Repository</name>
<url>http://192.168.56.40.nip.io:8090/repository/internal/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>local-proxy-snapshots</id>
<name>Local Internal repo snapshots</name>
<id>snapshots</id>
<name>Archiva Managed Snapshots Repository</name>
<url>http://192.168.56.40.nip.io:8090/repository/snapshots/</url>
<layout>default</layout>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>local-proxy</id>
<name>Local Internal repo</name>
<id>internal</id>
<name>Archiva Managed Internal Repository</name>
<url>http://192.168.56.40.nip.io:8090/repository/internal/</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>local-proxy-snapshots</id>
<name>Local Internal repo snapshots</name>
<id>snapshots</id>
<name>Archiva Managed Snapshots Repository</name>
<url>http://192.168.56.40.nip.io:8090/repository/snapshots/</url>
<layout>default</layout>
<snapshots>
......@@ -55,6 +69,6 @@
</profile>
</profiles>
<activeProfiles>
<activeProfile>local-proxy</activeProfile>
<activeProfile>archiva-proxy</activeProfile>
</activeProfiles>
</settings>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment