Author: bentmann
Date: Tue Aug  4 19:04:04 2009
New Revision: 800920

URL: http://svn.apache.org/viewvc?rev=800920&view=rev
Log:
[MNG-4281] remote snapshots are prefered over locally installed snapshots in 
maven3 svn rev 800808

o Added IT

Added:
    
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4281PreferLocalSnapshotTest.java
   (with props)
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/main.jar
   (with props)
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/pom.xml
   (with props)
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/pom.xml
   (with props)
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/dependency-0.1-20090804.183632-1.jar
   (with props)
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/dependency-0.1-20090804.183632-1.pom
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/maven-metadata.xml
   (with props)
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/maven-metadata.xml
   (with props)
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/settings-template.xml
   (with props)
Modified:
    
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java

Modified: 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java?rev=800920&r1=800919&r2=800920&view=diff
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
 (original)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
 Tue Aug  4 19:04:04 2009
@@ -86,6 +86,7 @@
         // suite.addTestSuite( MavenIT0109ReleaseUpdateTest.class );
         // suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); -- 
MNG-3137
 
+        suite.addTestSuite( MavenITmng4281PreferLocalSnapshotTest.class );
         suite.addTestSuite( MavenITmng4279WagonProviderFailoverTest.class );
         suite.addTestSuite( MavenITmng4276WrongTransitivePlexusUtilsTest.class 
);
         suite.addTestSuite( MavenITmng4274PluginRealmArtifactsTest.class );

Added: 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4281PreferLocalSnapshotTest.java
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4281PreferLocalSnapshotTest.java?rev=800920&view=auto
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4281PreferLocalSnapshotTest.java
 (added)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4281PreferLocalSnapshotTest.java
 Tue Aug  4 19:04:04 2009
@@ -0,0 +1,81 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.it.Verifier;
+import org.apache.maven.it.util.ResourceExtractor;
+
+import java.io.File;
+import java.util.Properties;
+
+/**
+ * This is a test set for <a 
href="http://jira.codehaus.org/browse/MNG-4281";>MNG-4281</a>.
+ * 
+ * @author Benjamin Bentmann
+ */
+public class MavenITmng4281PreferLocalSnapshotTest
+    extends AbstractMavenIntegrationTestCase
+{
+
+    public MavenITmng4281PreferLocalSnapshotTest()
+    {
+        super( ALL_MAVEN_VERSIONS );
+    }
+
+    /**
+     * Test that remote snapshots are not preferred over snapshots that have 
just been locally built.
+     */
+    public void testit()
+        throws Exception
+    {
+        // NOTE: It's crucial to build the two projects in isolation to 
disable reactor resolution
+
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), 
"/mng-4281" );
+
+        Verifier verifier = new Verifier( new File( testDir, "dependency" 
).getAbsolutePath() );
+        verifier.setAutoclean( false );
+        verifier.deleteArtifacts( "org.apache.maven.its.mng4281" );
+        verifier.executeGoal( "validate" );
+        verifier.verifyErrorFreeLog();
+        verifier.resetStreams();
+
+        verifier.assertArtifactPresent( "org.apache.maven.its.mng4281", 
"dependency", "0.1-SNAPSHOT", "jar" );
+        verifier.assertArtifactPresent( "org.apache.maven.its.mng4281", 
"dependency", "0.1-SNAPSHOT", "pom" );
+
+        verifier = new Verifier( new File( testDir, "project" 
).getAbsolutePath() );
+        verifier.setAutoclean( false );
+        verifier.getCliOptions().add( "-s" );
+        verifier.getCliOptions().add( "settings.xml" );
+        verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", 
verifier.newDefaultFilterProperties() );
+        verifier.executeGoal( "validate" );
+        verifier.verifyErrorFreeLog();
+        verifier.resetStreams();
+
+        Properties checksums = verifier.loadProperties( 
"target/checksum.properties" );
+        assertChecksum( "7c564b3fbeda6db61b62c35e58a8ef672e712400", checksums 
);
+    }
+
+    private void assertChecksum( String checksum, Properties checksums )
+    {
+        String actual = checksums.getProperty( "dependency-0.1-SNAPSHOT.jar" );
+        assertEquals( checksum, actual.toLowerCase( java.util.Locale.ENGLISH ) 
);
+    }
+
+}

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4281PreferLocalSnapshotTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4281PreferLocalSnapshotTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/main.jar
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/main.jar?rev=800920&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/main.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/pom.xml?rev=800920&view=auto
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/pom.xml
 (added)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/pom.xml
 Tue Aug  4 19:04:04 2009
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  
+  <groupId>org.apache.maven.its.mng4281</groupId>
+  <artifactId>dependency</artifactId>
+  <!-- NOTE: It's essential part to use a snapshot version -->
+  <version>0.1-SNAPSHOT</version>
+
+  <name>Maven Integration Test :: MNG-4281 :: Dependency</name> 
+  <description>
+    Test that remote snapshots are not preferred over snapshots that have just 
been locally built.
+  </description>
+
+  <distributionManagement>
+    <repository>
+      <id>maven-core-it</id>
+      <url>file:///${basedir}/repo</url>
+    </repository>
+  </distributionManagement>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.its.plugins</groupId>
+        <artifactId>maven-it-plugin-artifact</artifactId>
+        <version>2.1-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <id>install</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>set</goal>
+              <goal>attach-pom</goal>
+              <goal>install</goal>
+            </goals>
+            <configuration>
+              <mainFile>main.jar</mainFile>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/dependency/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/pom.xml?rev=800920&view=auto
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/pom.xml
 (added)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/pom.xml
 Tue Aug  4 19:04:04 2009
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  
+  <groupId>org.apache.maven.its.mng4281</groupId>
+  <artifactId>test</artifactId>
+  <version>0.1-SNAPSHOT</version>
+
+  <name>Maven Integration Test :: MNG-4281 :: Project</name> 
+  <description>
+    Test that remote snapshots are not preferred over snapshots that have just 
been locally built.
+  </description>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven.its.mng4281</groupId>
+      <artifactId>dependency</artifactId>
+      <version>0.1-SNAPSHOT</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.its.plugins</groupId>
+        <artifactId>maven-it-plugin-dependency-resolution</artifactId>
+        <version>2.1-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <phase>validate</phase>
+            <goals>
+              <goal>compile</goal>
+            </goals>
+            <configuration>
+              
<compileClassPathChecksums>target/checksum.properties</compileClassPathChecksums>
+              <significantPathLevels>1</significantPathLevels>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/dependency-0.1-20090804.183632-1.jar
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/dependency-0.1-20090804.183632-1.jar?rev=800920&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/dependency-0.1-20090804.183632-1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/dependency-0.1-20090804.183632-1.pom
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/dependency-0.1-20090804.183632-1.pom?rev=800920&view=auto
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/dependency-0.1-20090804.183632-1.pom
 (added)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/dependency-0.1-20090804.183632-1.pom
 Tue Aug  4 19:04:04 2009
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  
+  <groupId>org.apache.maven.its.mng4281</groupId>
+  <artifactId>dependency</artifactId>
+  <!-- NOTE: It's essential part to use a snapshot version -->
+  <version>0.1-SNAPSHOT</version>
+
+  <name>Maven Integration Test :: MNG-4281 :: Dependency</name> 
+  <description>
+    Test that remote snapshots are not preferred over locally built snapshots.
+  </description>
+
+  <distributionManagement>
+    <repository>
+      <id>maven-core-it</id>
+      <url>file:///${basedir}/repo</url>
+    </repository>
+  </distributionManagement>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.its.plugins</groupId>
+        <artifactId>maven-it-plugin-artifact</artifactId>
+        <version>2.1-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <id>install</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>set</goal>
+              <goal>attach-pom</goal>
+              <goal>install</goal>
+            </goals>
+            <configuration>
+              <mainFile>main.jar</mainFile>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/maven-metadata.xml
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/maven-metadata.xml?rev=800920&view=auto
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/maven-metadata.xml
 (added)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/maven-metadata.xml
 Tue Aug  4 19:04:04 2009
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.apache.maven.its.mng4281</groupId>
+  <artifactId>dependency</artifactId>
+  <version>0.1-SNAPSHOT</version>
+  <versioning>
+    <snapshot>
+      <timestamp>20090804.183632</timestamp>
+      <buildNumber>1</buildNumber>
+    </snapshot>
+    <lastUpdated>20090804183632</lastUpdated>
+  </versioning>
+</metadata>

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/maven-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/0.1-SNAPSHOT/maven-metadata.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/maven-metadata.xml
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/maven-metadata.xml?rev=800920&view=auto
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/maven-metadata.xml
 (added)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/maven-metadata.xml
 Tue Aug  4 19:04:04 2009
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.apache.maven.its.mng4281</groupId>
+  <artifactId>dependency</artifactId>
+  <version>0.1-SNAPSHOT</version>
+  <versioning>
+    <versions>
+      <version>0.1-SNAPSHOT</version>
+    </versions>
+    <lastUpdated>20090804183632</lastUpdated>
+  </versioning>
+</metadata>

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/maven-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/repo/org/apache/maven/its/mng4281/dependency/maven-metadata.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/settings-template.xml
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/settings-template.xml?rev=800920&view=auto
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/settings-template.xml
 (added)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/settings-template.xml
 Tue Aug  4 19:04:04 2009
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<settings>
+  <profiles>
+    <profile>
+      <id>maven-core-it-repo</id>
+      <repositories>
+        <repository>
+          <id>maven-core-it</id>
+          <url>@baseurl@/repo</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+            <checksumPolicy>ignore</checksumPolicy>
+            <updatePolicy>always</updatePolicy>
+          </snapshots>
+        </repository>
+      </repositories>
+    </profile>
+  </profiles>
+  <activeProfiles>
+    <activeProfile>maven-core-it-repo</activeProfile>
+  </activeProfiles>
+</settings>

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/settings-template.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4281/project/settings-template.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision


Reply via email to