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/03/31 16:49:50 UTC

svn commit: r929559 - in /maven/core-integration-testing/trunk: core-it-suite/src/test/java/org/apache/maven/it/ core-it-suite/src/test/resources/mng-3766/ core-it-support/ core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apa...

Author: bentmann
Date: Wed Mar 31 14:49:49 2010
New Revision: 929559

URL: http://svn.apache.org/viewvc?rev=929559&view=rev
Log:
[MNG-3766] toolchains not found in extensions

o Added IT

Added:
    maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3766ToolchainsFromExtensionTest.java   (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/pom.xml   (with props)
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/toolchains.xml   (with props)
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/   (with props)
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/pom.xml   (with props)
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchain.java   (with props)
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchainFactory.java   (with props)
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/META-INF/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/META-INF/plexus/
    maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/META-INF/plexus/components.xml   (with props)
Modified:
    maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java
    maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
    maven/core-integration-testing/trunk/core-it-support/pom.xml

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=929559&r1=929558&r2=929559&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 Wed Mar 31 14:49:49 2010
@@ -297,6 +297,7 @@ public class IntegrationTestSuite
         suite.addTestSuite( MavenITmng3805ExtensionClassPathOrderingTest.class );
         suite.addTestSuite( MavenITmng3796ClassImportInconsistencyTest.class );
         suite.addTestSuite( MavenITmng3769ExclusionRelocatedTransdepsTest.class );
+        suite.addTestSuite( MavenITmng3766ToolchainsFromExtensionTest.class );
         suite.addTestSuite( MavenITmng3760BaseUriPropertyTest.class );
         suite.addTestSuite( MavenITmng3748BadSettingsXmlTest.class );
         suite.addTestSuite( MavenITmng3747PrefixedPathExpressionTest.class );

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3766ToolchainsFromExtensionTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3766ToolchainsFromExtensionTest.java?rev=929559&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3766ToolchainsFromExtensionTest.java (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3766ToolchainsFromExtensionTest.java Wed Mar 31 14:49:49 2010
@@ -0,0 +1,66 @@
+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.List;
+import java.util.Properties;
+
+/**
+ * This is a test set for <a href="http://jira.codehaus.org/browse/MNG-3766">MNG-3766</a>.
+ * 
+ * @author Benjamin Bentmann
+ */
+public class MavenITmng3766ToolchainsFromExtensionTest
+    extends AbstractMavenIntegrationTestCase
+{
+
+    public MavenITmng3766ToolchainsFromExtensionTest()
+    {
+        super( "[3.0-alpha-3,)" );
+    }
+
+    /**
+     * Test toolchain discovery from build extensions.
+     */
+    public void testit()
+        throws Exception
+    {
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3766" );
+       
+        Verifier verifier = new Verifier( testDir.getAbsolutePath() );
+        verifier.setAutoclean( false );
+        verifier.deleteDirectory( "target" );
+        verifier.getCliOptions().add( "--toolchains" );
+        verifier.getCliOptions().add( "toolchains.xml" );
+        verifier.executeGoal( "initialize" );
+        verifier.verifyErrorFreeLog();
+        verifier.resetStreams();
+
+        verifier.assertFilePresent( "target/tool.properties" );
+        Properties toolProps = verifier.loadProperties( "target/tool.properties" );
+        assertEquals( "toolname", toolProps.getProperty( "tool.toolname", "" ) );
+    }
+
+}

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3766ToolchainsFromExtensionTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3766ToolchainsFromExtensionTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/pom.xml?rev=929559&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/pom.xml (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/pom.xml Wed Mar 31 14:49:49 2010
@@ -0,0 +1,76 @@
+<?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.mng3766</groupId>
+  <artifactId>test</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <name>Maven Integration Test :: MNG-3766</name> 
+  <description>
+    Test toolchain discovery from build extensions.
+  </description>
+
+  <build>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.its</groupId>
+        <artifactId>core-it-toolchain</artifactId>
+        <version>2.1-SNAPSHOT</version>
+      </extension>
+    </extensions>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.its.plugins</groupId>
+        <artifactId>maven-it-plugin-toolchain</artifactId>
+        <version>2.1-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <id>select-toolchain</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>toolchain</goal>
+            </goals>
+            <configuration>
+              <outputFile>target/toolchains.properties</outputFile>
+              <type>coreit</type>
+              <selected>0</selected>
+            </configuration>
+          </execution>
+          <execution>
+            <id>find-tool</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>find-tool</goal>
+            </goals>
+            <configuration>
+              <outputFile>target/tool.properties</outputFile>
+              <type>coreit</type>
+              <tool>toolname</tool>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/toolchains.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/toolchains.xml?rev=929559&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/toolchains.xml (added)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/toolchains.xml Wed Mar 31 14:49:49 2010
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF8"?>
+
+<!--
+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.
+-->
+
+<toolchains>
+  <toolchain>
+    <type>coreit</type>
+  </toolchain>
+</toolchains>

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/toolchains.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3766/toolchains.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java?rev=929559&r1=929558&r2=929559&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java (original)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-toolchain/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java Wed Mar 31 14:49:49 2010
@@ -95,8 +95,15 @@ public class CoreItMojo
 
         if ( selected >= 0 )
         {
-            ToolchainPrivate toolchain = tcs[selected];
-            toolchainManager.storeToolchainToBuildContext( toolchain, session );
+            if ( selected < tcs.length )
+            {
+                ToolchainPrivate toolchain = tcs[selected];
+                toolchainManager.storeToolchainToBuildContext( toolchain, session );
+            }
+            else
+            {
+                getLog().warn( "[MAVEN-CORE-IT-LOG] Toolchain #" + selected + " can't be selected, found only " + tcs.length );
+            }
         }
 
         Properties properties = new Properties();

Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Mar 31 14:49:49 2010
@@ -0,0 +1,6 @@
+target
+*.iml
+.project
+.settings
+.classpath
+bin

Added: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/pom.xml?rev=929559&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/pom.xml (added)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/pom.xml Wed Mar 31 14:49:49 2010
@@ -0,0 +1,42 @@
+<?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>
+
+  <parent>
+    <artifactId>core-integration-testing</artifactId>
+    <groupId>org.apache.maven.its</groupId>
+    <version>2.1-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>core-it-toolchain</artifactId>
+
+  <name>Maven Integration Test Toolchain</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-toolchain</artifactId>
+      <version>2.0.10</version>
+    </dependency>
+  </dependencies>
+</project>

Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchain.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchain.java?rev=929559&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchain.java (added)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchain.java Wed Mar 31 14:49:49 2010
@@ -0,0 +1,62 @@
+package org.apache.maven.coreit.toolchain;
+
+/*
+ * 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 java.util.Map;
+
+import org.apache.maven.toolchain.Toolchain;
+import org.apache.maven.toolchain.ToolchainPrivate;
+import org.apache.maven.toolchain.model.ToolchainModel;
+
+/**
+ * @author Benjamin Bentmann
+ */
+public class CoreItToolchain
+    implements Toolchain, ToolchainPrivate
+{
+
+    private ToolchainModel model;
+
+    public CoreItToolchain( ToolchainModel model )
+    {
+        this.model = model;
+    }
+
+    public String getType()
+    {
+        return "coreit";
+    }
+
+    public String findTool( String toolName )
+    {
+        return toolName;
+    }
+
+    public ToolchainModel getModel()
+    {
+        return model;
+    }
+
+    public boolean matchesRequirements( Map requirements )
+    {
+        return true;
+    }
+
+}

Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchain.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchain.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchainFactory.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchainFactory.java?rev=929559&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchainFactory.java (added)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchainFactory.java Wed Mar 31 14:49:49 2010
@@ -0,0 +1,49 @@
+package org.apache.maven.coreit.toolchain;
+
+/*
+ * 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.toolchain.MisconfiguredToolchainException;
+import org.apache.maven.toolchain.ToolchainFactory;
+import org.apache.maven.toolchain.ToolchainPrivate;
+import org.apache.maven.toolchain.model.ToolchainModel;
+
+/**
+ * @author Benjamin Bentmann
+ */
+public class CoreItToolchainFactory
+    implements ToolchainFactory
+{
+
+    public ToolchainPrivate createDefaultToolchain()
+    {
+        return null;
+    }
+
+    public ToolchainPrivate createToolchain( ToolchainModel model )
+        throws MisconfiguredToolchainException
+    {
+        if ( model == null )
+        {
+            return null;
+        }
+        return new CoreItToolchain( model );
+    }
+
+}

Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchainFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/java/org/apache/maven/coreit/toolchain/CoreItToolchainFactory.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/META-INF/plexus/components.xml?rev=929559&view=auto
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/META-INF/plexus/components.xml (added)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/META-INF/plexus/components.xml Wed Mar 31 14:49:49 2010
@@ -0,0 +1,29 @@
+<!--
+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.
+-->
+
+<component-set>
+  <components>
+    <component>
+      <role>org.apache.maven.toolchain.ToolchainFactory</role>
+      <role-hint>coreit</role-hint>
+      <implementation>org.apache.maven.coreit.toolchain.CoreItToolchainFactory</implementation>
+      <instantiation-strategy>singleton</instantiation-strategy>
+    </component>
+  </components>
+</component-set>

Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/core-integration-testing/trunk/core-it-support/core-it-toolchain/src/main/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/core-integration-testing/trunk/core-it-support/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/pom.xml?rev=929559&r1=929558&r2=929559&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-it-support/pom.xml Wed Mar 31 14:49:49 2010
@@ -37,6 +37,7 @@ under the License.
   <modules>
     <module>core-it-plugins</module>
     <module>core-it-component</module>
+    <module>core-it-toolchain</module>
     <module>core-it-wagon</module>
     <module>core-it-support-artifacts</module>
     <module>maven-it-helper</module>