From 01a18ac944622601eaa3eb978b13613b8a2d3a7b Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Mon, 14 Sep 2009 15:19:31 +0000 Subject: [PATCH] [MNG-4357] [regression] Custom packagings from build extensions are not reliably loaded during a reactor build o Added IT git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@814691 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/it/IntegrationTestSuite.java | 1 + ...ifecycleMappingDiscoveryInReactorTest.java | 72 ++++++++++++++++++ .../src/test/resources/mng-4357/mod-a/pom.xml | 46 +++++++++++ .../src/test/resources/mng-4357/mod-b/pom.xml | 46 +++++++++++ .../src/test/resources/mng-4357/pom.xml | 40 ++++++++++ .../mng4357/extension/0.1/extension-0.1.jar | Bin 0 -> 9080 bytes .../mng4357/extension/0.1/extension-0.1.pom | 70 +++++++++++++++++ .../mng4357/extension/0.2/extension-0.2.jar | Bin 0 -> 9081 bytes .../mng4357/extension/0.2/extension-0.2.pom | 70 +++++++++++++++++ .../its/mng4357/extension/maven-metadata.xml | 15 ++++ .../maven/its/mng4357/maven-metadata.xml | 10 +++ .../resources/mng-4357/settings-template.xml | 55 +++++++++++++ 12 files changed, 425 insertions(+) create mode 100644 its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4357LifecycleMappingDiscoveryInReactorTest.java create mode 100644 its/core-it-suite/src/test/resources/mng-4357/mod-a/pom.xml create mode 100644 its/core-it-suite/src/test/resources/mng-4357/mod-b/pom.xml create mode 100644 its/core-it-suite/src/test/resources/mng-4357/pom.xml create mode 100644 its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.1/extension-0.1.jar create mode 100644 its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.1/extension-0.1.pom create mode 100644 its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.2/extension-0.2.jar create mode 100644 its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.2/extension-0.2.pom create mode 100644 its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/maven-metadata.xml create mode 100644 its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/maven-metadata.xml create mode 100644 its/core-it-suite/src/test/resources/mng-4357/settings-template.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 3c2452a9fd..c7f62b20d0 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 @@ -85,6 +85,7 @@ public class IntegrationTestSuite // suite.addTestSuite( MavenIT0109ReleaseUpdateTest.class ); // suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); -- MNG-3137 + suite.addTestSuite( MavenITmng4357LifecycleMappingDiscoveryInReactorTest.class ); suite.addTestSuite( MavenITmng4355ExtensionAutomaticVersionResolutionTest.class ); suite.addTestSuite( MavenITmng4353PluginDependencyResolutionFromPomRepoTest.class ); suite.addTestSuite( MavenITmng4350LifecycleMappingExecutionOrderTest.class ); diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4357LifecycleMappingDiscoveryInReactorTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4357LifecycleMappingDiscoveryInReactorTest.java new file mode 100644 index 0000000000..ba6b724d51 --- /dev/null +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4357LifecycleMappingDiscoveryInReactorTest.java @@ -0,0 +1,72 @@ +package org.apache.maven.it; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import org.apache.maven.it.Verifier; +import org.apache.maven.it.util.ResourceExtractor; + +import java.io.File; +import java.util.Properties; + +/** + * This is a test set for MNG-4357. + * + * @author Benjamin Bentmann + */ +public class MavenITmng4357LifecycleMappingDiscoveryInReactorTest + extends AbstractMavenIntegrationTestCase +{ + + public MavenITmng4357LifecycleMappingDiscoveryInReactorTest() + { + super( "[2.1.0,)" ); + } + + /** + * Test that different projects in a reactor build can use different versions of the same extension. + * This should still hold true if the two versions of the extension provide the same set of components. + */ + public void testit() + throws Exception + { + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-4357" ); + + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); + verifier.setAutoclean( false ); + verifier.deleteDirectory( "target" ); + verifier.deleteDirectory( "mod-a/target" ); + verifier.deleteDirectory( "mod-b/target" ); + verifier.deleteArtifacts( "org.apache.maven.its.mng4357" ); + Properties filterProps = verifier.newDefaultFilterProperties(); + verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", filterProps ); + verifier.getCliOptions().add( "--settings" ); + verifier.getCliOptions().add( "settings.xml" ); + verifier.executeGoal( "validate" ); + verifier.verifyErrorFreeLog(); + verifier.resetStreams(); + + verifier.assertFilePresent( "mod-a/target/old.txt" ); + verifier.assertFileNotPresent( "mod-a/target/new.txt" ); + + verifier.assertFileNotPresent( "mod-b/target/old.txt" ); + verifier.assertFilePresent( "mod-b/target/new.txt" ); + } + +} diff --git a/its/core-it-suite/src/test/resources/mng-4357/mod-a/pom.xml b/its/core-it-suite/src/test/resources/mng-4357/mod-a/pom.xml new file mode 100644 index 0000000000..c6df928259 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-4357/mod-a/pom.xml @@ -0,0 +1,46 @@ + + + + + + 4.0.0 + + org.apache.maven.its.mng4357 + mod-a + 0.1 + maven-core-it + + Maven Integration Test :: MNG-4357 :: Module A + + Test that different projects in a reactor build can use different versions of the same extension. + This should still hold true if the two versions of the extension provide the same set of components. + + + + + + org.apache.maven.its.mng4357 + extension + 0.1 + true + + + + diff --git a/its/core-it-suite/src/test/resources/mng-4357/mod-b/pom.xml b/its/core-it-suite/src/test/resources/mng-4357/mod-b/pom.xml new file mode 100644 index 0000000000..0e91da9d71 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-4357/mod-b/pom.xml @@ -0,0 +1,46 @@ + + + + + + 4.0.0 + + org.apache.maven.its.mng4357 + mod-b + 0.1 + maven-core-it + + Maven Integration Test :: MNG-4357 :: Module B + + Test that different projects in a reactor build can use different versions of the same extension. + This should still hold true if the two versions of the extension provide the same set of components. + + + + + + org.apache.maven.its.mng4357 + extension + 0.2 + true + + + + diff --git a/its/core-it-suite/src/test/resources/mng-4357/pom.xml b/its/core-it-suite/src/test/resources/mng-4357/pom.xml new file mode 100644 index 0000000000..b4aa3f16e0 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-4357/pom.xml @@ -0,0 +1,40 @@ + + + + + + 4.0.0 + + org.apache.maven.its.mng4357 + test + 0.1 + pom + + Maven Integration Test :: MNG-4357 + + Test that different projects in a reactor build can use different versions of the same extension. + This should still hold true if the two versions of the extension provide the same set of components. + + + + mod-a + mod-b + + diff --git a/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.1/extension-0.1.jar b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.1/extension-0.1.jar new file mode 100644 index 0000000000000000000000000000000000000000..85506d674bbadbbfe383cb5343bf8bd6360118f9 GIT binary patch literal 9080 zcmeHNc|4SD_aFN@3|T@VvLs}yK_*cqdrX!r$;8YUdj`pxeJPTqlqF=TWX+y^384sO z*I3Kaf`=0M%{(-tlAh=N{rSF^&zRfH`F^i+pX)m3zRo#xG|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ySN%(Bxr>%ws3y%IKd@6x&Uti&-+4?c#_mC+l@7%%X+-WwlD?hF6$ zB^!$DuqJyHE4R|(Ox8SGI*tCoP^6yM-%7UZZm25nQ1C1hT5R-gS+Ave2$Cgxj!Kpq znSG#TVOjXSk=DHvJQ+ykMb`(e8vc|nSoL(PZZNj%w0A5%cA&Yn5lBbEeMTfwkuNPGtg8ht8xs zLkjiZzfTYoGmT#OctGXD7qj_;)ru~>JuFbYHWA#O^pK>sr7=+^JDBfsy&LGJ^X`Vs@;ro zuiKj^-AS;J(ENoEr8mp1sHd6+b<~uZR3X@_*AfuCc^1A*~PE5PEnk_2*%l{N8pkT@r_cD_}?Fh zqj5QyojpoM`Y?D)>FVdI>5+fQgm804*kjNR!~z~Q;5x3vy7e>%`HwmOcLx058SsB+ z!2g;vAU+uFeR?*;4Hq!Haj%pAufXBx@WS|!=8G@l6JT4KS44(in??A}(#F6~T!p(N zFnsSB5Vgj4%f5@_-|?NMje!Tx;4TSZLec#9XnZqfW8l#oB;Wf`zenIZQAEViO$4Dc z@_Qh@Gerbi{s{c@ed0S+M0oUe@Xg}gPNv2;XoxH=JFpPCBfr0+AB{(et1IG9NIOlB z?`#pL7v4l{_PKsP5x&z!gq_|B+w6P&9*ggM5wRY>U^n_;zsKVnD@1(Ow)lUr`ac?e zbSIiW?*+V*5q09h<)?(B>Gn;x?|JD?YlH8c5lJooIq5&xDfmtrkvnfIH}NdJlXCdZ z8j%3IJpsY-cVgoIPV{$_g6)W^5SV@mA=`J}zH_Gen&Jov=#7=!Fh0I=NYrcl zUImfnBCg&@pxHLJ_?heH(ms(Z0$02E*M9?Mqak>#knr{UzB5t0Fe+Khpb$?UNs(al-!NIks8!?T$;tsp@gD^xqhYcsuy1h=(T~ U4GKy;>t5VXBW`mia^nB`KWpwMl>h($ literal 0 HcmV?d00001 diff --git a/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.1/extension-0.1.pom b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.1/extension-0.1.pom new file mode 100644 index 0000000000..3d0d6ae10f --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.1/extension-0.1.pom @@ -0,0 +1,70 @@ + + + + + + 4.0.0 + + org.apache.maven.its.mng4357 + extension + 0.1 + maven-plugin + + Maven Integration Test :: MNG-4357 :: Extension + + Test that different projects in a reactor build can use different versions of the same extension. + This should still hold true if the two versions of the extension provide the same set of components. + + 2009 + + + true + + + + + maven-core-it + file:///${basedir}/repo + + + + + + 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-4357/repo/org/apache/maven/its/mng4357/extension/0.2/extension-0.2.jar b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.2/extension-0.2.jar new file mode 100644 index 0000000000000000000000000000000000000000..22f34a99d999ea8b3ce47944dacac2ff539f01c0 GIT binary patch literal 9081 zcmeHNc|6qJ_aFPdq_HoNCHualK^Xg?H?rQS6x+O zB_T~cH4%etF=D_Iv{=`u11<#paRB-oxLZtDNl#Nv)yP;_S8YYNvqMK)Ncb6rwh(`J zXHU7IXurhdw5Om}cblNLkTNmR8oj^SoqUJ`7;bCng@v%98lIAzrgYC_@r~DtSk1@>7%>SMe zM$I?Q&P?Q_KLg z@@df zxNr4(;tQaN^&7R-I0G+R!F%;7rVLz{ZHXuut60pr-!TdD+PA(_=Y1xY&EQCfh#D=s zWYrd(Vp;l9shKSfblcSszw-kn1IwX)K%RYK=~)35_}xX#Ffa$Vs}$?A)p`}`rZB65 zvLZ}p7qYm5NSZoEWcD1iZ8to?w<;?@C<(kf{oBhU8P)h zBO%OmX&`M>$n?mbdDv{*#&~{+%Iaoc!sz;I1Y=LGV?<~Zp|^EaL*BYn_xLe>*-$%U zm$&4ZWpmPBSfn z)#Dqia|AYgMMrZURKStP6rfCG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Tzz~c8B3d(_sHu zV_HpH0|TBzzuf`vRL%ECW4bY01A}J7`O%2lAAxB_VG*Eh#7=8ue;}qcg$3IG4E*zR zVp>&L_?5lj+r_(sOpWQ#U|HG^VA*Mp?EgeR8;=lOSHxVA4pNV4ZDG~(ZX>oEUHdD- zw7Re`{oSzb#@GH>OzR7a4fqYa)d<@kkLj#n@kM*$|H112Z1`6P(foNYV4Ms)rz7b6 zbmwlmch~JlUV6~lU|MHbQu}{S`VV#rrj>@}F4@hEy-Xi8IZSH}OE9%J!H(k}#Kif7 z=2>+-df2m<6|m^*m>>UtiaNoN7oy7X!cAl ze&zbLw2$RVK-Vt*b)o-P`rWr@OfB@sK!rR+N5t)0@vop?t0!1cJv!#^*!|!=yI(Ek zS7pDZYglD<={0+I+p$$Lt!5WqY8U@GSDU<#IUlVzgp0n KJCh0X+y4Oo5Hl|T literal 0 HcmV?d00001 diff --git a/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.2/extension-0.2.pom b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.2/extension-0.2.pom new file mode 100644 index 0000000000..865bc81b25 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/0.2/extension-0.2.pom @@ -0,0 +1,70 @@ + + + + + + 4.0.0 + + org.apache.maven.its.mng4357 + extension + 0.2 + maven-plugin + + Maven Integration Test :: MNG-4357 :: Extension + + Test that different projects in a reactor build can use different versions of the same extension. + This should still hold true if the two versions of the extension provide the same set of components. + + 2009 + + + true + + + + + maven-core-it + file:///${basedir}/repo + + + + + + 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-4357/repo/org/apache/maven/its/mng4357/extension/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/maven-metadata.xml new file mode 100644 index 0000000000..4b84b226be --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/extension/maven-metadata.xml @@ -0,0 +1,15 @@ + + + org.apache.maven.its.mng4357 + extension + 0.1 + + 0.2 + 0.2 + + 0.1 + 0.2 + + 20090914144616 + + diff --git a/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/maven-metadata.xml new file mode 100644 index 0000000000..83b1ca62e5 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-4357/repo/org/apache/maven/its/mng4357/maven-metadata.xml @@ -0,0 +1,10 @@ + + + + + Maven Integration Test :: MNG-4357 :: Extension + extension + extension + + + diff --git a/its/core-it-suite/src/test/resources/mng-4357/settings-template.xml b/its/core-it-suite/src/test/resources/mng-4357/settings-template.xml new file mode 100644 index 0000000000..cde4215860 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-4357/settings-template.xml @@ -0,0 +1,55 @@ + + + + + + + + maven-core-it-repo + + + maven-core-it + @baseurl@/repo + + ignore + + + false + + + + + + maven-core-it + @baseurl@/repo + + ignore + + + false + + + + + + + maven-core-it-repo + +