You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2011/02/10 19:48:44 UTC

svn commit: r1069524 - /maven/core-integration-testing/trunk/core-it-suite/src/test/resources/bootstrap/settings.xml

Author: bentmann
Date: Thu Feb 10 18:48:43 2011
New Revision: 1069524

URL: http://svn.apache.org/viewvc?rev=1069524&view=rev
Log:
o Fixed IT bootstrap to fetch only from the desired IT repos

Modified:
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/bootstrap/settings.xml

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/bootstrap/settings.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/bootstrap/settings.xml?rev=1069524&r1=1069523&r2=1069524&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/bootstrap/settings.xml (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/bootstrap/settings.xml Thu Feb 10 18:48:43 2011
@@ -20,5 +20,37 @@ under the License.
 -->
 
 <settings>
-  <!-- empty and just here to disable any custom settings from the user's environment -->
+  <profiles>
+    <profile>
+      <id>it-bootstrap</id>
+      <!-- NOTE: We want everything to be fetched from the repo configured in the global settings -->
+      <repositories>
+        <repository>
+          <id>apache.snapshots</id>
+          <url>file:target/null</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>apache.snapshots</id>
+          <url>file:target/null</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+  </profiles>
+  <activeProfiles>
+    <activeProfile>it-bootstrap</activeProfile>
+  </activeProfiles>
 </settings>