Author: bentmann
Date: Tue Nov 9 14:00:58 2010
New Revision: 1032984
URL: http://svn.apache.org/viewvc?rev=1032984&view=rev
Log:
[MNG-4883] [regression] Dependency resolution does not fail for artifact with
over-constrained version ranges
o Added IT
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4883FailUponOverconstrainedVersionRangesTest.java
(with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/pom.xml
(with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/a-1.0.jar
(with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/a-1.0.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.1/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.1/a-1.1.jar
(with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.1/a-1.1.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/maven-metadata.xml
(with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/b-1.0.jar
(with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/b-1.0.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/1.0/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/1.0/c-1.0.jar
(with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/1.0/c-1.0.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/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=1032984&r1=1032983&r2=1032984&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 Nov 9 14:00:58 2010
@@ -84,6 +84,7 @@ public class IntegrationTestSuite
// suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); --
MNG-3137
suite.addTestSuite( MavenITmng4891RobustSnapshotResolutionTest.class );
+ //suite.addTestSuite(
MavenITmng4883FailUponOverconstrainedVersionRangesTest.class );
suite.addTestSuite( MavenITmng4877DeployUsingPrivateKeyTest.class );
suite.addTestSuite( MavenITmng4874UpdateLatestPluginVersionTest.class
);
suite.addTestSuite(
MavenITmng4872ReactorResolutionAttachedWithExclusionsTest.class );
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4883FailUponOverconstrainedVersionRangesTest.java
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4883FailUponOverconstrainedVersionRangesTest.java?rev=1032984&view=auto
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4883FailUponOverconstrainedVersionRangesTest.java
(added)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4883FailUponOverconstrainedVersionRangesTest.java
Tue Nov 9 14:00:58 2010
@@ -0,0 +1,72 @@
+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-4883">MNG-4883</a>.
+ *
+ * @author Benjamin Bentmann
+ */
+public class MavenITmng4883FailUponOverconstrainedVersionRangesTest
+ extends AbstractMavenIntegrationTestCase
+{
+
+ public MavenITmng4883FailUponOverconstrainedVersionRangesTest()
+ {
+ super( "[2.0.3,3.0-alpha-1),[3.0.1,)" );
+ }
+
+ /**
+ * Verify that dependency resolution fails if version ranges with an empty
intersection are encountered.
+ */
+ public void testit()
+ throws Exception
+ {
+ File testDir = ResourceExtractor.simpleExtractResources( getClass(),
"/mng-4883" );
+
+ Verifier verifier = newVerifier( testDir.getAbsolutePath() );
+ verifier.setAutoclean( false );
+ verifier.deleteDirectory( "target" );
+ verifier.deleteArtifacts( "org.apache.maven.its.mng4883" );
+ verifier.getCliOptions().add( "-s" );
+ verifier.getCliOptions().add( "settings.xml" );
+ verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8",
verifier.newDefaultFilterProperties() );
+ try
+ {
+ verifier.executeGoal( "validate" );
+ verifier.verifyErrorFreeLog();
+ fail( "Build did not fail despite over constrained version ranges"
);
+ }
+ catch ( Exception e )
+ {
+ // expected, unsolvable version conflict
+ }
+ finally
+ {
+ verifier.resetStreams();
+ }
+ }
+
+}
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4883FailUponOverconstrainedVersionRangesTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4883FailUponOverconstrainedVersionRangesTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/pom.xml
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/pom.xml?rev=1032984&view=auto
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/pom.xml
(added)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/pom.xml
Tue Nov 9 14:00:58 2010
@@ -0,0 +1,72 @@
+<?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.mng4883</groupId>
+ <artifactId>test</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <name>Maven Integration Test :: MNG-4883</name>
+ <description>
+ Verify that dependency resolution fails if version ranges with an empty
intersection are encountered.
+ </description>
+
+ <dependencies>
+ <dependency>
+ <!-- depends on a:[1.0] -->
+ <groupId>org.apache.maven.its.mng4883</groupId>
+ <artifactId>b</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <!-- depends on a:[1.1] -->
+ <groupId>org.apache.maven.its.mng4883</groupId>
+ <artifactId>c</artifactId>
+ <version>1.0</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>
+ <configuration>
+ <compileClassPath>target/compile.txt</compileClassPath>
+ <significantPathLevels>1</significantPathLevels>
+ </configuration>
+ <executions>
+ <execution>
+ <id>resolve</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/pom.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/a-1.0.jar
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/a-1.0.jar?rev=1032984&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/a-1.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/a-1.0.pom
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/a-1.0.pom?rev=1032984&view=auto
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/a-1.0.pom
(added)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.0/a-1.0.pom
Tue Nov 9 14:00:58 2010
@@ -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.mng4883</groupId>
+ <artifactId>a</artifactId>
+ <version>1.0</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-4883/repo/org/apache/maven/its/mng4883/a/1.1/a-1.1.jar
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.1/a-1.1.jar?rev=1032984&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.1/a-1.1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.1/a-1.1.pom
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.1/a-1.1.pom?rev=1032984&view=auto
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.1/a-1.1.pom
(added)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/1.1/a-1.1.pom
Tue Nov 9 14:00:58 2010
@@ -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.mng4883</groupId>
+ <artifactId>a</artifactId>
+ <version>1.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-4883/repo/org/apache/maven/its/mng4883/a/maven-metadata.xml
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/maven-metadata.xml?rev=1032984&view=auto
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/maven-metadata.xml
(added)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/maven-metadata.xml
Tue Nov 9 14:00:58 2010
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+ <groupId>org.apache.maven.its.mng4883</groupId>
+ <artifactId>a</artifactId>
+ <version>1.0</version>
+ <versioning>
+ <versions>
+ <version>1.0</version>
+ <version>1.1</version>
+ </versions>
+ <lastUpdated>20101109133745</lastUpdated>
+ </versioning>
+</metadata>
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/maven-metadata.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/a/maven-metadata.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/b-1.0.jar
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/b-1.0.jar?rev=1032984&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/b-1.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/b-1.0.pom
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/b-1.0.pom?rev=1032984&view=auto
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/b-1.0.pom
(added)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/b/1.0/b-1.0.pom
Tue Nov 9 14:00:58 2010
@@ -0,0 +1,44 @@
+<?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.mng4883</groupId>
+ <artifactId>b</artifactId>
+ <version>1.0</version>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.its.mng4883</groupId>
+ <artifactId>a</artifactId>
+ <version>[1.0]</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-4883/repo/org/apache/maven/its/mng4883/c/1.0/c-1.0.jar
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/1.0/c-1.0.jar?rev=1032984&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/1.0/c-1.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/1.0/c-1.0.pom
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/1.0/c-1.0.pom?rev=1032984&view=auto
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/1.0/c-1.0.pom
(added)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/repo/org/apache/maven/its/mng4883/c/1.0/c-1.0.pom
Tue Nov 9 14:00:58 2010
@@ -0,0 +1,44 @@
+<?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.mng4883</groupId>
+ <artifactId>c</artifactId>
+ <version>1.0</version>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.its.mng4883</groupId>
+ <artifactId>a</artifactId>
+ <version>[1.1]</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-4883/settings-template.xml
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/settings-template.xml?rev=1032984&view=auto
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/settings-template.xml
(added)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/settings-template.xml
Tue Nov 9 14:00:58 2010
@@ -0,0 +1,43 @@
+<?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>
+ <checksumPolicy>ignore</checksumPolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </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-4883/settings-template.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4883/settings-template.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision