You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2010/05/15 22:15:58 UTC
svn commit: r944711 - in /maven/core-integration-testing/trunk:
core-it-suite/src/test/java/org/apache/maven/it/
core-it-suite/src/test/resources/mng-4666/
core-it-suite/src/test/resources/mng-4666/repo/
core-it-suite/src/test/resources/mng-4666/repo/c...
Author: bentmann
Date: Sat May 15 20:15:56 2010
New Revision: 944711
URL: http://svn.apache.org/viewvc?rev=944711&view=rev
Log:
[MNG-4666] [regression] Plugins depending on plexus:plexus-container-default get broken runtime classpath
o Added IT
Added:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4666CoreRealmImportTest.java (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/pom.xml (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/classworlds-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/classworlds-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/0.1-stub/maven-artifact-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/0.1-stub/maven-artifact-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/0.1-stub/maven-core-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/0.1-stub/maven-core-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/0.1-stub/maven-model-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/0.1-stub/maven-model-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/maven-plugin-api-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/maven-plugin-api-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/maven-plugin-descriptor-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/maven-plugin-descriptor-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/0.1-stub/maven-project-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/0.1-stub/maven-project-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/0.1-stub/maven-settings-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/0.1-stub/maven-settings-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/plexus-classworlds-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/plexus-classworlds-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/plexus-component-api-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/plexus-component-api-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/plexus-utils-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/plexus-utils-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/0.1-stub/
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.jar (with props)
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/settings-template.xml (with props)
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/AssignmentCompatibleMojo.java (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=944711&r1=944710&r2=944711&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 Sat May 15 20:15:56 2010
@@ -82,6 +82,7 @@ public class IntegrationTestSuite
// suite.addTestSuite( MavenIT0109ReleaseUpdateTest.class );
// suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); -- MNG-3137
+ suite.addTestSuite( MavenITmng4666CoreRealmImportTest.class );
suite.addTestSuite( MavenITmng4654ArtifactHandlerForMainArtifactTest.class );
suite.addTestSuite( MavenITmng4644StrictPomParsingRejectsMisplacedTextTest.class );
suite.addTestSuite( MavenITmng4629NoPomValidationErrorUponMissingSystemDepTest.class );
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4666CoreRealmImportTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4666CoreRealmImportTest.java?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4666CoreRealmImportTest.java (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4666CoreRealmImportTest.java Sat May 15 20:15:56 2010
@@ -0,0 +1,95 @@
+package org.apache.maven.it;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.it.Verifier;
+import org.apache.maven.it.util.ResourceExtractor;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Properties;
+
+/**
+ * This is a test set for <a href="http://jira.codehaus.org/browse/MNG-4666">MNG-4666</a>.
+ *
+ * @author Benjamin Bentmann
+ */
+public class MavenITmng4666CoreRealmImportTest
+ extends AbstractMavenIntegrationTestCase
+{
+
+ public MavenITmng4666CoreRealmImportTest()
+ {
+ super( "[2.0.11,2.0.99),[2.1.0,3.0-alpha-1),[3.0-beta-2,)" );
+ }
+
+ /**
+ * Verify that API types from the Maven core realm are shared/imported into the plugin realm despite the plugin
+ * declaring conflicting dependencies. For the core artifact filter, this boils down to the filter properly
+ * recognizing such a conflicting dependency, i.e. knowing the relevant groupId:artifactId's.
+ */
+ public void testit()
+ throws Exception
+ {
+ File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-4666" );
+
+ Verifier verifier = new Verifier( testDir.getAbsolutePath() );
+ verifier.setAutoclean( false );
+ verifier.deleteDirectory( "target" );
+ verifier.deleteArtifacts( "org.apache.maven.its.mng4666" );
+ verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties() );
+ verifier.getCliOptions().add( "-s" );
+ verifier.getCliOptions().add( "settings.xml" );
+ verifier.executeGoal( "validate" );
+ verifier.verifyErrorFreeLog();
+ verifier.resetStreams();
+
+ Properties props = verifier.loadProperties( "target/type.properties" );
+ List types = getTypes( props );
+ assertFalse( types.isEmpty() );
+ for ( Iterator it = types.iterator(); it.hasNext(); )
+ {
+ String type = it.next().toString();
+ assertEquals( type, props.get( "plugin." + type ), props.get( "core." + type ) );
+ }
+ }
+
+ private List getTypes( Properties props )
+ {
+ List types = new ArrayList();
+ for ( Iterator it = props.keySet().iterator(); it.hasNext(); )
+ {
+ String key = it.next().toString();
+ if ( key.startsWith( "core." ) )
+ {
+ String type = key.substring( 5 );
+ if ( props.getProperty( key, "" ).length() > 0 )
+ {
+ // types not in the core realm can't be exported/shared, so ignore those
+ types.add( type );
+ }
+ }
+ }
+ return types;
+ }
+
+}
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4666CoreRealmImportTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4666CoreRealmImportTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/pom.xml?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/pom.xml (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/pom.xml Sat May 15 20:15:56 2010
@@ -0,0 +1,138 @@
+<?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.mng4666</groupId>
+ <artifactId>test</artifactId>
+ <version>1.0</version>
+
+ <name>Maven Integration Test :: MNG-4666</name>
+ <description>
+ Verify that API types from the Maven core realm are shared/imported into the plugin realm despite the plugin
+ declaring conflicting dependencies. For the core artifact filter, this boils down to the filter properly
+ recognizing such a conflicting dependency, i.e. knowing the relevant groupId:artifactId's.
+ </description>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.its.plugins</groupId>
+ <artifactId>maven-it-plugin-class-loader</artifactId>
+ <version>2.1-SNAPSHOT</version>
+ <dependencies>
+ <!-- stub dependencies (but with real groupId:artifactId) emulating common plugin dependencies -->
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-model</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-settings</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-descriptor</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-component-api</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-classworlds</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ <dependency>
+ <groupId>classworlds</groupId>
+ <artifactId>classworlds</artifactId>
+ <version>0.1-stub</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>test</id>
+ <phase>validate</phase>
+ <configuration>
+ <assigncompatPropertiesFile>target/type.properties</assigncompatPropertiesFile>
+ <classNames>
+ <className>org.apache.maven.plugin.Mojo</className>
+ <className>org.apache.maven.plugin.descriptor.PluginDescriptor</className>
+ <className>org.apache.maven.project.MavenProject</className>
+ <className>org.apache.maven.execution.MavenSession</className>
+ <className>org.apache.maven.artifact.Artifact</className>
+ <className>org.apache.maven.model.Model</className>
+ <className>org.apache.maven.settings.Settings</className>
+ <className>org.codehaus.plexus.logging.LogEnabled</className>
+ <className>org.codehaus.plexus.classworlds.realm.ClassRealm</className>
+ <className>org.codehaus.classworlds.ClassRealm</className>
+ <className>org.codehaus.plexus.util.xml.Xpp3Dom</className>
+ </classNames>
+ </configuration>
+ <goals>
+ <goal>assignment-compatible</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/pom.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/classworlds-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/classworlds-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/classworlds-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/classworlds-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/classworlds-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/classworlds-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/classworlds/classworlds/0.1-stub/classworlds-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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>classworlds</groupId>
+ <artifactId>classworlds</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/apache/maven/maven-artifact/0.1-stub/maven-artifact-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/0.1-stub/maven-artifact-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/0.1-stub/maven-artifact-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/0.1-stub/maven-artifact-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/0.1-stub/maven-artifact-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/0.1-stub/maven-artifact-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-artifact/0.1-stub/maven-artifact-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/apache/maven/maven-core/0.1-stub/maven-core-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/0.1-stub/maven-core-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/0.1-stub/maven-core-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/0.1-stub/maven-core-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/0.1-stub/maven-core-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/0.1-stub/maven-core-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-core/0.1-stub/maven-core-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/apache/maven/maven-model/0.1-stub/maven-model-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/0.1-stub/maven-model-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/0.1-stub/maven-model-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/0.1-stub/maven-model-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/0.1-stub/maven-model-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/0.1-stub/maven-model-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-model/0.1-stub/maven-model-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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</groupId>
+ <artifactId>maven-model</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/maven-plugin-api-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/maven-plugin-api-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/maven-plugin-api-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/maven-plugin-api-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/maven-plugin-api-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/maven-plugin-api-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-api/0.1-stub/maven-plugin-api-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/maven-plugin-descriptor-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/maven-plugin-descriptor-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/maven-plugin-descriptor-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/maven-plugin-descriptor-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/maven-plugin-descriptor-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/maven-plugin-descriptor-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-plugin-descriptor/0.1-stub/maven-plugin-descriptor-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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</groupId>
+ <artifactId>maven-plugin-descriptor</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/apache/maven/maven-project/0.1-stub/maven-project-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/0.1-stub/maven-project-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/0.1-stub/maven-project-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/0.1-stub/maven-project-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/0.1-stub/maven-project-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/0.1-stub/maven-project-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-project/0.1-stub/maven-project-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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</groupId>
+ <artifactId>maven-project</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/apache/maven/maven-settings/0.1-stub/maven-settings-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/0.1-stub/maven-settings-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/0.1-stub/maven-settings-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/0.1-stub/maven-settings-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/0.1-stub/maven-settings-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/0.1-stub/maven-settings-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/apache/maven/maven-settings/0.1-stub/maven-settings-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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</groupId>
+ <artifactId>maven-settings</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/plexus-classworlds-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/plexus-classworlds-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/plexus-classworlds-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/plexus-classworlds-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/plexus-classworlds-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/plexus-classworlds-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-classworlds/0.1-stub/plexus-classworlds-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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.codehaus.plexus</groupId>
+ <artifactId>plexus-classworlds</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/plexus-component-api-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/plexus-component-api-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/plexus-component-api-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/plexus-component-api-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/plexus-component-api-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/plexus-component-api-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-component-api/0.1-stub/plexus-component-api-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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.codehaus.plexus</groupId>
+ <artifactId>plexus-component-api</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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.codehaus.plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/plexus-utils-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/plexus-utils-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/plexus-utils-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/plexus-utils-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/plexus-utils-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/plexus-utils-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/org/codehaus/plexus/plexus-utils/0.1-stub/plexus-utils-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/repo/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.jar
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.jar?rev=944711&view=auto
==============================================================================
Binary file - no diff available.
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/repo/plexus/plexus-container-default/0.1-stub/plexus-container-default-0.1-stub.pom Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?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.codehaus.plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ <version>0.1-stub</version>
+ <packaging>jar</packaging>
+
+ <distributionManagement>
+ <repository>
+ <id>maven-core-it</id>
+ <url>file:///${basedir}/repo</url>
+ </repository>
+ </distributionManagement>
+
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+
+ <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-4666/settings-template.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/settings-template.xml?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/settings-template.xml (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/settings-template.xml Sat May 15 20:15:56 2010
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<settings>
+ <profiles>
+ <profile>
+ <id>maven-core-it-repo</id>
+ <repositories>
+ <repository>
+ <id>maven-core-it</id>
+ <url>@baseurl@/repo</url>
+ <releases>
+ <checksumPolicy>ignore</checksumPolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>maven-core-it</id>
+ <url>@baseurl@/repo</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-4666/settings-template.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-4666/settings-template.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/AssignmentCompatibleMojo.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/AssignmentCompatibleMojo.java?rev=944711&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/AssignmentCompatibleMojo.java (added)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/AssignmentCompatibleMojo.java Sat May 15 20:15:56 2010
@@ -0,0 +1,121 @@
+package org.apache.maven.plugin.coreit;
+
+/*
+ * 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.plugin.AbstractMojo;
+import org.apache.maven.plugin.Mojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+import java.io.File;
+import java.util.Properties;
+
+/**
+ * Checks whether API classes exported by the Maven core are assignment-compatible with types loaded from the plugin
+ * class loader. In other words, checks that types shared with the core realm are imported into the plugin realm.
+ *
+ * @goal assignment-compatible
+ * @phase initialize
+ *
+ * @author Benjamin Bentmann
+ */
+public class AssignmentCompatibleMojo
+ extends AbstractMojo
+{
+
+ /**
+ * The path to the properties file used to track the results of the assignment compatibility tests.
+ *
+ * @parameter expression="${clsldr.assigncompatPropertiesFile}"
+ */
+ private File assigncompatPropertiesFile;
+
+ /**
+ * The qualified names of the types to check.
+ *
+ * @parameter
+ */
+ private String[] classNames;
+
+ /**
+ * Runs this mojo.
+ *
+ * @throws MojoExecutionException If the output file could not be created.
+ */
+ public void execute()
+ throws MojoExecutionException
+ {
+ ClassLoader coreRealm = Mojo.class.getClassLoader();
+ ClassLoader pluginRealm = getClass().getClassLoader();
+
+ if ( coreRealm == pluginRealm )
+ {
+ throw new MojoExecutionException( "Unexpected class loader hierarchy, could not detect core realm" );
+ }
+
+ Properties properties = new Properties();
+
+ if ( classNames != null )
+ {
+ for ( int i = 0; i < classNames.length; i++ )
+ {
+ String className = classNames[i];
+ String result;
+
+ getLog().info( "[MAVEN-CORE-IT-LOG] Loading class " + className );
+
+ try
+ {
+ Class type = pluginRealm.loadClass( className );
+ result = getKey( type );
+ }
+ catch ( ClassNotFoundException e )
+ {
+ result = "";
+ }
+ properties.setProperty( "plugin." + className, result );
+ getLog().info( "[MAVEN-CORE-IT-LOG] plugin: " + result );
+
+ try
+ {
+ Class type = coreRealm.loadClass( className );
+ result = getKey( type );
+ }
+ catch ( ClassNotFoundException e )
+ {
+ result = "";
+ }
+ properties.setProperty( "core." + className, result );
+ getLog().info( "[MAVEN-CORE-IT-LOG] core : " + result );
+ }
+ }
+
+ getLog().info( "[MAVEN-CORE-IT-LOG] Creating output file " + assigncompatPropertiesFile );
+
+ PropertiesUtil.write( assigncompatPropertiesFile, properties );
+
+ getLog().info( "[MAVEN-CORE-IT-LOG] Created output file " + assigncompatPropertiesFile );
+ }
+
+ private String getKey( Class type )
+ {
+ return type.hashCode() + "@" + type.getClassLoader().hashCode();
+ }
+
+}
Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/AssignmentCompatibleMojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/AssignmentCompatibleMojo.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision