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 2009/02/28 19:53:28 UTC

svn commit: r748903 - in /maven/core-integration-testing/trunk/core-it-suite/src/test: java/org/apache/maven/it/ resources/mng-2123/ resources/mng-2123/artifact-combined/ resources/mng-2123/artifact-fix/ resources/mng-2123/artifact-range/ resources/mng...

Author: bentmann
Date: Sat Feb 28 18:53:27 2009
New Revision: 748903

URL: http://svn.apache.org/viewvc?rev=748903&view=rev
Log:
o Decoupled IT from production plugins/dependencies

Added:
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/common-3.1.jar   (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/common-3.1.pom
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/common-3.2.jar   (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/common-3.2.pom
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/maven-metadata.xml   (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/fixed-0.1.jar   (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/fixed-0.1.pom
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/maven-metadata.xml   (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/range-0.1.jar   (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/range-0.1.pom
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/maven-metadata.xml   (with props)
Removed:
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/artifact-combined/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/artifact-fix/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/artifact-range/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/readme.txt
Modified:
    maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2123VersionRangeDependencyTest.java
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/pom.xml

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2123VersionRangeDependencyTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2123VersionRangeDependencyTest.java?rev=748903&r1=748902&r2=748903&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2123VersionRangeDependencyTest.java (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2123VersionRangeDependencyTest.java Sat Feb 28 18:53:27 2009
@@ -20,13 +20,14 @@
  */
 
 import java.io.File;
-import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.maven.it.Verifier;
 import org.apache.maven.it.util.ResourceExtractor;
 
-
+/**
+ * This is a test set for <a href="http://jira.codehaus.org/browse/MNG-2123">MNG-2123</a>.
+ */
 public class MavenITmng2123VersionRangeDependencyTest
     extends AbstractMavenIntegrationTestCase
 {
@@ -36,85 +37,23 @@
         super( "(2.0.8,)" );
     }
     
-    public void testitMNG2123 ()
+    public void testitMNG2123()
         throws Exception
     {
-       
-
-        // The testdir is computed from the location of this
-        // file.
         File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2123" );
 
-        Verifier verifier;
-
-        /*
-         * We must first make sure that any artifact created
-         * by this test has been removed from the local
-         * repository. Failing to do this could cause
-         * unstable test results. Fortunately, the verifier
-         * makes it easy to do this.
-         */
-        verifier = new Verifier( testDir.getAbsolutePath() );
-        verifier.deleteArtifact( "org.apache.maven.its.mng2123", "parent", "1.0", "pom" );
-        verifier.deleteArtifact( "org.apache.maven.its.mng2123", "artifact-combined", "1.0", "jar" );
-        verifier.deleteArtifact( "org.apache.maven.its.mng2123", "artifact-fix", "1.0", "jar" );
-        verifier.deleteArtifact( "org.apache.maven.its.mng2123", "artifact-range", "1.0", "jar" );
-
-        /*
-         * The Command Line Options (CLI) are passed to the
-         * verifier as a list. This is handy for things like
-         * redefining the local repository if needed. In
-         * this case, we use the -N flag so that Maven won't
-         * recurse. We are only installing the parent pom to
-         * the local repo here.
-         */
-        List cliOptions = new ArrayList();
-        cliOptions.add( "-N" );
-        verifier.executeGoal( "install" );
-
-        /*
-         * This is the simplest way to check a build
-         * succeeded. It is also the simplest way to create
-         * an IT test: make the build pass when the test
-         * should pass, and make the build fail when the
-         * test should fail. There are other methods
-         * supported by the verifier. They can be seen here:
-         * http://maven.apache.org/shared/maven-verifier/apidocs/index.html
-         */
-        verifier.verifyErrorFreeLog();
-
-        /*
-         * Reset the streams before executing the verifier
-         * again.
-         */
-        verifier.resetStreams();
-
-        /*
-         * Build the artifact with a fix version of commons-collections
-         */
-        verifier = new Verifier( new File( testDir.getAbsolutePath(), "artifact-fix" ).getAbsolutePath() );
-        verifier.executeGoal( "install" );
-        verifier.verifyErrorFreeLog();
-        verifier.resetStreams();
-
-        /*
-         * Build the artifact with a version range of commons-collections
-         */
-        verifier = new Verifier( new File( testDir.getAbsolutePath(), "artifact-range" ).getAbsolutePath() );
-        verifier.executeGoal( "install" );
-        verifier.verifyErrorFreeLog();
-        verifier.resetStreams();
-        
-        /*
-         * Now we are running the actual test. 
-         * This particular test will attempt to build the
-         * artifact that uses the artifacts above.
-         * On any version >= 2.0.9 it should work
-         */
-        verifier = new Verifier( new File( testDir.getAbsolutePath(), "artifact-combined" ).getAbsolutePath() );
-        verifier.executeGoal( "install" );
+        Verifier verifier = new Verifier( testDir.getAbsolutePath() );
+        verifier.setAutoclean( false );
+        verifier.deleteDirectory( "target" );
+        verifier.deleteArtifacts( "org.apache.maven.its.mng2123" );
+        verifier.executeGoal( "validate" );
         verifier.verifyErrorFreeLog();
         verifier.resetStreams();
 
+        List artifacts = verifier.loadLines( "target/artifacts.txt", "UTF-8" );
+        assertTrue( artifacts.toString(), artifacts.contains( "org.apache.maven.its.mng2123:fixed:jar:0.1" ) );
+        assertTrue( artifacts.toString(), artifacts.contains( "org.apache.maven.its.mng2123:common:jar:3.1" ) );
+        assertTrue( artifacts.toString(), artifacts.contains( "org.apache.maven.its.mng2123:range:jar:0.1" ) );
     }
+
 }

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/pom.xml?rev=748903&r1=748902&r2=748903&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/pom.xml Sat Feb 28 18:53:27 2009
@@ -1,14 +1,88 @@
-<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">
+<?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.mng2123</groupId>
-  <artifactId>parent</artifactId>
-  <packaging>pom</packaging>
-  <version>1</version>
-  <name>Checkstyle</name>
-  <!--
-  <modules>
-    <module>checkstyle-assembly</module>
-    <module>checkstyle-test</module>
-  </modules>
-  -->
+  <artifactId>test</artifactId>
+  <version>0.1-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <name>Maven Integration Test :: MNG-2123</name> 
+  <description>
+    Verify that conflicts between a soft version and a version range are properly resolved.
+  </description>
+
+  <dependencies>
+    <!--
+    NOTE: The order of dependencies is crucial for this test, i.e. the dependency using the fixed version on common
+    must be first!
+    -->
+    <dependency>
+      <!-- depends on common:3.2 -->
+      <groupId>org.apache.maven.its.mng2123</groupId>
+      <artifactId>fixed</artifactId>
+      <version>0.1</version>
+    </dependency>
+    <dependency>
+      <!-- depends on common:[2.0,3.1.99] which does not include the version suggested by fixed:0.1 -->
+      <groupId>org.apache.maven.its.mng2123</groupId>
+      <artifactId>range</artifactId>
+      <version>0.1</version>
+    </dependency>
+  </dependencies>
+
+  <repositories>
+    <repository>
+      <id>maven-core-it</id>
+      <url>file:///${basedir}/repo</url>
+      <releases>
+        <checksumPolicy>ignore</checksumPolicy>
+      </releases>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.its.plugins</groupId>
+        <artifactId>maven-it-plugin-dependency-resolution</artifactId>
+        <version>2.1-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <id>test</id>
+            <phase>validate</phase>
+            <configuration>
+              <compileArtifacts>target/artifacts.txt</compileArtifacts>
+            </configuration>
+            <goals>
+              <goal>compile</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/common-3.1.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/common-3.1.jar?rev=748903&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/common-3.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/common-3.1.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/common-3.1.pom?rev=748903&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/common-3.1.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.1/common-3.1.pom Sat Feb 28 18:53:27 2009
@@ -0,0 +1,36 @@
+<?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.mng2123</groupId>
+  <artifactId>common</artifactId>
+  <version>3.1</version>
+  <packaging>jar</packaging>
+
+  <distributionManagement>
+    <repository>
+      <id>maven-core-it</id>
+      <url>file:///${basedir}/repo</url>
+    </repository>
+  </distributionManagement>
+</project>

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/common-3.2.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/common-3.2.jar?rev=748903&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/common-3.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/common-3.2.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/common-3.2.pom?rev=748903&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/common-3.2.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/3.2/common-3.2.pom Sat Feb 28 18:53:27 2009
@@ -0,0 +1,36 @@
+<?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.mng2123</groupId>
+  <artifactId>common</artifactId>
+  <version>3.2</version>
+  <packaging>jar</packaging>
+
+  <distributionManagement>
+    <repository>
+      <id>maven-core-it</id>
+      <url>file:///${basedir}/repo</url>
+    </repository>
+  </distributionManagement>
+</project>

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/maven-metadata.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/maven-metadata.xml?rev=748903&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/maven-metadata.xml (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/maven-metadata.xml Sat Feb 28 18:53:27 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.apache.maven.its.mng2123</groupId>
+  <artifactId>common</artifactId>
+  <version>3.1</version>
+  <versioning>
+    <release>3.2</release>
+    <versions>
+      <version>3.1</version>
+      <version>3.2</version>
+    </versions>
+    <lastUpdated>20090228182807</lastUpdated>
+  </versioning>
+</metadata>

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/common/maven-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/fixed-0.1.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/fixed-0.1.jar?rev=748903&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/fixed-0.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/fixed-0.1.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/fixed-0.1.pom?rev=748903&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/fixed-0.1.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/0.1/fixed-0.1.pom Sat Feb 28 18:53:27 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.
+-->
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.its.mng2123</groupId>
+  <artifactId>fixed</artifactId>
+  <version>0.1</version>
+  <packaging>jar</packaging>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven.its.mng2123</groupId>
+      <artifactId>common</artifactId>
+      <!-- NOTE: Here we use a fixed (but soft) version -->
+      <version>3.2</version>
+    </dependency>
+  </dependencies>
+
+  <distributionManagement>
+    <repository>
+      <id>maven-core-it</id>
+      <url>file:///${basedir}/repo</url>
+    </repository>
+  </distributionManagement>
+</project>

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/maven-metadata.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/maven-metadata.xml?rev=748903&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/maven-metadata.xml (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/maven-metadata.xml Sat Feb 28 18:53:27 2009
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.apache.maven.its.mng2123</groupId>
+  <artifactId>fixed</artifactId>
+  <version>0.1</version>
+  <versioning>
+    <release>0.1</release>
+    <versions>
+      <version>0.1</version>
+    </versions>
+    <lastUpdated>20090228183030</lastUpdated>
+  </versioning>
+</metadata>

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/fixed/maven-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/range-0.1.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/range-0.1.jar?rev=748903&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/range-0.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/range-0.1.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/range-0.1.pom?rev=748903&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/range-0.1.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/0.1/range-0.1.pom Sat Feb 28 18:53:27 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.
+-->
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.its.mng2123</groupId>
+  <artifactId>range</artifactId>
+  <version>0.1</version>
+  <packaging>jar</packaging>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven.its.mng2123</groupId>
+      <artifactId>common</artifactId>
+      <!-- NOTE: Here we use a (hard) version range -->
+      <version>[2.0,3.1.99]</version>
+    </dependency>
+  </dependencies>
+
+  <distributionManagement>
+    <repository>
+      <id>maven-core-it</id>
+      <url>file:///${basedir}/repo</url>
+    </repository>
+  </distributionManagement>
+</project>

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/maven-metadata.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/maven-metadata.xml?rev=748903&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/maven-metadata.xml (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/maven-metadata.xml Sat Feb 28 18:53:27 2009
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.apache.maven.its.mng2123</groupId>
+  <artifactId>range</artifactId>
+  <version>0.1</version>
+  <versioning>
+    <release>0.1</release>
+    <versions>
+      <version>0.1</version>
+    </versions>
+    <lastUpdated>20090228183131</lastUpdated>
+  </versioning>
+</metadata>

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-2123/repo/org/apache/maven/its/mng2123/range/maven-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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