maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject svn commit: r585249 [1/4] - in /maven/components/trunk/maven-core: ./ src/main/java/org/apache/maven/execution/ src/main/java/org/apache/maven/extension/ src/test/java/org/apache/maven/extension/ src/test/repository-projects/ src/test/repository-projec...
Date Tue, 16 Oct 2007 20:15:59 GMT
Author: jdcasey
Date: Tue Oct 16 13:15:40 2007
New Revision: 585249

URL: http://svn.apache.org/viewvc?rev=585249&view=rev
Log:
Adding a unit test for the extension loading (not testing isolation of the extension yet, though).

Added:
    maven/components/trunk/maven-core/src/test/java/org/apache/maven/extension/
    maven/components/trunk/maven-core/src/test/java/org/apache/maven/extension/DefaultExtensionManagerTest.java   (with props)
    maven/components/trunk/maven-core/src/test/repository-projects/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/pom.xml   (with props)
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/repo.xml   (with props)
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/core/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/core/test/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/core/test/MyArtifactFactory.java   (with props)
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/META-INF/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/META-INF/plexus/
    maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/META-INF/plexus/components.xml   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/4/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/4/maven-parent-4.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/4/maven-parent-4.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/4/maven-parent-4.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/5/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/5/maven-parent-5.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/5/maven-parent-5.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/5/maven-parent-5.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon/1.0-beta-2/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-32/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-32/plexus-component-api-1.0-alpha-32.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-32/plexus-component-api-1.0-alpha-32.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-32/plexus-component-api-1.0-alpha-32.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-32/plexus-component-api-1.0-alpha-32.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-32/plexus-component-api-1.0-alpha-32.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-32/plexus-component-api-1.0-alpha-32.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-components/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-components/1.1.6/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-containers/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-containers/1.0-alpha-16/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-containers/1.0-alpha-32/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-containers/1.0-alpha-32/plexus-containers-1.0-alpha-32.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-containers/1.0-alpha-32/plexus-containers-1.0-alpha-32.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-containers/1.0-alpha-32/plexus-containers-1.0-alpha-32.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.10/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.11/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.4/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.8/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.9/
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom.md5
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom.sha1
    maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/repo-marker.txt   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/codehaus/
    maven/components/trunk/maven-core/src/test/resources/org/codehaus/plexus/
    maven/components/trunk/maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/
    maven/components/trunk/maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/
    maven/components/trunk/maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar.sha1
    maven/components/trunk/maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom   (with props)
    maven/components/trunk/maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom.sha1
Modified:
    maven/components/trunk/maven-core/pom.xml
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenProjectSession.java
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java

Modified: maven/components/trunk/maven-core/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/pom.xml?rev=585249&r1=585248&r2=585249&view=diff
==============================================================================
--- maven/components/trunk/maven-core/pom.xml (original)
+++ maven/components/trunk/maven-core/pom.xml Tue Oct 16 13:15:40 2007
@@ -127,6 +127,12 @@
       <version>1.0-beta-1</version>
     </dependency>
     <dependency>
+      <groupId>org.apache.maven.wagon</groupId>
+      <artifactId>wagon-file</artifactId>
+      <version>1.0-beta-2</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
       <groupId>easymock</groupId>
       <artifactId>easymock</artifactId>
       <version>1.2_Java1.3</version>

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenProjectSession.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenProjectSession.java?rev=585249&r1=585248&r2=585249&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenProjectSession.java (original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenProjectSession.java Tue Oct 16 13:15:40 2007
@@ -39,11 +39,6 @@
         return projectId;
     }
 
