From 9db98857a9e1d2dc1254d92f19d61572d058fcc8 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Thu, 12 Feb 2009 19:17:09 +0000 Subject: [PATCH] [MNG-3217] a plugin's dependencies can influence other plugins in a build o Added IT git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@743845 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/it/IntegrationTestSuite.java | 1 + ...venITmng3217InterPluginDependencyTest.java | 65 ++++++++++++++++ ...ITmng4026ReactorDependenciesOrderTest.java | 2 +- .../src/test/resources/mng-3217/pom.xml | 65 ++++++++++++++++ .../0.1/maven-it-plugin-touch-0.1.jar | Bin 0 -> 7930 bytes .../0.1/maven-it-plugin-touch-0.1.pom | 69 +++++++++++++++++ .../0.2/maven-it-plugin-touch-0.2.jar | Bin 0 -> 7925 bytes .../0.2/maven-it-plugin-touch-0.2.pom | 69 +++++++++++++++++ .../maven-it-plugin-touch/maven-metadata.xml | 14 ++++ .../maven/its/mng3217/maven-metadata.xml | 9 +++ .../src/test/resources/mng-3217/sub-1/pom.xml | 71 ++++++++++++++++++ .../src/test/resources/mng-3217/sub-2/pom.xml | 63 ++++++++++++++++ 12 files changed, 427 insertions(+), 1 deletion(-) create mode 100644 its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3217InterPluginDependencyTest.java create mode 100644 its/core-it-suite/src/test/resources/mng-3217/pom.xml create mode 100644 its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.1/maven-it-plugin-touch-0.1.jar create mode 100644 its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.1/maven-it-plugin-touch-0.1.pom create mode 100644 its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.2/maven-it-plugin-touch-0.2.jar create mode 100644 its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.2/maven-it-plugin-touch-0.2.pom create mode 100644 its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/maven-metadata.xml create mode 100644 its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-metadata.xml create mode 100644 its/core-it-suite/src/test/resources/mng-3217/sub-1/pom.xml create mode 100644 its/core-it-suite/src/test/resources/mng-3217/sub-2/pom.xml diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java b/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java index 7d6ae961bf..4fef8af01a 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java @@ -207,6 +207,7 @@ public class IntegrationTestSuite suite.addTestSuite( MavenITmng3268MultipleDashPCommandLineTest.class ); suite.addTestSuite( MavenITmng3259DepsDroppedInMultiModuleBuildTest.class ); suite.addTestSuite( MavenITmng3220ImportScopeTest.class ); + suite.addTestSuite( MavenITmng3217InterPluginDependencyTest.class ); suite.addTestSuite( MavenITmng3106ProfileMultipleActivatorsTest.class ); suite.addTestSuite( MavenITmng3099SettingsProfilesWithNoPomTest.class ); suite.addTestSuite( MavenITmng3052DepRepoAggregationTest.class ); diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3217InterPluginDependencyTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3217InterPluginDependencyTest.java new file mode 100644 index 0000000000..08bba19121 --- /dev/null +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3217InterPluginDependencyTest.java @@ -0,0 +1,65 @@ +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; + +/** + * This is a test set for MNG-3217. + * + * @author Benjamin Bentmann + * @version $Id$ + */ +public class MavenITmng3217InterPluginDependencyTest + extends AbstractMavenIntegrationTestCase +{ + + public MavenITmng3217InterPluginDependencyTest() + { + super( "[3.0-alpha-1,)" ); + } + + /** + * Verify that the dependency of plugin A on some plugin B does not influence the build of another module in the + * reactor that uses a different version of plugin B for normal build tasks. + */ + public void testitMNG3217() + throws Exception + { + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3217" ); + + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); + verifier.setAutoclean( false ); + verifier.deleteDirectory( "sub-1/target" ); + verifier.deleteDirectory( "sub-2/target" ); + verifier.deleteArtifacts( "org.apache.maven.its.mng3217" ); + verifier.filterFile( "pom.xml", "pom.xml", "UTF-8", verifier.newDefaultFilterProperties() ); + verifier.executeGoal( "validate" ); + verifier.verifyErrorFreeLog(); + verifier.resetStreams(); + + verifier.assertFilePresent( "sub-1/target/touch-1.txt" ); + verifier.assertFilePresent( "sub-2/target/touch-2.txt" ); + } + +} diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4026ReactorDependenciesOrderTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4026ReactorDependenciesOrderTest.java index c6ee36e759..eeeb597ae0 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4026ReactorDependenciesOrderTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4026ReactorDependenciesOrderTest.java @@ -26,7 +26,7 @@ import java.io.File; import java.util.List; /** - * This is a test set for MNG-4023. + * This is a test set for MNG-4026. * * @author Benjamin Bentmann * @version $Id$ diff --git a/its/core-it-suite/src/test/resources/mng-3217/pom.xml b/its/core-it-suite/src/test/resources/mng-3217/pom.xml new file mode 100644 index 0000000000..bf5c6c5e89 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-3217/pom.xml @@ -0,0 +1,65 @@ + + + + + + 4.0.0 + + org.apache.maven.its.mng3217 + parent + 1.0-SNAPSHOT + pom + + Maven Integration Test :: MNG-3217 + + Verify that the dependency of plugin A on some plugin B does not influence the build of another module in the + reactor that uses a different version of plugin B for normal build tasks. + + + + sub-1 + sub-2 + + + + + maven-core-it + file:///M:/maven/core-it/core-it-suite/src/test/resources/mng-3217/repo + + ignore + + + false + + + + + + maven-core-it + file:///M:/maven/core-it/core-it-suite/src/test/resources/mng-3217/repo + + ignore + + + false + + + + diff --git a/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.1/maven-it-plugin-touch-0.1.jar b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.1/maven-it-plugin-touch-0.1.jar new file mode 100644 index 0000000000000000000000000000000000000000..db21e265f151c2b5288365f68507efc228ea12f4 GIT binary patch literal 7930 zcmeHMc|4Tg_a8*EWE%{!h3rGth^#~QeVfR>MwYQg_9PM^WtU~h2q8jaEXg{u@0GoU zLMcnhcP2`U^!vPCpZ|WJJFl7Nnb&jP=bn4+x#v0eeYMr_4iEvbZ6#e@^6Smc&mqiJ z1EMd-ucE0WpuHnT2zZYXyR{lsW{Y|3kNE4PP97<A_+}R1t63OJzBe+=-FNF< zEWK^de;>o|!Ur(It{(RLND%KxSh`tSJJ{|cNb$4a-+Bh^CGO_zW$(D3z0CWdtX(~9 z9XyCPA zSVUn{K(KVXX&n0CNZ^C&FUCu3yamCmJ+hFqhx^sFX%@RqR~Pd7HWJeNi+Dd==0Sni zbRvg%UoMi0P2C5IIC2_K5F#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PSD?`QUXzY$}P1a`3+zhVD2-&l5h z7k_b2{PzQcKM&z&$5-s9=I^n9T_(FWE&pBFc4S}=6#i@>mPp-IDuyA7es=O7NLHA@ zZ;`V15yLm_xgnt#-M_5SZ3D4%)UJtpbG^H2WC?y+d)sc?Sp$1BzrX7KvG~I>V&7VB zh&LuucM7>*LBH;ucR?Yf|I}wc@1%Eo+PjM0?g^WACNat67Z3iWrrw?Ry{hV6&AgcP z@=r8>_4*z)_P74_uCjN17X7dEx5rfN^*-M1c9`bh7$&yc-M6#08a^f>0RRx@!-NT^ J$F$gg{{yKgw($S} literal 0 HcmV?d00001 diff --git a/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.1/maven-it-plugin-touch-0.1.pom b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.1/maven-it-plugin-touch-0.1.pom new file mode 100644 index 0000000000..9af1061c83 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.1/maven-it-plugin-touch-0.1.pom @@ -0,0 +1,69 @@ + + + + + + 4.0.0 + + org.apache.maven.its.mng3217 + maven-it-plugin-touch + 0.1 + maven-plugin + + Maven Integration Test Plugin :: Touch + + A test plugin that creates an empty file. + + 2008 + + + + maven-core-it + file:///${basedir}/repo + + + + + true + + + + + org.apache.maven + maven-plugin-api + 2.0 + + + + + + + . + + pom.xml + src/** + + + + src/main/resources + + + + diff --git a/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.2/maven-it-plugin-touch-0.2.jar b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.2/maven-it-plugin-touch-0.2.jar new file mode 100644 index 0000000000000000000000000000000000000000..a9feb8e603f274e19cf7e3d185a828790c526ceb GIT binary patch literal 7925 zcmeHMc{r5q_aFNjV+|$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its/mng3217/maven-it-plugin-touch/0.2/maven-it-plugin-touch-0.2.pom b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.2/maven-it-plugin-touch-0.2.pom new file mode 100644 index 0000000000..53409e493c --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/0.2/maven-it-plugin-touch-0.2.pom @@ -0,0 +1,69 @@ + + + + + + 4.0.0 + + org.apache.maven.its.mng3217 + maven-it-plugin-touch + 0.2 + maven-plugin + + Maven Integration Test Plugin :: Touch + + A test plugin that creates an empty file. + + 2008 + + + + maven-core-it + file:///${basedir}/repo + + + + + true + + + + + org.apache.maven + maven-plugin-api + 2.0 + + + + + + + . + + pom.xml + src/** + + + + src/main/resources + + + + diff --git a/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/maven-metadata.xml new file mode 100644 index 0000000000..24d75e8acd --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-it-plugin-touch/maven-metadata.xml @@ -0,0 +1,14 @@ + + org.apache.maven.its.mng3217 + maven-it-plugin-touch + 0.1 + + 0.2 + 0.2 + + 0.1 + 0.2 + + 20090212184809 + + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-metadata.xml new file mode 100644 index 0000000000..747b250ed3 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-3217/repo/org/apache/maven/its/mng3217/maven-metadata.xml @@ -0,0 +1,9 @@ + + + + Maven Integration Test Plugin :: Touch + ittouch + maven-it-plugin-touch + + + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-3217/sub-1/pom.xml b/its/core-it-suite/src/test/resources/mng-3217/sub-1/pom.xml new file mode 100644 index 0000000000..8a70d2b86f --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-3217/sub-1/pom.xml @@ -0,0 +1,71 @@ + + + + + + 4.0.0 + + + org.apache.maven.its.mng3217 + parent + 1.0-SNAPSHOT + + + org.apache.maven.its.mng3217 + test-1 + 1.0-SNAPSHOT + + Maven Integration Test :: MNG-3217 :: Module 1 + + Verify that the dependency of plugin A on some plugin B does not influence the build of another module in the + reactor that uses a different version of plugin B for normal build tasks. + + + + + + org.apache.maven.its.plugins + maven-it-plugin-log-file + 2.1-SNAPSHOT + + target/touch-1.txt + + + + test-1 + validate + + reset + + + + + + + org.apache.maven.its.mng3217 + maven-it-plugin-touch + + 0.1 + + + + + + diff --git a/its/core-it-suite/src/test/resources/mng-3217/sub-2/pom.xml b/its/core-it-suite/src/test/resources/mng-3217/sub-2/pom.xml new file mode 100644 index 0000000000..df36dec7ed --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-3217/sub-2/pom.xml @@ -0,0 +1,63 @@ + + + + + + 4.0.0 + + + org.apache.maven.its.mng3217 + parent + 1.0-SNAPSHOT + + + org.apache.maven.its.mng3217 + test-2 + 1.0-SNAPSHOT + + Maven Integration Test :: MNG-3217 :: Module 2 + + Verify that the dependency of plugin A on some plugin B does not influence the build of another module in the + reactor that uses a different version of plugin B for normal build tasks. + + + + + + org.apache.maven.its.mng3217 + maven-it-plugin-touch + + 0.2 + + target/touch-2.txt + + + + test-2 + validate + + touch + + + + + + +