You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Stephen Connolly <st...@gmail.com> on 2009/12/11 09:38:46 UTC

Re: svn commit: r889458 - in /maven/core-integration-testing/trunk/core-it-suite/src/test: java/org/apache/maven/it/ resources/mng-4489/ resources/mng-4489/repo-a/ resources/mng-4489/repo-a/org/ resources/mng-4489/repo-a/org/apache/ resources/mng-448

Thank you for fixing that.

I'd found the bug but had been too busy to raise a JIRA for it. When can I
expect an alpha release with this fix?

It's a healthy boy... both boy and mum are doing fine!

-Stephen

2009/12/10 <be...@apache.org>

> Author: bentmann
> Date: Thu Dec 10 23:04:34 2009
> New Revision: 889458
>
> URL: http://svn.apache.org/viewvc?rev=889458&view=rev
> Log:
> [MNG-4489] [regression] Mirror/proxy/auth does not apply to repositories
> discovered in POMs of build extensions
>
> o Added IT
>
> Added:
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4489MirroringOfExtensionRepoTest.java
>   (with props)
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/pom.xml
>   (with props)
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/ext-0.1.jar
>   (with props)
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/ext-0.1.pom
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/maven-metadata.xml
>   (with props)
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/maven-metadata.xml
>   (with props)
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/ext-dep-0.1.jar
>   (with props)
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/ext-dep-0.1.pom
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/maven-metadata.xml
>   (with props)
>
>  maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/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=889458&r1=889457&r2=889458&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
> Thu Dec 10 23:04:34 2009
> @@ -85,6 +85,7 @@
>         // suite.addTestSuite( MavenIT0109ReleaseUpdateTest.class );
>         // suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); --
> MNG-3137
>
> +        suite.addTestSuite(
> MavenITmng4489MirroringOfExtensionRepoTest.class );
>         suite.addTestSuite(
> MavenITmng4488ValidateExternalParenPomLenientTest.class );
>         suite.addTestSuite(
> MavenITmng4482ForcePluginSnapshotUpdateTest.class );
>         suite.addTestSuite(
> MavenITmng4479ProjectLevelPluginDepUsedForCliConfigTest.class );
>
> Added:
> maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4489MirroringOfExtensionRepoTest.java
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4489MirroringOfExtensionRepoTest.java?rev=889458&view=auto
>
> ==============================================================================
> ---
> maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4489MirroringOfExtensionRepoTest.java
> (added)
> +++
> maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4489MirroringOfExtensionRepoTest.java
> Thu Dec 10 23:04:34 2009
> @@ -0,0 +1,113 @@
> +package org.apache.maven.it;
> +
> +/*
> + * Licensed to the Apache Software Foundation (ASF) under one
> + * or more contributor license agreements.  See the NOTICE file
> + * distributed with this work for additional information
> + * regarding copyright ownership.  The ASF licenses this file
> + * to you under the Apache License, Version 2.0 (the
> + * "License"); you may not use this file except in compliance
> + * with the License.  You may obtain a copy of the License at
> + *
> + *   http://www.apache.org/licenses/LICENSE-2.0
> + *
> + * Unless required by applicable law or agreed to in writing,
> + * software distributed under the License is distributed on an
> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> + * KIND, either express or implied.  See the License for the
> + * specific language governing permissions and limitations
> + * under the License.
> + */
> +
> +import org.apache.maven.it.Verifier;
> +import org.apache.maven.it.util.ResourceExtractor;
> +
> +import java.io.File;
> +import java.util.Properties;
> +
> +import org.mortbay.jetty.Server;
> +import org.mortbay.jetty.handler.DefaultHandler;
> +import org.mortbay.jetty.handler.HandlerList;
> +import org.mortbay.jetty.handler.ResourceHandler;
> +import org.mortbay.jetty.security.Constraint;
> +import org.mortbay.jetty.security.ConstraintMapping;
> +import org.mortbay.jetty.security.HashUserRealm;
> +import org.mortbay.jetty.security.SecurityHandler;
> +
> +/**
> + * This is a test set for <a href="
> http://jira.codehaus.org/browse/MNG-4489">MNG-4489</a>.
> + *
> + * @author Benjamin Bentmann
> + */
> +public class MavenITmng4489MirroringOfExtensionRepoTest
> +    extends AbstractMavenIntegrationTestCase
> +{
> +
> +    public MavenITmng4489MirroringOfExtensionRepoTest()
> +    {
> +        super( "[2.0.3,3.0-alpha-1),[3.0-alpha-6,)" );
> +    }
> +
> +    /**
> +     * Test that repositories contributed by extension POMs during
> transitive dependency resolution are subject to
> +     * mirror and authentication configuration.
> +     */
> +    public void testit()
> +        throws Exception
> +    {
> +        File testDir = ResourceExtractor.simpleExtractResources(
> getClass(), "/mng-4489" );
> +
> +        Constraint constraint = new Constraint();
> +        constraint.setName( Constraint.__BASIC_AUTH );
> +        constraint.setRoles( new String[] { "user" } );
> +        constraint.setAuthenticate( true );
> +
> +        ConstraintMapping constraintMapping = new ConstraintMapping();
> +        constraintMapping.setConstraint( constraint );
> +        constraintMapping.setPathSpec( "/*" );
> +
> +        HashUserRealm userRealm = new HashUserRealm( "TestRealm" );
> +        userRealm.put( "testuser", "testtest" );
> +        userRealm.addUserToRole( "testuser", "user" );
> +
> +        SecurityHandler securityHandler = new SecurityHandler();
> +        securityHandler.setUserRealm( userRealm );
> +        securityHandler.setConstraintMappings( new ConstraintMapping[] {
> constraintMapping } );
> +
> +        ResourceHandler repoHandler = new ResourceHandler();
> +        repoHandler.setResourceBase( testDir.getAbsolutePath() );
> +
> +        HandlerList handlerList = new HandlerList();
> +        handlerList.addHandler( securityHandler );
> +        handlerList.addHandler( repoHandler );
> +        handlerList.addHandler( new DefaultHandler() );
> +
> +        Server server = new Server( 0 );
> +        server.setHandler( handlerList );
> +        server.start();
> +
> +        try
> +        {
> +            Verifier verifier = new Verifier( testDir.getAbsolutePath() );
> +            verifier.setAutoclean( false );
> +            verifier.deleteDirectory( "target" );
> +            verifier.deleteArtifacts( "org.apache.maven.its.mng4489" );
> +            Properties filterProps =
> verifier.newDefaultFilterProperties();
> +            filterProps.setProperty( "@port@", Integer.toString(
> server.getConnectors()[0].getLocalPort() ) );
> +            verifier.filterFile( "settings-template.xml", "settings.xml",
> "UTF-8", filterProps );
> +            verifier.getCliOptions().add( "-s" );
> +            verifier.getCliOptions().add( "settings.xml" );
> +            verifier.executeGoal( "validate" );
> +            verifier.verifyErrorFreeLog();
> +            verifier.resetStreams();
> +
> +            verifier.assertArtifactPresent(
> "org.apache.maven.its.mng4489", "ext-dep", "0.1", "jar" );
> +            verifier.assertArtifactPresent(
> "org.apache.maven.its.mng4489", "ext-dep", "0.1", "pom" );
> +        }
> +        finally
> +        {
> +            server.stop();
> +        }
> +    }
> +
> +}
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4489MirroringOfExtensionRepoTest.java
>
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4489MirroringOfExtensionRepoTest.java
>
> ------------------------------------------------------------------------------
>    svn:keywords = Author Date Id Revision
>
> Added:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/pom.xml
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/pom.xml?rev=889458&view=auto
>
> ==============================================================================
> ---
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/pom.xml
> (added)
> +++
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/pom.xml
> Thu Dec 10 23:04:34 2009
> @@ -0,0 +1,54 @@
> +<?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.mng4489</groupId>
> +  <artifactId>test</artifactId>
> +  <version>0.1</version>
> +
> +  <name>Maven Integration Test :: MNG-4489</name>
> +  <description>
> +    Test that repositories contributed by extension POMs during transitive
> dependency resolution are subject to
> +    mirror and authentication configuration.
> +  </description>
> +
> +  <build>
> +    <plugins>
> +      <plugin>
> +        <!-- the POM of this extension specifies another repo that needs
> to be mirrored/authed/proxied -->
> +        <groupId>org.apache.maven.its.mng4489</groupId>
> +        <artifactId>ext</artifactId>
> +        <version>0.1</version>
> +        <extensions>true</extensions>
> +        <executions>
> +          <execution>
> +            <phase>validate</phase>
> +            <goals>
> +              <goal>test</goal>
> +            </goals>
> +          </execution>
> +        </executions>
> +      </plugin>
> +    </plugins>
> +  </build>
> +</project>
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/pom.xml
>
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/pom.xml
>
> ------------------------------------------------------------------------------
>    svn:keywords = Author Date Id Revision
>
> Added:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/ext-0.1.jar
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/ext-0.1.jar?rev=889458&view=auto
>
> ==============================================================================
> Binary file - no diff available.
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/ext-0.1.jar
>
> ------------------------------------------------------------------------------
>    svn:mime-type = application/octet-stream
>
> Added:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/ext-0.1.pom
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/ext-0.1.pom?rev=889458&view=auto
>
> ==============================================================================
> ---
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/ext-0.1.pom
> (added)
> +++
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/0.1/ext-0.1.pom
> Thu Dec 10 23:04:34 2009
> @@ -0,0 +1,81 @@
> +<?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.mng4489</groupId>
> +  <artifactId>ext</artifactId>
> +  <version>0.1</version>
> +  <packaging>maven-plugin</packaging>
> +
> +  <name>Maven Integration Test :: MNG-4489</name>
> +
> +  <distributionManagement>
> +    <repository>
> +      <id>maven-core-it</id>
> +      <url>file:///${basedir}/repo</url>
> +    </repository>
> +  </distributionManagement>
> +
> +  <dependencies>
> +    <dependency>
> +      <groupId>org.apache.maven</groupId>
> +      <artifactId>maven-plugin-api</artifactId>
> +      <version>2.0</version>
> +    </dependency>
> +    <dependency>
> +      <!-- this dependency needs to be resolved from the repo in this POM
> -->
> +      <groupId>org.apache.maven.its.mng4489</groupId>
> +      <artifactId>ext-dep</artifactId>
> +      <version>0.1</version>
> +    </dependency>
> +  </dependencies>
> +
> +  <repositories>
> +    <repository>
> +      <!-- this repo needs to be mirrored/proxied for the test to work -->
> +      <id>maven-core-it-repo-b</id>
> +      <url>http://bad.host/null</url>
> +      <releases>
> +        <checksumPolicy>ignore</checksumPolicy>
> +      </releases>
> +      <snapshots>
> +        <enabled>false</enabled>
> +      </snapshots>
> +    </repository>
> +  </repositories>
> +
> +  <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-4489/repo-a/org/apache/maven/its/mng4489/ext/maven-metadata.xml
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/maven-metadata.xml?rev=889458&view=auto
>
> ==============================================================================
> ---
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/maven-metadata.xml
> (added)
> +++
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/maven-metadata.xml
> Thu Dec 10 23:04:34 2009
> @@ -0,0 +1,14 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<metadata>
> +  <groupId>org.apache.maven.its.mng4489</groupId>
> +  <artifactId>ext</artifactId>
> +  <version>0.1</version>
> +  <versioning>
> +    <latest>0.1</latest>
> +    <release>0.1</release>
> +    <versions>
> +      <version>0.1</version>
> +    </versions>
> +    <lastUpdated>20091210223136</lastUpdated>
> +  </versioning>
> +</metadata>
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/maven-metadata.xml
>
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/ext/maven-metadata.xml
>
> ------------------------------------------------------------------------------
>    svn:keywords = Author Date Id Revision
>
> Added:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/maven-metadata.xml
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/maven-metadata.xml?rev=889458&view=auto
>
> ==============================================================================
> ---
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/maven-metadata.xml
> (added)
> +++
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/maven-metadata.xml
> Thu Dec 10 23:04:34 2009
> @@ -0,0 +1,10 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<metadata>
> +  <plugins>
> +    <plugin>
> +      <name>Maven Integration Test :: MNG-4489</name>
> +      <prefix>ext</prefix>
> +      <artifactId>ext</artifactId>
> +    </plugin>
> +  </plugins>
> +</metadata>
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/maven-metadata.xml
>
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-a/org/apache/maven/its/mng4489/maven-metadata.xml
>
> ------------------------------------------------------------------------------
>    svn:keywords = Author Date Id Revision
>
> Added:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/ext-dep-0.1.jar
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/ext-dep-0.1.jar?rev=889458&view=auto
>
> ==============================================================================
> Binary file - no diff available.
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/ext-dep-0.1.jar
>
> ------------------------------------------------------------------------------
>    svn:mime-type = application/octet-stream
>
> Added:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/ext-dep-0.1.pom
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/ext-dep-0.1.pom?rev=889458&view=auto
>
> ==============================================================================
> ---
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/ext-dep-0.1.pom
> (added)
> +++
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/0.1/ext-dep-0.1.pom
> Thu Dec 10 23:04:34 2009
> @@ -0,0 +1,38 @@
> +<?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.mng4489</groupId>
> +  <artifactId>ext-dep</artifactId>
> +  <version>0.1</version>
> +  <packaging>jar</packaging>
> +
> +  <name>Maven Integration Test :: MNG-4489</name>
> +
> +  <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-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/maven-metadata.xml
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/maven-metadata.xml?rev=889458&view=auto
>
> ==============================================================================
> ---
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/maven-metadata.xml
> (added)
> +++
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/maven-metadata.xml
> Thu Dec 10 23:04:34 2009
> @@ -0,0 +1,13 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<metadata>
> +  <groupId>org.apache.maven.its.mng4489</groupId>
> +  <artifactId>ext-dep</artifactId>
> +  <version>0.1</version>
> +  <versioning>
> +    <release>0.1</release>
> +    <versions>
> +      <version>0.1</version>
> +    </versions>
> +    <lastUpdated>20091210222050</lastUpdated>
> +  </versioning>
> +</metadata>
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/maven-metadata.xml
>
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/repo-b/org/apache/maven/its/mng4489/ext-dep/maven-metadata.xml
>
> ------------------------------------------------------------------------------
>    svn:keywords = Author Date Id Revision
>
> Added:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/settings-template.xml
> URL:
> http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/settings-template.xml?rev=889458&view=auto
>
> ==============================================================================
> ---
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/settings-template.xml
> (added)
> +++
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/settings-template.xml
> Thu Dec 10 23:04:34 2009
> @@ -0,0 +1,86 @@
> +<?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>
> +    <!-- if the mirror is not applied, Maven would try downloading from
> the wrong dir -->
> +    <mirror>
> +      <id>it-mirror</id>
> +      <mirrorOf>maven-core-it-repo-b</mirrorOf>
> +      <url>http://bad.host/repo-b</url>
> +    </mirror>
> +    <mirror>
> +      <id>central-mirror</id>
> +      <mirrorOf>central</mirrorOf>
> +      <url>@baseurl@/target/null</url>
> +    </mirror>
> +  </mirrors>
> +  <proxies>
> +    <!-- if the proxy is not applied, Maven would try downloading from the
> wrong host&port -->
> +    <proxy>
> +      <active>true</active>
> +      <protocol>http</protocol>
> +      <host>localhost</host>
> +      <port>@port@</port>
> +      <username>proxyuser</username>
> +      <password>proxypass</password>
> +    </proxy>
> +  </proxies>
> +  <servers>
> +    <server>
> +      <id>it-mirror</id>
> +      <username>testuser</username>
> +      <password>testtest</password>
> +    </server>
> +  </servers>
> +  <profiles>
> +    <profile>
> +      <id>maven-core-it-repo</id>
> +      <repositories>
> +        <repository>
> +          <id>maven-core-it</id>
> +          <url>@baseurl@/repo-a</url>
> +          <releases>
> +            <checksumPolicy>ignore</checksumPolicy>
> +          </releases>
> +          <snapshots>
> +            <enabled>false</enabled>
> +          </snapshots>
> +        </repository>
> +      </repositories>
> +      <pluginRepositories>
> +        <pluginRepository>
> +          <id>maven-core-it</id>
> +          <url>@baseurl@/repo-a</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-4489/settings-template.xml
>
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange:
> maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4489/settings-template.xml
>
> ------------------------------------------------------------------------------
>    svn:keywords = Author Date Id Revision
>
>
>