maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r750083 - in /maven/components/trunk: apache-maven/src/conf/settings.xml build.xml
Date Wed, 04 Mar 2009 17:25:12 GMT
Author: bentmann
Date: Wed Mar  4 17:25:10 2009
New Revision: 750083

URL: http://svn.apache.org/viewvc?rev=750083&view=rev
Log:
o Prepared extraction of central from super POM and moved it into global settings

Modified:
    maven/components/trunk/apache-maven/src/conf/settings.xml
    maven/components/trunk/build.xml

Modified: maven/components/trunk/apache-maven/src/conf/settings.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/apache-maven/src/conf/settings.xml?rev=750083&r1=750082&r2=750083&view=diff
==============================================================================
--- maven/components/trunk/apache-maven/src/conf/settings.xml (original)
+++ maven/components/trunk/apache-maven/src/conf/settings.xml Wed Mar  4 17:25:10 2009
@@ -244,6 +244,37 @@
       </properties>
     </profile>
     -->
+    <profile>
+      <id>maven-central-repository</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <repositories>
+        <repository>
+          <id>central</id>
+          <name>Maven Repository Switchboard</name>
+          <layout>default</layout>
+          <url>http://repo1.maven.org/maven2</url>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>central</id>
+          <name>Maven Plugin Repository</name>
+          <url>http://repo1.maven.org/maven2</url>
+          <layout>default</layout>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <releases>
+            <updatePolicy>never</updatePolicy>
+          </releases>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
   </profiles>
 
   <!-- activeProfiles

Modified: maven/components/trunk/build.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/build.xml?rev=750083&r1=750082&r2=750083&view=diff
==============================================================================
--- maven/components/trunk/build.xml (original)
+++ maven/components/trunk/build.xml Wed Mar  4 17:25:10 2009
@@ -208,6 +208,8 @@
       <arg value="install"/>
       <arg value="-Dmaven.repo.local=${maven.repo.local}"/>
       <arg value="-Dsurefire.useFile=${surefire.useFile}"/>
+      <arg value="--global-settings"/>
+      <arg file="apache-maven/src/conf/settings.xml"/>
     </java>
   </target>
 



Mime
View raw message