maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r807135 - in /maven/core-integration-testing/trunk/core-it-suite/src/test: java/org/apache/maven/it/ resources/mng-4317/ resources/mng-4317/repo-1/ resources/mng-4317/repo-1/org/ resources/mng-4317/repo-1/org/apache/ resources/mng-4317/repo...
Date Mon, 24 Aug 2009 09:14:07 GMT
Author: bentmann
Date: Mon Aug 24 09:14:06 2009
New Revision: 807135

URL: http://svn.apache.org/viewvc?rev=807135&view=rev
Log:
[MNG-4317] [regression] g:a level metadata is not properly processed when resolving plugin
version

o Added IT

Added:
    maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4317PluginVersionResolutionFromMultiReposTest.java
  (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/pom.xml
  (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/mng4317/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/mng4317/maven-mng4317-plugin/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
  (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/maven-mng4317-plugin-0.2.jar
  (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/maven-mng4317-plugin-0.2.pom
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
  (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/mng4317/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/mng4317/maven-mng4317-plugin/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
  (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/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=807135&r1=807134&r2=807135&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
Mon Aug 24 09:14:06 2009
@@ -86,6 +86,7 @@
         // suite.addTestSuite( MavenIT0109ReleaseUpdateTest.class );
         // suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); -- MNG-3137
 
+        suite.addTestSuite( MavenITmng4317PluginVersionResolutionFromMultiReposTest.class
);
         suite.addTestSuite( MavenITmng4314DirectInvocationOfAggregatorTest.class );
         suite.addTestSuite( MavenITmng4312TypeAwarePluginParameterExpressionInjectionTest.class
);
         suite.addTestSuite( MavenITmng4305LocalRepoBasedirTest.class );

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4317PluginVersionResolutionFromMultiReposTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4317PluginVersionResolutionFromMultiReposTest.java?rev=807135&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4317PluginVersionResolutionFromMultiReposTest.java
(added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4317PluginVersionResolutionFromMultiReposTest.java
Mon Aug 24 09:14:06 2009
@@ -0,0 +1,64 @@
+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;
+
+/**
+ * This is a test set for <a href="http://jira.codehaus.org/browse/MNG-4317">MNG-4317</a>.
+ * 
+ * @author Benjamin Bentmann
+ */
+public class MavenITmng4317PluginVersionResolutionFromMultiReposTest
+    extends AbstractMavenIntegrationTestCase
+{
+
+    public MavenITmng4317PluginVersionResolutionFromMultiReposTest()
+    {
+        super( ALL_MAVEN_VERSIONS );
+    }
+
+    /**
+     * Verify that the g:a level metadata files from different repositories are properly
merged when trying to resolve
+     * a version for some plugin that was invoked with g:a:goal.
+     */
+    public void testit()
+        throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-4317"
);
+
+        Verifier verifier = new Verifier( testDir.getAbsolutePath() );
+        verifier.setAutoclean( false );
+        verifier.deleteDirectory( "target" );
+        verifier.deleteArtifacts( "org.apache.maven.its.mng4317" );
+        verifier.getCliOptions().add( "-s" );
+        verifier.getCliOptions().add( "settings.xml" );
+        verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties()
);
+        verifier.executeGoal( "org.apache.maven.its.mng4317:maven-mng4317-plugin:touch" );
+        verifier.verifyErrorFreeLog();
+        verifier.resetStreams();
+
+        verifier.assertFilePresent( "target/touch.txt" );
+    }
+
+}

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

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

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/pom.xml?rev=807135&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/pom.xml
(added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/pom.xml
Mon Aug 24 09:14:06 2009
@@ -0,0 +1,35 @@
+<?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.mng4317</groupId>
+  <artifactId>test</artifactId>
+  <version>0.1</version>
+  <packaging>pom</packaging>
+
+  <name>Maven Integration Test :: MNG-4317</name>
+  <description>
+    Verify that the g:a level metadata files from different repositories are properly merged
when trying to resolve
+    a version for some plugin that was invoked with g:a:goal.
+  </description>
+</project>

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

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

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml?rev=807135&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
(added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
Mon Aug 24 09:14:06 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.apache.maven.its.mng4317</groupId>
+  <artifactId>maven-mng4317-plugin</artifactId>
+  <version>0.1</version>
+  <versioning>
+    <latest>0.1</latest>
+    <release>0.1</release>
+    <versions>
+      <version>0.1</version>
+    </versions>
+    <lastUpdated>20090823084140</lastUpdated>
+  </versioning>
+</metadata>

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-1/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/maven-mng4317-plugin-0.2.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/maven-mng4317-plugin-0.2.jar?rev=807135&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/maven-mng4317-plugin-0.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/maven-mng4317-plugin-0.2.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/maven-mng4317-plugin-0.2.pom?rev=807135&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/maven-mng4317-plugin-0.2.pom
(added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/0.2/maven-mng4317-plugin-0.2.pom
Mon Aug 24 09:14:06 2009
@@ -0,0 +1,69 @@
+<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.its.mng4317</groupId>
+  <artifactId>maven-mng4317-plugin</artifactId>
+  <version>0.2</version>
+  <packaging>maven-plugin</packaging>
+
+  <name>Maven Integration Test Plugin :: Touch</name>
+  <description>
+    A test plugin that creates an empty file.
+  </description>
+  <inceptionYear>2009</inceptionYear>
+
+  <distributionManagement>
+    <repository>
+      <id>maven-core-it</id>
+      <url>file:///${basedir}/repo</url>
+    </repository>
+  </distributionManagement>
+
+  <properties>
+    <maven.test.skip>true</maven.test.skip>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+      <version>2.0</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <resources>
+      <resource>
+        <directory>.</directory>
+        <includes>
+          <include>pom.xml</include>
+          <include>src/**</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>src/main/resources</directory>
+      </resource>
+    </resources>
+  </build>
+</project>

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml?rev=807135&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
(added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
Mon Aug 24 09:14:06 2009
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.apache.maven.its.mng4317</groupId>
+  <artifactId>maven-mng4317-plugin</artifactId>
+  <version>0.1</version>
+  <versioning>
+    <latest>0.2</latest>
+    <release>0.2</release>
+    <versions>
+      <version>0.1</version>
+      <version>0.2</version>
+    </versions>
+    <lastUpdated>20090824084140</lastUpdated>
+  </versioning>
+</metadata>

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-2/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml?rev=807135&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
(added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
Mon Aug 24 09:14:06 2009
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.apache.maven.its.mng4317</groupId>
+  <artifactId>maven-mng4317-plugin</artifactId>
+</metadata>

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/repo-3/org/apache/maven/its/mng4317/maven-mng4317-plugin/maven-metadata.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/settings-template.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/settings-template.xml?rev=807135&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/settings-template.xml
(added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4317/settings-template.xml
Mon Aug 24 09:14:06 2009
@@ -0,0 +1,108 @@
+<?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>
+  <mirrors>
+    <mirror>
+      <id>central-blocker</id>
+      <mirrorOf>central</mirrorOf>
+      <url>@baseurl@/void</url>
+    </mirror>
+  </mirrors>
+  <profiles>
+    <profile>
+      <id>maven-core-it-repo</id>
+      <repositories>
+        <repository>
+          <!-- repository with outdated metadata -->
+          <id>maven-core-it-1</id>
+          <url>@baseurl@/repo-1</url>
+          <releases>
+            <checksumPolicy>ignore</checksumPolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </repository>
+        <repository>
+          <!-- repository with recent metadata -->
+          <id>maven-core-it-2</id>
+          <url>@baseurl@/repo-2</url>
+          <releases>
+            <checksumPolicy>ignore</checksumPolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </repository>
+        <repository>
+          <!-- repository with existing but almost empty metadata -->
+          <id>maven-core-it-3</id>
+          <url>@baseurl@/repo-3</url>
+          <releases>
+            <checksumPolicy>ignore</checksumPolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <!-- repository with outdated metadata -->
+          <id>maven-core-it-1</id>
+          <url>@baseurl@/repo-1</url>
+          <releases>
+            <checksumPolicy>ignore</checksumPolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </pluginRepository>
+        <pluginRepository>
+          <!-- repository with recent metadata -->
+          <id>maven-core-it-2</id>
+          <url>@baseurl@/repo-2</url>
+          <releases>
+            <checksumPolicy>ignore</checksumPolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </pluginRepository>
+        <pluginRepository>
+          <!-- repository with existing but almost empty metadata -->
+          <id>maven-core-it-3</id>
+          <url>@baseurl@/repo-3</url>
+          <releases>
+            <checksumPolicy>ignore</checksumPolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+  </profiles>
+  <activeProfiles>
+    <activeProfile>maven-core-it-repo</activeProfile>
+  </activeProfiles>
+</settings>

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

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



Mime
View raw message