Author: jbellis
Date: Wed Mar 16 16:51:04 2011
New Revision: 1082199
URL: http://svn.apache.org/viewvc?rev=1082199&view=rev
Log:
allow specifying maven repo locations
patch by Jürgen Hermann; tested by jbellis for CASSANDRA-2340
Added:
cassandra/trunk/build.properties.default
Modified:
cassandra/trunk/build.xml
Added: cassandra/trunk/build.properties.default
URL:
http://svn.apache.org/viewvc/cassandra/trunk/build.properties.default?rev=1082199&view=auto
==============================================================================
--- cassandra/trunk/build.properties.default (added)
+++ cassandra/trunk/build.properties.default Wed Mar 16 16:51:04 2011
@@ -0,0 +1,9 @@
+# Maven2 Repository Locations (you can override these to point to a local
proxy, e.g. Nexus)
+artifact.remoteRepository.central: http://repo1.maven.org/maven2
+artifact.remoteRepository.java.net2: http://download.java.net/maven/2
+artifact.remoteRepository.java.apache:
https://repository.apache.org/content/repositories/releases
+artifact.remoteRepository.java.cloudera:
https://repository.cloudera.com/content/repositories/releases
+artifact.remoteRepository.java.jclouds:
http://jclouds.googlecode.com/svn/repo
+artifact.remoteRepository.java.oauth:
http://oauth.googlecode.com/svn/code/maven
+artifact.remoteRepository.java.twttr: http://maven.twttr.com
+
Modified: cassandra/trunk/build.xml
URL:
http://svn.apache.org/viewvc/cassandra/trunk/build.xml?rev=1082199&r1=1082198&r2=1082199&view=diff
==============================================================================
--- cassandra/trunk/build.xml (original)
+++ cassandra/trunk/build.xml Wed Mar 16 16:51:04 2011
@@ -21,6 +21,7 @@
xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<property environment="env"/>
<property file="build.properties" />
+ <property file="build.properties.default" />
<property name="debuglevel" value="source,lines,vars"/>
<property name="basedir" value="."/>
@@ -184,14 +185,14 @@
<typedef uri="antlib:org.apache.maven.artifact.ant"
classpathref="maven-ant-tasks.classpath" />
<!-- define the remote repositories we use -->
- <artifact:remoteRepository id="central"
url="http://repo1.maven.org/maven2"/>
- <artifact:remoteRepository id="java.net2"
url="http://download.java.net/maven/2"/>
- <artifact:remoteRepository id="apache"
url="https://repository.apache.org/content/repositories/releases"/>
- <artifact:remoteRepository id="cloudera"
url="https://repository.cloudera.com/content/repositories/releases"/>
+ <artifact:remoteRepository id="central"
url="${artifact.remoteRepository.central}"/>
+ <artifact:remoteRepository id="java.net2"
url="${artifact.remoteRepository.java.net2}"/>
+ <artifact:remoteRepository id="apache"
url="${artifact.remoteRepository.apache}"/>
+ <artifact:remoteRepository id="cloudera"
url="${artifact.remoteRepository.cloudera}"/>
<!-- for distributed tests -->
- <artifact:remoteRepository id="jclouds"
url="http://jclouds.googlecode.com/svn/repo"/>
- <artifact:remoteRepository id="oauth"
url="http://oauth.googlecode.com/svn/code/maven"/>
- <artifact:remoteRepository id="twttr" url="http://maven.twttr.com"/>
+ <artifact:remoteRepository id="jclouds"
url="${artifact.remoteRepository.jclouds}"/>
+ <artifact:remoteRepository id="oauth"
url="${artifact.remoteRepository.oauth}"/>
+ <artifact:remoteRepository id="twttr"
url="${artifact.remoteRepository.twttr}"/>
<property name="maven-ant-tasks.initialized" value="true"/>
</target>