-    public void addComponentRealm( ClassRealm realm )
-    {
-        componentRealms.put( realm.getId(), realm );
-    }
-
     public static String createRealmId( Artifact realmArtifact )
     {
         return ArtifactUtils.versionlessKey( realmArtifact );

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java?rev=585249&r1=585248&r2=585249&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java (original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java Tue Oct 16 13:15:40 2007
@@ -94,10 +94,32 @@
 
     private WagonManager wagonManager;
 
+    // used for unit testing.
+    protected DefaultExtensionManager( ArtifactFactory artifactFactory,
+                                    ArtifactResolver artifactResolver,
+                                    ArtifactMetadataSource artifactMetadataSource,
+                                    MutablePlexusContainer container,
+                                    ArtifactFilterManager artifactFilterManager,
+                                    WagonManager wagonManager )
+    {
+        this.artifactFactory = artifactFactory;
+        this.artifactResolver = artifactResolver;
+        this.artifactMetadataSource = artifactMetadataSource;
+        this.container = container;
+        this.artifactFilterManager = artifactFilterManager;
+        this.wagonManager = wagonManager;
+    }
+
+    public DefaultExtensionManager()
+    {
+        // used for plexus init.
+    }
+
     public void addExtension( Extension extension,
                               Model originatingModel,
                               List remoteRepositories,
-                              ArtifactRepository localRepository, Map projectSessions )
+                              ArtifactRepository localRepository,
+                              Map projectSessions )
         throws ExtensionManagerException
     {
         Artifact extensionArtifact = artifactFactory.createBuildArtifact( extension.getGroupId(),
@@ -135,7 +157,8 @@
 
     public void addExtension( Extension extension,
                               MavenProject project,
-                              ArtifactRepository localRepository, Map projectSessions )
+                              ArtifactRepository localRepository,
+                              Map projectSessions )
         throws ExtensionManagerException
     {
         String extensionId = ArtifactUtils.versionlessKey( extension.getGroupId(), extension.getArtifactId() );
@@ -232,8 +255,6 @@
                 throw new ExtensionManagerException( "Unable to create extension ClassRealm for extension: " + extensionArtifact.getId() + " within session for project: " + projectId, extensionArtifact, projectId, e );
             }
 
-            projectSession.addComponentRealm( extensionRealm );
-
             for ( Iterator i = result.getArtifacts().iterator(); i.hasNext(); )
             {
                 Artifact a = (Artifact) i.next();
@@ -272,7 +293,7 @@
 
                         try
                         {
-                            getLogger().debug( "Importing: " + implementation + " from extension realm: " + extensionRealm.getId() + " to project realm: " + projectRealm.getId() );
+                            getLogger().debug( "Importing: " + implementation + "\nwith role: " + comp.getRole() + "\nand hint: " + comp.getRoleHint() + "\nfrom extension realm: " + extensionRealm.getId() + "\nto project realm: " + projectRealm.getId() );
 
                             projectRealm.importFrom( extensionRealm.getId(), implementation );
 

Added: maven/components/trunk/maven-core/src/test/java/org/apache/maven/extension/DefaultExtensionManagerTest.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/java/org/apache/maven/extension/DefaultExtensionManagerTest.java?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/java/org/apache/maven/extension/DefaultExtensionManagerTest.java (added)
+++ maven/components/trunk/maven-core/src/test/java/org/apache/maven/extension/DefaultExtensionManagerTest.java Tue Oct 16 13:15:40 2007
@@ -0,0 +1,207 @@
+package org.apache.maven.extension;
+
+import org.apache.maven.ArtifactFilterManager;
+import org.apache.maven.artifact.factory.ArtifactFactory;
+import org.apache.maven.artifact.manager.WagonManager;
+import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
+import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;
+import org.apache.maven.artifact.repository.DefaultArtifactRepository;
+import org.apache.maven.artifact.repository.layout.DefaultRepositoryLayout;
+import org.apache.maven.artifact.resolver.ArtifactResolver;
+import org.apache.maven.execution.MavenProjectSession;
+import org.apache.maven.model.Build;
+import org.apache.maven.model.Extension;
+import org.apache.maven.model.Model;
+import org.codehaus.plexus.MutablePlexusContainer;
+import org.codehaus.plexus.PlexusTestCase;
+import org.codehaus.plexus.classworlds.realm.ClassRealm;
+import org.codehaus.plexus.logging.Logger;
+import org.codehaus.plexus.util.FileUtils;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+public class DefaultExtensionManagerTest
+    extends PlexusTestCase
+{
+
+    private Set toDelete = new HashSet();
+
+    private MutablePlexusContainer container;
+
+    private ArtifactFilterManager filterManager;
+
+    private ArtifactRepositoryFactory repoFactory;
+
+    private ArtifactFactory factory;
+
+    private ArtifactResolver resolver;
+
+    private ArtifactMetadataSource metadataSource;
+
+    private WagonManager wagonManager;
+
+    public void setUp()
+        throws Exception
+    {
+        super.setUp();
+
+        container = (MutablePlexusContainer) getContainer();
+
+//        container.getLoggerManager().setThreshold( Logger.LEVEL_DEBUG );
+
+        filterManager = (ArtifactFilterManager) lookup( ArtifactFilterManager.class.getName() );
+
+        repoFactory = (ArtifactRepositoryFactory) lookup( ArtifactRepositoryFactory.ROLE );
+
+        factory = (ArtifactFactory) lookup( ArtifactFactory.ROLE );
+        resolver = (ArtifactResolver) lookup( ArtifactResolver.ROLE );
+
+        metadataSource = (ArtifactMetadataSource) lookup( ArtifactMetadataSource.ROLE );
+
+        wagonManager = (WagonManager) lookup( WagonManager.ROLE );
+    }
+
+    public void tearDown()
+        throws Exception
+    {
+        for ( Iterator it = toDelete.iterator(); it.hasNext(); )
+        {
+            File f = (File) it.next();
+
+            if ( f.exists() )
+            {
+                FileUtils.forceDelete( f );
+            }
+        }
+    }
+
+    public void test_addExtension_usingModel_ShouldLoadExtensionComponent()
+        throws Exception
+    {
+        File remoteRepoDir = findRemoteRepositoryDirectory();
+        File localRepo = createTempDir();
+
+        Model model = createModel( "org.test", "artifact-name", "1" );
+        Extension ext = addExtension( model, "org.apache.maven.core.test", "test-extension", "1" );
+
+        List remoteRepositories = new ArrayList();
+        remoteRepositories.add( repoFactory.createArtifactRepository( "central",
+                                                                      remoteRepoDir.toURI()
+                                                                                   .toURL()
+                                                                                   .toExternalForm(),
+                                                                      "default",
+                                                                      null,
+                                                                      null ) );
+
+        DefaultArtifactRepository localRepository = new DefaultArtifactRepository("local", localRepo.getAbsolutePath(), new DefaultRepositoryLayout() );
+        localRepository.setBasedir( localRepo.getAbsolutePath() );
+
+        ExtensionManager mgr = newDefaultExtensionManager();
+
+        Map projectSessions = new HashMap();
+
+        mgr.addExtension( ext, model, remoteRepositories, localRepository, projectSessions );
+
+        MavenProjectSession projectSession = (MavenProjectSession) projectSessions.get( MavenProjectSession.createProjectId( model.getGroupId(),
+                                                                                                                             model.getArtifactId(),
+                                                                                                                             model.getVersion() ) );
+
+        List compList = getContainer().getComponentDescriptorList( ArtifactFactory.ROLE, projectSession.getProjectRealm() );
+
+        System.out.println( "Got: " + compList );
+
+        ClassRealm oldRealm = getContainer().setLookupRealm( projectSession.getProjectRealm() );
+
+        ArtifactFactory result = (ArtifactFactory) lookup( ArtifactFactory.ROLE, "test" );
+        assertNotNull( result );
+
+        getContainer().setLookupRealm( oldRealm );
+    }
+
+    private ExtensionManager newDefaultExtensionManager()
+    {
+        DefaultExtensionManager mgr = new DefaultExtensionManager( factory, resolver, metadataSource,
+                                                            container, filterManager, wagonManager );
+
+        Logger logger = getContainer().getLoggerManager().getLoggerForComponent( DefaultExtensionManager.class.getName() );
+
+        mgr.enableLogging( logger );
+
+        return mgr;
+    }
+
+    private Model createModel( String groupId,
+                               String artifactId,
+                               String version )
+    {
+        Model model = new Model();
+        model.setGroupId( groupId );
+        model.setArtifactId( artifactId );
+        model.setVersion( version );
+
+        return model;
+    }
+
+    private Extension addExtension( Model model,
+                                    String groupId,
+                                    String artifactId,
+                                    String version )
+    {
+        Extension ext = new Extension();
+        ext.setGroupId( groupId );
+        ext.setArtifactId( artifactId );
+        ext.setVersion( version );
+
+        Build build = model.getBuild();
+        if ( build == null )
+        {
+            build = new Build();
+            model.setBuild( build );
+        }
+
+        build.addExtension( ext );
+
+        return ext;
+    }
+
+    private File createTempDir()
+        throws IOException
+    {
+        File dir = File.createTempFile( "DefaultExtensionManagerTest.", ".dir" );
+        FileUtils.forceDelete( dir );
+
+        dir.mkdirs();
+        toDelete.add( dir );
+
+        return dir;
+    }
+
+    private File findRemoteRepositoryDirectory()
+    {
+        String classPath = getClass().getPackage().getName().replace( '.', '/' )
+                           + "/test-extension-repo/repo-marker.txt";
+        ClassLoader cloader = Thread.currentThread().getContextClassLoader();
+
+        URL resource = cloader.getResource( classPath );
+
+        if ( resource == null )
+        {
+            throw new IllegalStateException( "Cannot find repository marker file: " + classPath
+                                             + " in context classloader!" );
+        }
+
+        File repoDir = new File( resource.getPath() ).getParentFile();
+
+        return repoDir;
+    }
+
+}

Propchange: maven/components/trunk/maven-core/src/test/java/org/apache/maven/extension/DefaultExtensionManagerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core/src/test/java/org/apache/maven/extension/DefaultExtensionManagerTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/repository-projects/test-extension/pom.xml?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/repository-projects/test-extension/pom.xml (added)
+++ maven/components/trunk/maven-core/src/test/repository-projects/test-extension/pom.xml Tue Oct 16 13:15:40 2007
@@ -0,0 +1,73 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.core.test</groupId>
+  <artifactId>test-extension</artifactId>
+  <packaging>jar</packaging>
+  <version>1</version>
+  <name>test-extension</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven.artifact</groupId>
+      <artifactId>maven-artifact</artifactId>
+      <version>3.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-utils</artifactId>
+      <version>1.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus</artifactId>
+      <version>1.0.11</version>
+      <type>pom</type>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-component-api</artifactId>
+      <version>1.0-alpha-16</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-container-default</artifactId>
+      <version>1.0-alpha-16</version>
+    </dependency>
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>2.2-beta-2-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <id>repo-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <descriptors>
+                <descriptor>repo.xml</descriptor>
+              </descriptors>
+              <finalName>test-extension</finalName>
+              <appendAssemblyId>true</appendAssemblyId>
+              <outputDirectory>${pom.basedir}/../../resources/org/apache/maven/extension</outputDirectory>
+              <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  
+  <distributionManagement>
+    <repository>
+      <id>dummy</id>
+      <url>file:///tmp/dummy-repo</url>
+    </repository>
+  </distributionManagement>
+  
+</project>

Propchange: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/repo.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/repository-projects/test-extension/repo.xml?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/repository-projects/test-extension/repo.xml (added)
+++ maven/components/trunk/maven-core/src/test/repository-projects/test-extension/repo.xml Tue Oct 16 13:15:40 2007
@@ -0,0 +1,22 @@
+<assembly>
+  <id>repo</id>
+  <formats>
+    <format>dir</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <repositories>
+    <repository>
+      <scope>runtime</scope>
+      <outputDirectory>/</outputDirectory>
+    </repository>
+  </repositories>
+  <fileSets>
+    <fileSet>
+      <directory>target</directory>
+      <outputDirectory>/org/apache/maven/core/test/test-extension/1</outputDirectory>
+      <includes>
+        <include>test-extension*</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file

Propchange: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/repo.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/repo.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/core/test/MyArtifactFactory.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/core/test/MyArtifactFactory.java?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/core/test/MyArtifactFactory.java (added)
+++ maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/core/test/MyArtifactFactory.java Tue Oct 16 13:15:40 2007
@@ -0,0 +1,128 @@
+package org.apache.maven.core.test;
+
+import org.apache.maven.artifact.factory.ArtifactFactory;
+import org.apache.maven.artifact.handler.ArtifactHandler;
+import org.apache.maven.artifact.handler.DefaultArtifactHandler;
+import org.apache.maven.artifact.versioning.VersionRange;
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.artifact.DefaultArtifact;
+
+public class MyArtifactFactory
+    implements ArtifactFactory
+{
+
+    private static final boolean OPTIONAL = false;
+    private static final ArtifactHandler HANDLER = new DefaultArtifactHandler( "jar" );
+    private static final String CLASSIFIER = null;
+    private static final String TYPE = "jar";
+    private static final String SCOPE = Artifact.SCOPE_COMPILE;
+    private static final VersionRange VERSION = VersionRange.createFromVersion( "1.1.1" );
+    private static final String AID = "test-artifact";
+    private static final String GID = "test.group";
+
+    public Artifact createArtifact( String groupId,
+                                    String artifactId,
+                                    String version,
+                                    String scope,
+                                    String type )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createArtifactWithClassifier( String groupId,
+                                                  String artifactId,
+                                                  String version,
+                                                  String type,
+                                                  String classifier )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createBuildArtifact( String groupId,
+                                         String artifactId,
+                                         String version,
+                                         String packaging )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createDependencyArtifact( String groupId,
+                                              String artifactId,
+                                              VersionRange versionRange,
+                                              String type,
+                                              String classifier,
+                                              String scope )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createDependencyArtifact( String groupId,
+                                              String artifactId,
+                                              VersionRange versionRange,
+                                              String type,
+                                              String classifier,
+                                              String scope,
+                                              boolean optional )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createDependencyArtifact( String groupId,
+                                              String artifactId,
+                                              VersionRange versionRange,
+                                              String type,
+                                              String classifier,
+                                              String scope,
+                                              String inheritedScope )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createDependencyArtifact( String groupId,
+                                              String artifactId,
+                                              VersionRange versionRange,
+                                              String type,
+                                              String classifier,
+                                              String scope,
+                                              String inheritedScope,
+                                              boolean optional )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createExtensionArtifact( String groupId,
+                                             String artifactId,
+                                             VersionRange versionRange )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createParentArtifact( String groupId,
+                                          String artifactId,
+                                          String version )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createPluginArtifact( String groupId,
+                                          String artifactId,
+                                          VersionRange versionRange )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createProjectArtifact( String groupId,
+                                           String artifactId,
+                                           String version )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+
+    public Artifact createProjectArtifact( String groupId,
+                                           String artifactId,
+                                           String version,
+                                           String scope )
+    {
+        return new DefaultArtifact( GID, AID, VERSION, SCOPE, TYPE, CLASSIFIER, HANDLER, OPTIONAL );
+    }
+}

Propchange: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/core/test/MyArtifactFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/java/org/apache/maven/core/test/MyArtifactFactory.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/META-INF/plexus/components.xml?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/META-INF/plexus/components.xml (added)
+++ maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/META-INF/plexus/components.xml Tue Oct 16 13:15:40 2007
@@ -0,0 +1,9 @@
+<component-set>
+  <components>
+    <component>
+      <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
+      <role-hint>test</role-hint>
+      <implementation>org.apache.maven.core.test.MyArtifactFactory</implementation>
+    </component>
+  </components>
+</component-set>

Propchange: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core/src/test/repository-projects/test-extension/src/main/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar?rev=585249&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.md5
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.md5?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.md5 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.md5 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+1f40fb782a4f2cf78f161d32670f7a3a
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.sha1
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.sha1?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.sha1 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.jar.sha1 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+99129f16442844f6a4a11ae22fbbee40b14d774f
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom Tue Oct 16 13:15:40 2007
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" 
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd ">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>junit</groupId>
+  <artifactId>junit</artifactId>
+  <version>3.8.1</version>
+  <name>JUnit</name>
+  <url>http://junit.org</url>
+  <description>
+    JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
+  </description>
+  <organization>
+    <name>JUnit</name>
+    <url>http://www.junit.org</url>
+  </organization>
+  <licenses>
+    <license>
+      <name>Common Public License Version 1.0</name>
+      <url>http://www.opensource.org/licenses/cpl1.0.txt</url>
+    </license>
+  </licenses>
+  <scm>
+    <url>http://junit.cvs.sourceforge.net/junit/</url>
+  </scm>
+  <dependencies>
+  </dependencies>
+</project>

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.md5
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.md5?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.md5 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.md5 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+50b40cb7342f52b702e6337d5debf1ae
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.sha1
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.sha1?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.sha1 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/junit/junit/3.8.1/junit-3.8.1.pom.sha1 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+16d74791c801c89b0071b1680ea0bc85c93417bb
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom Tue Oct 16 13:15:40 2007
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Copyright 2005-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <!-- Shared parent. Doesn't define a lot of things about Apache like general mailing lists, but does
+       define the settings common to all projects at Apache -->
+  <groupId>org.apache</groupId>
+  <artifactId>apache</artifactId>
+  <version>3</version>
+  <packaging>pom</packaging>
+  <name>The Apache Software Foundation</name>
+  <description>
+    The Apache Software Foundation provides support for the Apache community of open-source software projects.
+    The Apache projects are characterized by a collaborative, consensus based development process, an open and
+    pragmatic software license, and a desire to create high quality software that leads the way in its field.
+    We consider ourselves not simply a group of projects sharing a server, but rather a community of developers
+    and users.
+  </description>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+  <url>http://www.apache.org/</url>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshot Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+  <distributionManagement>
+    <!-- Site omitted - each project must provide their own -->
+    <repository>
+      <id>apache.releases</id>
+      <name>Apache Release Distribution Repository</name>
+      <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
+    </repository>
+    <snapshotRepository>
+      <id>apache.snapshots</id>
+      <name>Apache Development Snapshot Repository</name>
+      <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
+    </snapshotRepository>
+  </distributionManagement>
+  <mailingLists>
+    <mailingList>
+      <name>Apache Announce List</name>
+      <subscribe>announce-subscribe@apache.org</subscribe>
+      <unsubscribe>announce-unsubscribe@apache.org</unsubscribe>
+      <post>announce@apache.org</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive>
+    </mailingList>
+  </mailingLists>
+</project>
+

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.md5
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.md5?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.md5 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.md5 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+c857ebbb5f303f435495e40e6c9e45a2
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.sha1
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.sha1?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.sha1 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/apache/3/apache-3.pom.sha1 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+1bc0010136a890e2fd38d901a0b7ecdf0e3f9871
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar?rev=585249&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.md5
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.md5?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.md5 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.md5 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+430da483dcfb2964a9dcd619c29a6c78
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.sha1
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.sha1?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.sha1 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar.sha1 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+ea9e3f3fdc25f386d5f9ac861a55b6c3bb773d91
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom Tue Oct 16 13:15:40 2007
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
+    <artifactId>maven-parent</artifactId>
+    <groupId>org.apache.maven</groupId>
+    <version>5</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.artifact</groupId>
+  <artifactId>maven-artifact</artifactId>
+  <version>3.0-SNAPSHOT</version>
+  <name>Maven Artifact</name>
+  <scm>                                                                                                                                                                                
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/artifact/trunk</connection>                                                                                            
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/artifact/trunk</developerConnection>                                                                         
+    <url>http://svn.apache.org/viewcvs.cgi/maven/artifact/trunk</url>                                                                                                                
+  </scm>       
+  <dependencies>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-utils</artifactId>
+      <version>1.4.5</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-container-default</artifactId>
+      <version>1.0-alpha-32</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-active-collections</artifactId>
+      <version>1.0-beta-1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.wagon</groupId>
+      <artifactId>wagon-provider-api</artifactId>
+      <version>1.0-beta-2</version>
+    </dependency>  
+    <dependency>
+      <groupId>org.apache.maven.wagon</groupId>
+      <artifactId>wagon-file</artifactId>
+      <version>1.0-beta-2</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>easymock</groupId>
+      <artifactId>easymock</artifactId>
+      <version>1.2_Java1.3</version>
+      <scope>test</scope>
+    </dependency>      
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.modello</groupId>
+        <artifactId>modello-maven-plugin</artifactId>
+        <version>1.0-alpha-17</version>
+        <configuration>
+          <version>1.0.0</version>
+          <model>src/main/mdo/metadata.mdo</model>
+        </configuration>
+        <executions>                                                                                                                                          
+          <execution>                                                                                                                                         
+            <id>site-docs</id>                                                                                                                                
+            <phase>pre-site</phase>                                                                                                                           
+            <goals>                                                                                                                                           
+              <goal>xdoc</goal>                                                                                                                               
+              <goal>xsd</goal>                                                                                                                                
+            </goals>                                                                                                                                          
+          </execution>                                                                                                                                        
+          <execution>                                                                                                                                         
+            <id>standard</id>                                                                                                                                 
+            <goals>                                                                                                                                           
+              <goal>java</goal>                                                                                                                               
+              <goal>xpp3-reader</goal>                                                                                                                        
+              <goal>xpp3-writer</goal>                                                                                                                        
+            </goals>                                                                                                                                          
+          </execution>                                                                                                                                        
+        </executions>                      
+      </plugin>    
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**/testutils/**</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.md5
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.md5?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.md5 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.md5 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+794377b5385c68c660ee9ca26e6b5cf1
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.sha1
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.sha1?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.sha1 (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.pom.sha1 Tue Oct 16 13:15:40 2007
@@ -0,0 +1 @@
+358254e73f075bcfb9d587d0da553083abd0cc45
\ No newline at end of file

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.jar
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.jar?rev=585249&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.pom
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.pom?rev=585249&view=auto
==============================================================================
--- maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.pom (added)
+++ maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.pom Tue Oct 16 13:15:40 2007
@@ -0,0 +1,73 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.core.test</groupId>
+  <artifactId>test-extension</artifactId>
+  <packaging>jar</packaging>
+  <version>1</version>
+  <name>test-extension</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven.artifact</groupId>
+      <artifactId>maven-artifact</artifactId>
+      <version>3.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-utils</artifactId>
+      <version>1.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus</artifactId>
+      <version>1.0.11</version>
+      <type>pom</type>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-component-api</artifactId>
+      <version>1.0-alpha-16</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-container-default</artifactId>
+      <version>1.0-alpha-16</version>
+    </dependency>
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>2.2-beta-2-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <id>repo-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <descriptors>
+                <descriptor>repo.xml</descriptor>
+              </descriptors>
+              <finalName>test-extension</finalName>
+              <appendAssemblyId>true</appendAssemblyId>
+              <outputDirectory>${pom.basedir}/../../resources/org/apache/maven/extension</outputDirectory>
+              <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  
+  <distributionManagement>
+    <repository>
+      <id>dummy</id>
+      <url>file:///tmp/dummy-repo</url>
+    </repository>
+  </distributionManagement>
+  
+</project>

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.pom
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/core/test/test-extension/1/test-extension-1.pom
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



Mime
View raw message