Author: bentmann Date: Tue Jun 9 19:38:26 2009 New Revision: 783105 URL: http://svn.apache.org/viewvc?rev=783105&view=rev Log: [MNG-4193] Throw validation error upon multiple repository declarations with the same id
o Added IT Added: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4193UniqueRepoIdTest.java (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/build/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/build/pom.xml (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/pom.xml (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/a-0.1.jar (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/a-0.1.pom maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/maven-metadata.xml (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/b-0.1.jar (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/b-0.1.pom maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/maven-metadata.xml (with props) maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/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=783105&r1=783104&r2=783105&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 Jun 9 19:38:26 2009 @@ -91,6 +91,7 @@ // suite.addTestSuite( MavenIT0109ReleaseUpdateTest.class ); // suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); -- MNG-3137 + suite.addTestSuite( MavenITmng4193UniqueRepoIdTest.class ); suite.addTestSuite( MavenITmng4180PerDependencyExclusionsTest.class ); suite.addTestSuite( MavenITmng4172EmptyDependencySetTest.class ); suite.addTestSuite( MavenITmng4150VersionRangeTest.class ); Added: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4193UniqueRepoIdTest.java URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4193UniqueRepoIdTest.java?rev=783105&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4193UniqueRepoIdTest.java (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4193UniqueRepoIdTest.java Tue Jun 9 19:38:26 2009 @@ -0,0 +1,100 @@ +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.ArrayList; +import java.util.Collections; +import java.util.List; + +/** + * This is a test set for <a href="http://jira.codehaus.org/browse/MNG-4193">MNG-4193</a>. + * + * @author Benjamin Bentmann + */ +public class MavenITmng4193UniqueRepoIdTest + extends AbstractMavenIntegrationTestCase +{ + + public MavenITmng4193UniqueRepoIdTest() + { + super( "[3.0-alpha-3,)" ); + } + + /** + * Test that duplicate repository id cause a validation error during building. + */ + public void testitProjectBuild() + throws Exception + { + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-4193/build" ); + + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); + verifier.setAutoclean( false ); + verifier.deleteDirectory( "target" ); + try + { + verifier.executeGoal( "validate" ); + verifier.verifyErrorFreeLog(); + fail( "Duplicate repository ids did not cause validation error" ); + } + catch ( VerificationException e ) + { + // expected + } + finally + { + verifier.resetStreams(); + } + } + + /** + * Test that duplicate repository id don't cause a validation error during metadata retrieval. + */ + public void testitMetadataRetrieval() + throws Exception + { + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-4193/metadata" ); + + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); + verifier.setAutoclean( false ); + verifier.deleteDirectory( "target" ); + verifier.deleteArtifacts( "org.apache.maven.its.mng4193" ); + verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties() ); + verifier.getCliOptions().add( "-s" ); + verifier.getCliOptions().add( "settings.xml" ); + verifier.executeGoal( "validate" ); + verifier.verifyErrorFreeLog(); + verifier.resetStreams(); + + List artifacts = verifier.loadLines( "target/artifacts.txt", "UTF-8" ); + Collections.sort( artifacts ); + + List expected = new ArrayList(); + expected.add( "org.apache.maven.its.mng4193:a:jar:0.1" ); + expected.add( "org.apache.maven.its.mng4193:b:jar:0.1" ); + + assertEquals( expected, artifacts ); + } + +} Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4193UniqueRepoIdTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4193UniqueRepoIdTest.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/build/pom.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/build/pom.xml?rev=783105&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/build/pom.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/build/pom.xml Tue Jun 9 19:38:26 2009 @@ -0,0 +1,46 @@ +<?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.mng4193</groupId> + <artifactId>test</artifactId> + <version>0.1</version> + <packaging>jar</packaging> + + <name>Maven Integration Test :: MNG-4193</name> + <description> + Test that duplicate repository ids cause a validation error during building. + </description> + + <repositories> + <!-- The duplicate repository id should cause a validation error during a build --> + <repository> + <id>non-unique-id</id> + <url>http://repo1.maven.org</url> + </repository> + <repository> + <id>non-unique-id</id> + <url>http://repo2.maven.org</url> + </repository> + </repositories> +</project> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/build/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/build/pom.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/pom.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/pom.xml?rev=783105&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/pom.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/pom.xml Tue Jun 9 19:38:26 2009 @@ -0,0 +1,64 @@ +<?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.mng4193</groupId> + <artifactId>test</artifactId> + <version>0.1</version> + + <name>Maven Integration Test :: MNG-4193</name> + <description> + Test that duplicate repository ids do not cause a validation error during metadata retrieval. + </description> + + <dependencies> + <dependency> + <!-- The POM of this dependency is invalid, yet its transitive dependencies should be resolved, too --> + <groupId>org.apache.maven.its.mng4193</groupId> + <artifactId>b</artifactId> + <version>0.1</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> + <id>test</id> + <phase>validate</phase> + <configuration> + <projectArtifacts>target/artifacts.txt</projectArtifacts> + </configuration> + <goals> + <goal>test</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/pom.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/a-0.1.jar URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/a-0.1.jar?rev=783105&view=auto ============================================================================== Binary file - no diff available. Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/a-0.1.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/a-0.1.pom URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/a-0.1.pom?rev=783105&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/a-0.1.pom (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/0.1/a-0.1.pom Tue Jun 9 19:38:26 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.mng4193</groupId> + <artifactId>a</artifactId> + <version>0.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-4193/metadata/repo/org/apache/maven/its/mng4193/a/maven-metadata.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/maven-metadata.xml?rev=783105&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/maven-metadata.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/maven-metadata.xml Tue Jun 9 19:38:26 2009 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <groupId>org.apache.maven.its.mng4193</groupId> + <artifactId>a</artifactId> + <version>0.1</version> + <versioning> + <versions> + <version>0.1</version> + </versions> + <lastUpdated>20090609185317</lastUpdated> + </versioning> +</metadata> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/maven-metadata.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/a/maven-metadata.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/b-0.1.jar URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/b-0.1.jar?rev=783105&view=auto ============================================================================== Binary file - no diff available. Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/b-0.1.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/b-0.1.pom URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/b-0.1.pom?rev=783105&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/b-0.1.pom (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/0.1/b-0.1.pom Tue Jun 9 19:38:26 2009 @@ -0,0 +1,57 @@ +<?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.mng4193</groupId> + <artifactId>b</artifactId> + <version>0.1</version> + <packaging>jar</packaging> + + <distributionManagement> + <repository> + <id>maven-core-it</id> + <url>file:///${basedir}/repo</url> + </repository> + </distributionManagement> + + <repositories> + <!-- The duplicate repository id should not cause a validation error during metadata retrieval --> + <repository> + <id>non-unique-id</id> + <url>http://repo1.maven.org</url> + </repository> + <repository> + <id>non-unique-id</id> + <url>http://repo2.maven.org</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <!-- if the model builder rejected this POM, the test will miss this dependency --> + <groupId>org.apache.maven.its.mng4193</groupId> + <artifactId>a</artifactId> + <version>0.1</version> + </dependency> + </dependencies> +</project> Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/maven-metadata.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/maven-metadata.xml?rev=783105&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/maven-metadata.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/maven-metadata.xml Tue Jun 9 19:38:26 2009 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <groupId>org.apache.maven.its.mng4193</groupId> + <artifactId>b</artifactId> + <version>0.1</version> + <versioning> + <versions> + <version>0.1</version> + </versions> + <lastUpdated>20090609190600</lastUpdated> + </versioning> +</metadata> Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/maven-metadata.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/repo/org/apache/maven/its/mng4193/b/maven-metadata.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/settings-template.xml URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/settings-template.xml?rev=783105&view=auto ============================================================================== --- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/settings-template.xml (added) +++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/settings-template.xml Tue Jun 9 19:38:26 2009 @@ -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-4193/metadata/settings-template.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4193/metadata/settings-template.xml ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision