Created
August 9, 2012 11:15
-
-
Save nandosola/3303345 to your computer and use it in GitHub Desktop.
Generic ~/.m2/settings.xml to use with Torquebox Rubygems Maven Proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"> | |
<profiles> | |
<profile> | |
<id>jruby</id> | |
<repositories> | |
<repository> | |
<id>rubygems-proxy</id> | |
<name>Rubygems Proxy</name> | |
<url>http://rubygems-proxy.torquebox.org/releases</url> | |
<layout>default</layout> | |
<releases> | |
<enabled>true</enabled> | |
</releases> | |
<snapshots> | |
<enabled>false</enabled> | |
<updatePolicy>never</updatePolicy> | |
</snapshots> | |
</repository> | |
<repository> | |
<id>sonatype-snapshots</id> | |
<name>Unpromoted, bleeding-edge artifacts</name> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
<layout>default</layout> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
<updatePolicy>always</updatePolicy> | |
</snapshots> | |
</repository> | |
</repositories> | |
</profile> | |
</profiles> | |
<activeProfiles> | |
<activeProfile>jruby</activeProfile> | |
</activeProfiles> | |
</settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment