Skip to content

Instantly share code, notes, and snippets.

@stingh711
Created August 8, 2012 02:42
Show Gist options
  • Save stingh711/3291590 to your computer and use it in GitHub Desktop.
Save stingh711/3291590 to your computer and use it in GitHub Desktop.
Maven repository setting
<?xml version="1.0"?>
<settings>
<mirrors>
<mirror>
<id>nexus</id>
<url>http://172.25.21.93:8081/nexus/content/groups/public</url>
<mirrorOf>*</mirrorOf>
</mirror>
<mirror>
<id>Midas-snapshot</id>
<name>Midas private maven server</name>
<url>http://172.25.21.93:8081/nexus/content/groups/public-snapshots</url>
<mirrorOf>public-snapshots</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment