diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1021EqualAttachmentBuildNumberTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1021EqualAttachmentBuildNumberTest.java index 7247dcb928..b282b97e34 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1021EqualAttachmentBuildNumberTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1021EqualAttachmentBuildNumberTest.java @@ -48,6 +48,7 @@ public class MavenITmng1021EqualAttachmentBuildNumberTest extends AbstractMavenI verifier.setAutoclean(false); verifier.deleteDirectory("repo"); verifier.deleteArtifacts("org.apache.maven.its.mng1021"); + verifier.addCliArgument("-Dmaven.experimental.buildconsumer=false"); verifier.addCliArgument("initialize"); verifier.execute(); verifier.verifyErrorFreeLog(); diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3396DependencyManagementForOverConstrainedRangesTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3396DependencyManagementForOverConstrainedRangesTest.java index 83e1c3c478..9e34f8d594 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3396DependencyManagementForOverConstrainedRangesTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3396DependencyManagementForOverConstrainedRangesTest.java @@ -46,6 +46,7 @@ public class MavenITmng3396DependencyManagementForOverConstrainedRangesTest exte verifier.deleteArtifact(GROUP_ID, "A", "1.0", "jar"); verifier.deleteArtifact(GROUP_ID, "B", "1.0", "pom"); verifier.deleteArtifact(GROUP_ID, "B", "1.0", "jar"); + verifier.addCliArgument("-Dmaven.experimental.buildconsumer=false"); verifier.addCliArgument("install"); verifier.execute(); verifier.verifyErrorFreeLog(); @@ -59,6 +60,7 @@ public class MavenITmng3396DependencyManagementForOverConstrainedRangesTest exte verifier.deleteArtifact(GROUP_ID, "A", "3.0", "jar"); verifier.deleteArtifact(GROUP_ID, "plugin", "1.0", "pom"); verifier.deleteArtifact(GROUP_ID, "plugin", "1.0", "jar"); + verifier.addCliArgument("-Dmaven.experimental.buildconsumer=false"); verifier.addCliArgument("install"); verifier.execute(); verifier.verifyErrorFreeLog(); @@ -68,6 +70,7 @@ public class MavenITmng3396DependencyManagementForOverConstrainedRangesTest exte verifier = newVerifier(testDir.getAbsolutePath(), "remote"); verifier.deleteArtifact(GROUP_ID, "pluginuser", "1.0", "pom"); verifier.deleteArtifact(GROUP_ID, "pluginuser", "1.0", "jar"); + verifier.addCliArgument("-Dmaven.experimental.buildconsumer=false"); verifier.addCliArgument("install"); verifier.execute(); verifier.verifyErrorFreeLog(); diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6656BuildConsumer.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6656BuildConsumer.java index a5ec53118c..2258fa7372 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6656BuildConsumer.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6656BuildConsumer.java @@ -20,11 +20,13 @@ package org.apache.maven.it; import java.io.File; import java.io.IOException; +import java.util.List; import org.apache.maven.shared.utils.io.FileUtils; import org.apache.maven.shared.verifier.Verifier; import org.apache.maven.shared.verifier.util.ResourceExtractor; import org.junit.jupiter.api.Test; +import org.opentest4j.AssertionFailedError; /** * With the build-consumer the pom.xml will be adjusted during the process. @@ -77,6 +79,11 @@ public class MavenITmng6656BuildConsumer extends AbstractMavenIntegrationTestCas new File(verifier.getArtifactPath( "org.sonatype.mavenbook.multi", "parent", "0.9-MNG6656-SNAPSHOT", "pom"))); + assertTextEquals( + new File(testDir, "expected/parent-build.pom"), + new File(verifier.getArtifactPath( + "org.sonatype.mavenbook.multi", "parent", "0.9-MNG6656-SNAPSHOT", "pom", "build"))); + assertTextEquals( new File(testDir, "expected/simple-parent.pom"), new File(verifier.getArtifactPath( @@ -87,13 +94,32 @@ public class MavenITmng6656BuildConsumer extends AbstractMavenIntegrationTestCas new File(verifier.getArtifactPath( "org.sonatype.mavenbook.multi", "simple-weather", "0.9-MNG6656-SNAPSHOT", "pom"))); + assertTextEquals( + new File(testDir, "expected/simple-weather-build.pom"), + new File(verifier.getArtifactPath( + "org.sonatype.mavenbook.multi", "simple-weather", "0.9-MNG6656-SNAPSHOT", "pom", "build"))); + assertTextEquals( new File(testDir, "expected/simple-webapp.pom"), new File(verifier.getArtifactPath( "org.sonatype.mavenbook.multi", "simple-webapp", "0.9-MNG6656-SNAPSHOT", "pom"))); + + assertTextEquals( + new File(testDir, "expected/simple-webapp-build.pom"), + new File(verifier.getArtifactPath( + "org.sonatype.mavenbook.multi", "simple-webapp", "0.9-MNG6656-SNAPSHOT", "pom", "build"))); } static void assertTextEquals(File file1, File file2) throws IOException { - assertEquals(FileUtils.loadFile(file1), FileUtils.loadFile(file2)); + List s1 = FileUtils.loadFile(file1); + List s2 = FileUtils.loadFile(file2); + try { + assertEquals("Not same size", s1.size(), s2.size()); + for (int i = 0; i < s1.size(); i++) { + assertEquals("Mismatch line " + i, s1.get(i), s2.get(i)); + } + } catch (AssertionFailedError error) { + assertEquals(error.getMessage(), s1, s2); + } } } diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6957BuildConsumer.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6957BuildConsumer.java index 5b27a9142d..503b2fa367 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6957BuildConsumer.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6957BuildConsumer.java @@ -77,30 +77,60 @@ public class MavenITmng6957BuildConsumer extends AbstractMavenIntegrationTestCas new File(verifier.getArtifactPath( "org.sonatype.mavenbook.multi", "parent", "0.9-MNG6957-SNAPSHOT", "pom"))); + assertTextEquals( + new File(testDir, "expected/parent-build.pom"), + new File(verifier.getArtifactPath( + "org.sonatype.mavenbook.multi", "parent", "0.9-MNG6957-SNAPSHOT", "pom", "build"))); + assertTextEquals( new File(testDir, "expected/simple-parent.pom"), new File(verifier.getArtifactPath( "org.sonatype.mavenbook.multi", "simple-parent", "0.9-MNG6957-SNAPSHOT", "pom"))); + assertTextEquals( + new File(testDir, "expected/simple-parent-build.pom"), + new File(verifier.getArtifactPath( + "org.sonatype.mavenbook.multi", "simple-parent", "0.9-MNG6957-SNAPSHOT", "pom", "build"))); + assertTextEquals( new File(testDir, "expected/simple-weather.pom"), new File(verifier.getArtifactPath( "org.sonatype.mavenbook.multi", "simple-weather", "0.9-MNG6957-SNAPSHOT", "pom"))); + assertTextEquals( + new File(testDir, "expected/simple-weather-build.pom"), + new File(verifier.getArtifactPath( + "org.sonatype.mavenbook.multi", "simple-weather", "0.9-MNG6957-SNAPSHOT", "pom", "build"))); + assertTextEquals( new File(testDir, "expected/simple-webapp.pom"), new File(verifier.getArtifactPath( "org.sonatype.mavenbook.multi", "simple-webapp", "0.9-MNG6957-SNAPSHOT", "pom"))); + assertTextEquals( + new File(testDir, "expected/simple-webapp-build.pom"), + new File(verifier.getArtifactPath( + "org.sonatype.mavenbook.multi", "simple-webapp", "0.9-MNG6957-SNAPSHOT", "pom", "build"))); + assertTextEquals( new File(testDir, "expected/simple-testutils.pom"), new File(verifier.getArtifactPath( "org.sonatype.mavenbook.multi", "simple-testutils", "0.9-MNG6957-SNAPSHOT", "pom"))); + assertTextEquals( + new File(testDir, "expected/simple-testutils-build.pom"), + new File(verifier.getArtifactPath( + "org.sonatype.mavenbook.multi", "simple-testutils", "0.9-MNG6957-SNAPSHOT", "pom", "build"))); + assertTextEquals( new File(testDir, "expected/utils-parent.pom"), new File(verifier.getArtifactPath( "org.sonatype.mavenbook.multi", "utils-parent", "0.9-MNG6957-SNAPSHOT", "pom"))); + + assertTextEquals( + new File(testDir, "expected/utils-parent-build.pom"), + new File(verifier.getArtifactPath( + "org.sonatype.mavenbook.multi", "utils-parent", "0.9-MNG6957-SNAPSHOT", "pom", "build"))); } static void assertTextEquals(File file1, File file2) throws IOException { diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7228LeakyModelTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7228LeakyModelTest.java index f7a70094d6..1868f57c10 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7228LeakyModelTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7228LeakyModelTest.java @@ -21,6 +21,7 @@ package org.apache.maven.it; import java.io.File; import org.apache.commons.io.FileUtils; +import org.apache.maven.artifact.versioning.DefaultArtifactVersion; import org.apache.maven.shared.verifier.Verifier; import org.apache.maven.shared.verifier.util.ResourceExtractor; import org.junit.jupiter.api.Test; @@ -54,8 +55,12 @@ class MavenITmng7228LeakyModelTest extends AbstractMavenIntegrationTestCase { verifier.verifyErrorFreeLog(); - String pom = FileUtils.readFileToString( - new File(verifier.getArtifactPath("org.apache.maven.its.mng7228", "test", "1.0.0-SNAPSHOT", "pom"))); + String classifier = null; + if (getMavenVersion().compareTo(new DefaultArtifactVersion("4.0.0-alpha-7")) > 0) { + classifier = "build"; + } + String pom = FileUtils.readFileToString(new File( + verifier.getArtifactPath("org.apache.maven.its.mng7228", "test", "1.0.0-SNAPSHOT", "pom", classifier))); assertThat(pom, containsString("projectProperty")); assertThat(pom, not(containsString("activeProperty"))); diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent-build.pom b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent-build.pom new file mode 100644 index 0000000000..98906356ef --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent-build.pom @@ -0,0 +1,31 @@ + + + + org.sonatype.mavenbook.multi + parent + 0.9-${changelist}-SNAPSHOT + pom + Multi Chapter Parent Project + + + + simple-parent + + diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent.pom b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent.pom index d557a66ca7..d5ec0fc219 100644 --- a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent.pom +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent.pom @@ -1,30 +1,9 @@ - - + 4.0.0 org.sonatype.mavenbook.multi parent 0.9-MNG6656-SNAPSHOT pom Multi Chapter Parent Project - - - - + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent-build.pom b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent-build.pom new file mode 100644 index 0000000000..526699b414 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent-build.pom @@ -0,0 +1,46 @@ + + + + 4.0.0 + + org.sonatype.mavenbook.multi + parent + + simple-parent + pom + Multi Chapter Simple Parent Project + + + simple-weather + simple-webapp + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + + + diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent.pom b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent.pom index 88015cd715..f6e68a3dd8 100644 --- a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent.pom +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent.pom @@ -1,23 +1,5 @@ - - + 4.0.0 org.sonatype.mavenbook.multi @@ -27,18 +9,13 @@ under the License. simple-parent pom Multi Chapter Simple Parent Project - - - - org.apache.maven.plugins maven-compiler-plugin - - + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom new file mode 100644 index 0000000000..b7ea1daa38 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom @@ -0,0 +1,30 @@ + + + + + org.sonatype.mavenbook.multi + simple-parent + + simple-weather + jar + + Multi Chapter Simple Weather API + + diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather.pom b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather.pom index 0c1aedf05e..75d9dc2b15 100644 --- a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather.pom +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather.pom @@ -1,23 +1,5 @@ - - + 4.0.0 org.sonatype.mavenbook.multi @@ -25,8 +7,5 @@ under the License. 0.9-MNG6656-SNAPSHOT simple-weather - jar - Multi Chapter Simple Weather API - - + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp-build.pom b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp-build.pom new file mode 100644 index 0000000000..c07fcd10dc --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp-build.pom @@ -0,0 +1,46 @@ + + + + + org.sonatype.mavenbook.multi + simple-parent + + + simple-webapp + Multi Chapter Simple Web Application Project + + + org.sonatype.mavenbook.multi + simple-weather + + + + simple-webapp + + + + org.apache.maven.plugins + maven-war-plugin + 3.3.2 + + + + + diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp.pom b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp.pom index 680b417c22..ecd5348bf9 100644 --- a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp.pom +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp.pom @@ -1,30 +1,11 @@ - - + 4.0.0 org.sonatype.mavenbook.multi simple-parent 0.9-MNG6656-SNAPSHOT - simple-webapp Multi Chapter Simple Web Application Project @@ -39,11 +20,10 @@ under the License. - org.apache.maven.plugins maven-war-plugin 3.3.2 - + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml index 2c66f72126..baa41ff20e 100644 --- a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml @@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - - 4.0.0 + org.sonatype.mavenbook.multi parent 0.9-${changelist}-SNAPSHOT diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/pom.xml b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/pom.xml index 526699b414..706d334845 100644 --- a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/pom.xml @@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - - 4.0.0 + org.sonatype.mavenbook.multi parent diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-weather/pom.xml b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-weather/pom.xml index 61e50911e1..b7ea1daa38 100644 --- a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-weather/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-weather/pom.xml @@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - - 4.0.0 + org.sonatype.mavenbook.multi simple-parent diff --git a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-webapp/pom.xml b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-webapp/pom.xml index 94e0ebe04b..c07fcd10dc 100644 --- a/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-webapp/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-webapp/pom.xml @@ -17,8 +17,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - - 4.0.0 + org.sonatype.mavenbook.multi simple-parent diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent-build.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent-build.pom new file mode 100644 index 0000000000..bc932c61da --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent-build.pom @@ -0,0 +1,32 @@ + + + + 4.0.0 + org.sonatype.mavenbook.multi + parent + 0.9-${changelist}-SNAPSHOT + pom + Multi Chapter Parent Project + + + + simple-parent + + diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent.pom index 10700cb4e0..ecf4d09d0b 100644 --- a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent.pom +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent.pom @@ -1,22 +1,4 @@ - 4.0.0 org.sonatype.mavenbook.multi @@ -24,7 +6,4 @@ under the License. 0.9-MNG6957-SNAPSHOT pom Multi Chapter Parent Project - - - - + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent-build.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent-build.pom new file mode 100644 index 0000000000..89ee52ccc4 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent-build.pom @@ -0,0 +1,52 @@ + + + + 4.0.0 + + org.sonatype.mavenbook.multi + parent + + simple-parent + pom + Multi Chapter Simple Parent Project + + + simple-weather + simple-webapp + + + + simple-testutils + utils-parent + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 0.1-stub-SNAPSHOT + + + + + + diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent.pom index 1b15515163..4f402f6b62 100644 --- a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent.pom +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent.pom @@ -1,22 +1,4 @@ - 4.0.0 @@ -27,19 +9,14 @@ under the License. simple-parent pom Multi Chapter Simple Parent Project - - - - org.apache.maven.plugins maven-surefire-plugin 0.1-stub-SNAPSHOT - - + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils-build.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils-build.pom new file mode 100644 index 0000000000..75de31ce4c --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils-build.pom @@ -0,0 +1,28 @@ + + + + 4.0.0 + + org.sonatype.mavenbook.multi + utils-parent + ../utils-parent + + simple-testutils + diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils.pom index d902a3c6ce..dddf561608 100644 --- a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils.pom +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils.pom @@ -1,22 +1,4 @@ - 4.0.0 @@ -25,4 +7,4 @@ under the License. 0.9-MNG6957-SNAPSHOT simple-testutils - + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather-build.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather-build.pom new file mode 100644 index 0000000000..7fbe5bfa23 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather-build.pom @@ -0,0 +1,39 @@ + + + + 4.0.0 + + org.sonatype.mavenbook.multi + simple-parent + + simple-weather + jar + + Multi Chapter Simple Weather API + + + + org.sonatype.mavenbook.multi + simple-testutils + test + + + + diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather.pom index d4aa843d4c..b7bbabb92b 100644 --- a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather.pom +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather.pom @@ -1,22 +1,4 @@ - 4.0.0 @@ -25,17 +7,13 @@ under the License. 0.9-MNG6957-SNAPSHOT simple-weather - jar - Multi Chapter Simple Weather API - org.sonatype.mavenbook.multi simple-testutils - test 0.9-MNG6957-SNAPSHOT + test - diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp-build.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp-build.pom new file mode 100644 index 0000000000..655d0ccd17 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp-build.pom @@ -0,0 +1,47 @@ + + + + 4.0.0 + + org.sonatype.mavenbook.multi + simple-parent + + + simple-webapp + Multi Chapter Simple Web Application Project + + + org.sonatype.mavenbook.multi + simple-weather + + + + simple-webapp + + + + org.apache.maven.plugins + maven-war-plugin + 3.3.2 + + + + + diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp.pom index 9cc4868609..491e7bd9dc 100644 --- a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp.pom +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp.pom @@ -1,22 +1,4 @@ - 4.0.0 @@ -24,7 +6,6 @@ under the License. simple-parent 0.9-MNG6957-SNAPSHOT - simple-webapp Multi Chapter Simple Web Application Project @@ -39,11 +20,10 @@ under the License. - org.apache.maven.plugins maven-war-plugin 3.3.2 - + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent-build.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent-build.pom new file mode 100644 index 0000000000..933db5cdb0 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent-build.pom @@ -0,0 +1,28 @@ + + + + 4.0.0 + + org.sonatype.mavenbook.multi + simple-parent + + utils-parent + pom + diff --git a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent.pom b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent.pom index 00f3624642..22d4fdbcc5 100644 --- a/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent.pom +++ b/its/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent.pom @@ -1,22 +1,4 @@ - 4.0.0 @@ -26,4 +8,4 @@ under the License. utils-parent pom - + \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-7487-deadlock/plugin/pom.xml b/its/core-it-suite/src/test/resources/mng-7487-deadlock/plugin/pom.xml index 772f38ebc0..e6dc324228 100644 --- a/its/core-it-suite/src/test/resources/mng-7487-deadlock/plugin/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-7487-deadlock/plugin/pom.xml @@ -57,7 +57,7 @@ under the License. org.apache.maven.plugins maven-plugin-plugin - 3.6.4 + 3.9.0