You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2025/12/21 17:34:22 UTC
(maven-integration-testing) branch maven-3.9.x updated: Cleanup tests used only with Maven 4.x
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch maven-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
The following commit(s) were added to refs/heads/maven-3.9.x by this push:
new 51653fcde Cleanup tests used only with Maven 4.x
51653fcde is described below
commit 51653fcde217a4d11ae502e94a432d8e20a5cf0d
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Dec 21 11:07:45 2025 +0100
Cleanup tests used only with Maven 4.x
As we have copied test into Maven core we don't need it here for 3.x
---
...00DependencyManagementImportExclusionsTest.java | 75 --
.../maven/it/MavenITmng5760ResumeFeatureTest.java | 253 -----
.../MavenITmng6401ProxyPortInterpolationTest.java | 60 --
.../maven/it/MavenITmng6656BuildConsumer.java | 125 ---
...mng6772NestedImportScopeRepositoryOverride.java | 88 --
.../maven/it/MavenITmng6957BuildConsumer.java | 139 ---
.../MavenITmng7390SelectModuleOutsideCwdTest.java | 134 ---
.../maven/it/MavenITmng7629SubtreeBuildTest.java | 59 --
.../it/MavenITmng7836AlternativePomSyntaxTest.java | 75 --
...venITmng7891ConfigurationForExtensionsTest.java | 81 --
.../org/apache/maven/it/TestSuiteOrdering.java | 10 -
.../src/test/resources/mng-5600/exclusions/pom.xml | 80 --
.../org/apache/maven/its/mng5600/bom/0/bom-0.pom | 44 -
.../test/resources/mng-5600/settings-template.xml | 43 -
.../four-modules/module-a/pom.xml | 42 -
.../test/java/org/apache/maven/it/TestCase.java | 52 -
.../four-modules/module-b/pom.xml | 42 -
.../test/java/org/apache/maven/it/TestCase.java | 52 -
.../four-modules/module-c/pom.xml | 50 -
.../test/java/org/apache/maven/it/TestCase.java | 52 -
.../four-modules/module-d/pom.xml | 50 -
.../test/java/org/apache/maven/it/TestCase.java | 52 -
.../mng-5760-resume-feature/four-modules/pom.xml | 54 -
.../mng-5760-resume-feature/no-project/.gitkeep | 0
.../parent-dependent/module-a/pom.xml | 42 -
.../test/java/org/apache/maven/it/TestCase.java | 51 -
.../parent-dependent/module-b/pom.xml | 42 -
.../test/java/org/apache/maven/it/TestCase.java | 51 -
.../parent-dependent/module-c/pom.xml | 50 -
.../test/java/org/apache/maven/it/TestCase.java | 51 -
.../parent-dependent/pom.xml | 53 -
.../parent-independent/module-a/pom.xml | 47 -
.../test/java/org/apache/maven/it/TestCase.java | 51 -
.../parent-independent/module-b/pom.xml | 47 -
.../test/java/org/apache/maven/it/TestCase.java | 51 -
.../parent-independent/pom.xml | 43 -
.../mng-6401-proxy-port-interpolation/pom.xml | 57 --
.../mng-6401-proxy-port-interpolation/settings.xml | 33 -
.../expected/parent-build.pom | 31 -
.../mng-6656-buildconsumer/expected/parent.pom | 9 -
.../expected/simple-parent-build.pom | 46 -
.../expected/simple-parent.pom | 21 -
.../expected/simple-weather-build.pom | 30 -
.../expected/simple-weather.pom | 8 -
.../expected/simple-webapp-build.pom | 46 -
.../expected/simple-webapp.pom | 16 -
.../test/resources/mng-6656-buildconsumer/pom.xml | 31 -
.../mng-6656-buildconsumer/simple-parent/pom.xml | 45 -
.../simple-parent/simple-weather/pom.xml | 30 -
.../simple-parent/simple-webapp/pom.xml | 46 -
.../mng-6772-override-in-project/pom-template.xml | 53 -
.../repo/.gitattributes | 3 -
.../org/apache/maven/its/mng6772/a/0.1/a-0.1.pom | 41 -
.../apache/maven/its/mng6772/a/0.1/a-0.1.pom.md5 | 1 -
.../apache/maven/its/mng6772/a/0.1/a-0.1.pom.sha1 | 1 -
.../org/apache/maven/its/mng6772/b/0.1/b-0.1.pom | 39 -
.../apache/maven/its/mng6772/b/0.1/b-0.1.pom.md5 | 1 -
.../apache/maven/its/mng6772/b/0.1/b-0.1.pom.sha1 | 1 -
.../settings-override.xml | 23 -
.../expected/parent-build.pom | 32 -
.../mng-6957-buildconsumer/expected/parent.pom | 9 -
.../expected/simple-parent-build.pom | 52 -
.../expected/simple-parent.pom | 22 -
.../expected/simple-testutils-build.pom | 28 -
.../expected/simple-testutils.pom | 7 -
.../expected/simple-weather-build.pom | 39 -
.../expected/simple-weather.pom | 16 -
.../expected/simple-webapp-build.pom | 47 -
.../expected/simple-webapp.pom | 16 -
.../expected/utils-parent-build.pom | 28 -
.../expected/utils-parent.pom | 11 -
.../test/resources/mng-6957-buildconsumer/pom.xml | 32 -
.../mng-6957-buildconsumer/simple-parent/pom.xml | 52 -
.../simple-parent/simple-testutils/pom.xml | 28 -
.../simple-parent/simple-weather/pom.xml | 39 -
.../simple-parent/simple-webapp/pom.xml | 47 -
.../simple-parent/utils-parent/pom.xml | 28 -
.../mng-7390-pl-outside-cwd/.mvn/.gitkeep | 0
.../mng-7390-pl-outside-cwd/module-a/pom.xml | 32 -
.../mng-7390-pl-outside-cwd/module-b/pom.xml | 32 -
.../test/resources/mng-7390-pl-outside-cwd/pom.xml | 66 --
.../test/resources/mng-7629/.mvn/placeholder.txt | 0
.../src/test/resources/mng-7629/child-1/pom.xml | 62 --
.../java/org/apache/maven/its/mng7629/Test.java | 21 -
.../mng-7629/child-1/src/main/mdo/settings.mdo | 1083 --------------------
.../src/test/resources/mng-7629/child-2/pom.xml | 70 --
core-it-suite/src/test/resources/mng-7629/pom.xml | 33 -
.../maven-hocon-extension/pom.xml | 143 ---
.../org/apache/maven/hocon/HoconModelReader.java | 64 --
.../java/org/apache/maven/hocon/PathSource.java | 56 -
.../maven-hocon-extension/src/mdo/hocon-reader.vm | 206 ----
.../java/org/apache/maven/hocon/ParsingTest.java | 42 -
.../src/test/resources/pom.hocon | 36 -
.../simple/.mvn/extensions.xml | 26 -
.../simple/pom.hocon | 37 -
.../build-extension/pom.xml | 21 -
.../core-extension/.mvn/extensions.xml | 13 -
.../core-extension/pom.xml | 6 -
.../extension/pom.xml | 41 -
.../maven/its/mng7891/MyLifecycleParticipant.java | 51 -
100 files changed, 5577 deletions(-)
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5600DependencyManagementImportExclusionsTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5600DependencyManagementImportExclusionsTest.java
deleted file mode 100644
index d75fc7970..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5600DependencyManagementImportExclusionsTest.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.it;
-
-import java.io.File;
-import java.util.Properties;
-
-import org.apache.maven.shared.verifier.Verifier;
-import org.apache.maven.shared.verifier.util.ResourceExtractor;
-import org.junit.jupiter.api.Test;
-
-/**
- * [MNG-5600] Dependency management import should support exclusions.
- *
- * @author Christian Schulte
- */
-class MavenITmng5600DependencyManagementImportExclusionsTest extends AbstractMavenIntegrationTestCase {
-
- MavenITmng5600DependencyManagementImportExclusionsTest() {
- super("[4.0.0-alpha-5,)");
- }
-
- @Test
- public void testCanExcludeDependenciesFromImport() throws Exception {
- final File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-5600/exclusions");
-
- Verifier verifier = newVerifier(testDir.getAbsolutePath());
- verifier.setAutoclean(false);
- verifier.filterFile("../settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterMap());
-
- verifier.addCliArguments("-s", "settings.xml");
- verifier.addCliArguments("clean", "verify");
- verifier.execute();
- verifier.verifyErrorFreeLog();
-
- final Properties properties = verifier.loadProperties("target/project.properties");
- assertEquals("1", properties.getProperty("project.dependencyManagement.dependencies"));
- assertEquals(
- "commons-lang:commons-lang:jar",
- properties.getProperty("project.dependencyManagement.dependencies.0.managementKey"));
-
- assertEquals("2", properties.getProperty("project.dependencyManagement.dependencies.0.exclusions"));
- assertEquals(
- "commons-io",
- properties.getProperty("project.dependencyManagement.dependencies.0.exclusions.0.groupId"));
-
- assertEquals(
- "commons-io",
- properties.getProperty("project.dependencyManagement.dependencies.0.exclusions.0.artifactId"));
-
- assertEquals(
- "commons-logging",
- properties.getProperty("project.dependencyManagement.dependencies.0.exclusions.1.groupId"));
-
- assertEquals(
- "commons-logging",
- properties.getProperty("project.dependencyManagement.dependencies.0.exclusions.1.artifactId"));
- }
-}
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5760ResumeFeatureTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5760ResumeFeatureTest.java
deleted file mode 100644
index 580582a70..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5760ResumeFeatureTest.java
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.it;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.List;
-
-import org.apache.maven.shared.verifier.VerificationException;
-import org.apache.maven.shared.verifier.Verifier;
-import org.apache.maven.shared.verifier.util.ResourceExtractor;
-import org.junit.jupiter.api.Test;
-
-/**
- * This is a collection of test cases for <a href="https://issues.apache.org/jira/browse/MNG-5760">MNG-5760</a>,
- * <code>--resume</code> / <code>-r</code> in case of build failures.
- *
- * The test uses a multi-module project with three modules:
- * <ul>
- * <li>module-a</li>
- * <li>module-b</li>
- * <li>module-c (depends on module-b)</li>
- * </ul>
- *
- * @author Maarten Mulders
- * @author Martin Kanters
- */
-public class MavenITmng5760ResumeFeatureTest extends AbstractMavenIntegrationTestCase {
- private final File parentDependentTestDir;
- private final File parentIndependentTestDir;
- private final File noProjectTestDir;
- private final File fourModulesTestDir;
-
- public MavenITmng5760ResumeFeatureTest() throws IOException {
- super("[4.0.0-alpha-1,)");
- this.parentDependentTestDir =
- ResourceExtractor.simpleExtractResources(getClass(), "/mng-5760-resume-feature/parent-dependent");
- this.parentIndependentTestDir =
- ResourceExtractor.simpleExtractResources(getClass(), "/mng-5760-resume-feature/parent-independent");
- this.noProjectTestDir =
- ResourceExtractor.simpleExtractResources(getClass(), "/mng-5760-resume-feature/no-project");
- this.fourModulesTestDir =
- ResourceExtractor.simpleExtractResources(getClass(), "/mng-5760-resume-feature/four-modules");
- }
-
- /**
- * Tests that the hint at the end of a failed build mentions <code>--resume</code> instead of <code>--resume-from</code>.
- *
- * @throws Exception in case of failure
- */
- @Test
- public void testShouldSuggestToResumeWithoutArgs() throws Exception {
- Verifier verifier = newVerifier(parentDependentTestDir.getAbsolutePath());
- verifier.addCliArgument("-Dmodule-b.fail=true");
-
- try {
- verifier.addCliArgument("test");
- verifier.execute();
- fail("Expected this invocation to fail");
- } catch (final VerificationException ve) {
- verifier.verifyTextInLog("mvn [args] -r");
- verifyTextNotInLog(verifier, "mvn [args] -rf :module-b");
- }
-
- // New build with -r should resume the build from module-b, skipping module-a since it has succeeded already.
- verifier = newVerifier(parentDependentTestDir.getAbsolutePath());
- verifier.addCliArgument("-r");
- verifier.addCliArgument("test");
- verifier.execute();
- verifyTextNotInLog(verifier, "Building module-a 1.0");
- verifier.verifyTextInLog("Building module-b 1.0");
- verifier.verifyTextInLog("Building module-c 1.0");
- }
-
- @Test
- public void testShouldSkipSuccessfulProjects() throws Exception {
- Verifier verifier = newVerifier(parentDependentTestDir.getAbsolutePath());
- verifier.addCliArgument("-Dmodule-a.fail=true");
- verifier.addCliArgument("--fail-at-end");
-
- try {
- verifier.addCliArgument("test");
- verifier.execute();
- fail("Expected this invocation to fail");
- } catch (final VerificationException ve) {
- // Expected to fail.
- }
-
- // Let module-b and module-c fail, if they would have been built...
- verifier = newVerifier(parentDependentTestDir.getAbsolutePath());
- verifier.addCliArgument("-Dmodule-b.fail=true");
- verifier.addCliArgument("-Dmodule-c.fail=true");
- // ... but adding -r should exclude those two from the build because the previous Maven invocation
- // marked them as successfully built.
- verifier.addCliArgument("-r");
- verifier.addCliArgument("test");
- verifier.execute();
- }
-
- @Test
- public void testShouldSkipSuccessfulModulesWhenTheFirstModuleFailed() throws Exception {
- // In this multi-module project, the submodules are not dependent on the parent.
- // This results in the parent to be built last, and module-a to be built first.
- // This enables us to let the first module in the reactor (module-a) fail.
- Verifier verifier = newVerifier(parentIndependentTestDir.getAbsolutePath());
- verifier.addCliArgument("-Dmodule-a.fail=true");
- verifier.addCliArgument("--fail-at-end");
-
- try {
- verifier.addCliArgument("test");
- verifier.execute();
- fail("Expected this invocation to fail");
- } catch (final VerificationException ve) {
- verifier.verifyTextInLog("mvn [args] -r");
- }
-
- verifier = newVerifier(parentIndependentTestDir.getAbsolutePath());
- verifier.addCliArgument("-r");
- verifier.addCliArgument("test");
- verifier.execute();
- verifier.verifyTextInLog("Building module-a 1.0");
- verifyTextNotInLog(verifier, "Building module-b 1.0");
- }
-
- @Test
- public void testShouldNotCrashWithoutProject() throws Exception {
- // There is no Maven project available in the test directory.
- // As reported in JIRA this would previously break with a NullPointerException.
- // (see
- // https://issues.apache.org/jira/browse/MNG-5760?focusedCommentId=17143795&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17143795)
- final Verifier verifier = newVerifier(noProjectTestDir.getAbsolutePath());
- try {
- verifier.addCliArgument("org.apache.maven.plugins:maven-resources-plugin:resources");
- verifier.execute();
- } catch (final VerificationException ve) {
- verifier.verifyTextInLog("Goal requires a project to execute but there is no POM in this directory");
- }
- }
-
- @Test
- public void testFailureWithParallelBuild() throws Exception {
- // four modules: a, b, c, d
- // c depends on b, d depends on a
-
- // Let's do a first pass with a and c failing. The build is parallel,
- // so we have a first thread with a and d, and the second one with b and c
- // The result should be:
- // a : failure (slow, so b and c will be built in the meantime)
- // b : success
- // c : failure
- // d : skipped
- Verifier verifier = newVerifier(fourModulesTestDir.getAbsolutePath());
- verifier.addCliArgument("-T2");
- verifier.addCliArgument("-Dmodule-a.delay=1000");
- verifier.addCliArgument("-Dmodule-a.fail=true");
- verifier.addCliArgument("-Dmodule-c.fail=true");
- try {
- verifier.addCliArgument("verify");
- verifier.execute();
- fail("Expected this invocation to fail");
- } catch (final VerificationException ve) {
- // Expected to fail.
- }
-
- // Let module-b fail, if it would have been built...
- verifier = newVerifier(fourModulesTestDir.getAbsolutePath());
- verifier.addCliArgument("-T2");
- verifier.addCliArgument("-Dmodule-b.fail=true");
- // ... but adding -r should exclude it from the build because the previous Maven invocation
- // marked it as successfully built.
- verifier.addCliArgument("-r");
- // The result should be:
- // a : success
- // c : success
- // d : success
-
- verifier.addCliArgument("verify");
- verifier.execute();
- }
-
- @Test
- public void testFailureAfterSkipWithParallelBuild() throws Exception {
- // four modules: a, b, c, d
- // c depends on b, d depends on a
-
- // Let's do a first pass with a and c failing. The build is parallel,
- // so we have a first thread with a and d, and the second one with b and c
- // The result should be:
- // a : success
- // b : success, slow
- // c : skipped
- // d : failure
- Verifier verifier = newVerifier(fourModulesTestDir.getAbsolutePath());
- verifier.addCliArgument("-T2");
- verifier.addCliArgument("-Dmodule-b.delay=2000");
- verifier.addCliArgument("-Dmodule-d.fail=true");
- try {
- verifier.addCliArgument("verify");
- verifier.execute();
- fail("Expected this invocation to fail");
- } catch (final VerificationException ve) {
- // Expected to fail.
- }
-
- // Let module-a and module-b fail, if they would have been built...
- verifier = newVerifier(fourModulesTestDir.getAbsolutePath());
- verifier.addCliArgument("-T2");
- verifier.addCliArgument("-Dmodule-a.fail=true");
- verifier.addCliArgument("-Dmodule-b.fail=true");
- // ... but adding -r should exclude those two from the build because the previous Maven invocation
- // marked them as successfully built.
- verifier.addCliArgument("-r");
-
- // The result should be:
- // c : success
- // d : success
- verifier.addCliArgument("verify");
- verifier.execute();
- }
-
- /**
- * Throws an exception if the text <strong>is</strong> present in the log.
- *
- * @param verifier the verifier to use
- * @param text the text to assert present
- * @throws VerificationException if text is not found in log
- */
- private void verifyTextNotInLog(Verifier verifier, String text) throws VerificationException {
- List<String> lines = verifier.loadFile(verifier.getBasedir(), verifier.getLogFileName(), false);
-
- for (String line : lines) {
- if (Verifier.stripAnsi(line).contains(text)) {
- throw new VerificationException("Text found in log: " + text);
- }
- }
- }
-}
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6401ProxyPortInterpolationTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6401ProxyPortInterpolationTest.java
deleted file mode 100644
index 42c2cc639..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6401ProxyPortInterpolationTest.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.it;
-
-import java.io.File;
-import java.util.Properties;
-
-import org.apache.maven.settings.Proxy;
-import org.apache.maven.shared.verifier.Verifier;
-import org.apache.maven.shared.verifier.util.ResourceExtractor;
-import org.junit.jupiter.api.Test;
-
-class MavenITmng6401ProxyPortInterpolationTest extends AbstractMavenIntegrationTestCase {
-
- private Proxy proxy;
-
- private int port;
-
- protected MavenITmng6401ProxyPortInterpolationTest() {
- super("(4.0.0-alpha-7,)");
- }
-
- @Test
- public void testitEnvVars() throws Exception {
- File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-6401-proxy-port-interpolation");
-
- Verifier verifier = newVerifier(testDir.getAbsolutePath());
- verifier.setAutoclean(false);
- verifier.deleteDirectory("target");
- verifier.addCliArgument("--settings");
- verifier.addCliArgument("settings.xml");
- verifier.setEnvironmentVariable("MAVEN_PROXY_ACTIVE_BOOLEAN", "true");
- verifier.setEnvironmentVariable("MAVEN_PROXY_HOST_STRING", "myproxy.host.net");
- verifier.setEnvironmentVariable("MAVEN_PROXY_PORT_INT", "18080");
- verifier.addCliArgument("validate");
- verifier.execute();
- verifier.verifyErrorFreeLog();
-
- Properties props = verifier.loadProperties("target/settings.properties");
- assertEquals("true", props.getProperty("settings.proxies.0.active"));
- assertEquals("myproxy.host.net", props.getProperty("settings.proxies.0.host"));
- assertEquals("18080", props.getProperty("settings.proxies.0.port"));
- }
-}
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6656BuildConsumer.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6656BuildConsumer.java
deleted file mode 100644
index 2258fa737..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6656BuildConsumer.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * 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.
- */
-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.
- * <ul>
- * <li>CLI-friendly versions will be resolved</li>
- * <li>parents can omit the version if the relative path points to the correct parent</li>
- * <li>dependencies can omit the version if it is part of the reactor</li>
- * </ul>
- *
- * During install the pom will be cleaned up
- * <ul>
- * <li>the modules will be removed</li>
- * <li>the relativePath will be removed</li>
- * </ul>
- *
- * <a href="https://issues.apache.org/jira/browse/MNG-6656">MNG-6656</a>.
- *
- */
-public class MavenITmng6656BuildConsumer extends AbstractMavenIntegrationTestCase {
-
- public MavenITmng6656BuildConsumer() {
- super("[4.0.0-alpha-1,)");
- }
-
- /**
- * Verifies:
- * <ul>
- * <li>preserve license</li>
- * <li>consistent line separators</li>
- * <li>resolved project versions (at least 2 levels deep) in parent and dependencies</li>
- * <li>removal of modules in aggregators</li>
- * </ul>
- *
- * @throws Exception in case of failure
- */
- @Test
- public void testPublishedPoms() throws Exception {
- File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-6656-buildconsumer");
-
- Verifier verifier = newVerifier(testDir.getAbsolutePath(), false);
- verifier.setAutoclean(false);
- verifier.addCliArgument("-Dchangelist=MNG6656");
-
- verifier.addCliArgument("install");
- verifier.execute();
- verifier.verifyErrorFreeLog();
-
- assertTextEquals(
- new File(testDir, "expected/parent.pom"),
- 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(
- "org.sonatype.mavenbook.multi", "simple-parent", "0.9-MNG6656-SNAPSHOT", "pom")));
-
- assertTextEquals(
- new File(testDir, "expected/simple-weather.pom"),
- 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 {
- List<String> s1 = FileUtils.loadFile(file1);
- List<String> 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/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6772NestedImportScopeRepositoryOverride.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6772NestedImportScopeRepositoryOverride.java
deleted file mode 100644
index eb61c048b..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6772NestedImportScopeRepositoryOverride.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.it;
-
-import java.io.File;
-
-import org.apache.maven.shared.verifier.Verifier;
-import org.apache.maven.shared.verifier.util.ResourceExtractor;
-import org.junit.jupiter.api.Disabled;
-import org.junit.jupiter.api.Test;
-
-/**
- * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-6772">MNG-6772</a>:
- *
- * The test POM references an import scope POM, which also has a dependency on an import scope POM.
- *
- * Both import POMs can only be found in the repository defined in the test POM.
- * It has a parent POM that defines the same repository with a different location.
- * The test confirms that the dominant repository definition (child) wins while resolving the import POMs.
- *
- */
-@Disabled // This IT has been disabled until it is decided how the solution shall look like
-public class MavenITmng6772NestedImportScopeRepositoryOverride extends AbstractMavenIntegrationTestCase {
-
- public MavenITmng6772NestedImportScopeRepositoryOverride() {
- super("(,4.0.0-alpha-1),[4.0.0-alpha-1,)");
- }
-
- // This will test the behavior using ProjectModelResolver
- @Test
- public void testitInProject() throws Exception {
- final File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-6772-override-in-project");
-
- final Verifier verifier = newVerifier(testDir.getAbsolutePath(), null);
- overrideGlobalSettings(testDir, verifier);
- verifier.deleteArtifacts("org.apache.maven.its.mng6772");
-
- verifier.filterFile("pom-template.xml", "pom.xml", "UTF-8");
-
- verifier.addCliArgument("validate");
- verifier.execute();
- verifier.verifyErrorFreeLog();
- }
-
- // This will test the behavior using DefaultModelResolver
- @Test
- public void testitInDependency() throws Exception {
- final File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-6772-override-in-dependency");
-
- final Verifier verifier = newVerifier(testDir.getAbsolutePath(), null);
- overrideGlobalSettings(testDir, verifier);
- verifier.deleteArtifacts("org.apache.maven.its.mng6772");
-
- verifier.filterFile("pom-template.xml", "pom.xml", "UTF-8");
-
- verifier.addCliArgument("compile");
- verifier.execute();
- verifier.verifyErrorFreeLog();
- }
-
- // central must not be defined in any settings.xml or super POM will never be in play.
- private void overrideGlobalSettings(final File testDir, final Verifier verifier) {
- final File settingsFile = new File(testDir, "settings-override.xml");
- final String path = settingsFile.getAbsolutePath();
- verifier.addCliArgument("--global-settings");
- if (path.indexOf(' ') < 0) {
- verifier.addCliArgument(path);
- } else {
- verifier.addCliArgument('"' + path + '"');
- }
- }
-}
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6957BuildConsumer.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6957BuildConsumer.java
deleted file mode 100644
index 503b2fa36..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6957BuildConsumer.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.it;
-
-import java.io.File;
-import java.io.IOException;
-
-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;
-
-/**
- * With the build-consumer the POM will be adjusted during the process.
- * <ul>
- * <li>CI-friendly versions will be resolved</li>
- * <li>parents can omit the version if the relative path points to the correct parent</li>
- * <li>dependencies can omit the version if it is part of the reactor</li>
- * </ul>
- *
- * During install the POM will be cleaned up
- * <ul>
- * <li>the modules will be removed</li>
- * <li>the relativePath will be removed</li>
- * </ul>
- *
- * <a href="https://issues.apache.org/jira/browse/MNG-6656">MNG-6656</a>.
- *
- */
-public class MavenITmng6957BuildConsumer extends AbstractMavenIntegrationTestCase {
-
- public MavenITmng6957BuildConsumer() {
- super("[4.0.0-alpha-1,)");
- }
-
- /**
- * Verifies:
- * <ul>
- * <li>preserve license</li>
- * <li>consistent line separators</li>
- * <li>resolved project versions (at least 2 levels deep) in parent and dependencies</li>
- * <li>removal of modules in aggregators</li>
- * </ul>
- *
- * @throws Exception in case of failure
- */
- @Test
- public void testPublishedPoms() throws Exception {
- File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-6957-buildconsumer");
-
- Verifier verifier = newVerifier(testDir.getAbsolutePath(), false);
- verifier.setAutoclean(false);
- verifier.addCliArgument("-Dchangelist=MNG6957");
-
- verifier.addCliArgument("install");
- verifier.execute();
- verifier.verifyErrorFreeLog();
-
- assertTextEquals(
- new File(testDir, "expected/parent.pom"),
- 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 {
- assertEquals(FileUtils.loadFile(file1), FileUtils.loadFile(file2));
- }
-}
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7390SelectModuleOutsideCwdTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7390SelectModuleOutsideCwdTest.java
deleted file mode 100644
index 66d5169ba..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7390SelectModuleOutsideCwdTest.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.it;
-
-import java.io.File;
-
-import org.apache.maven.shared.verifier.VerificationException;
-import org.apache.maven.shared.verifier.Verifier;
-import org.apache.maven.shared.verifier.util.ResourceExtractor;
-import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Test;
-
-/**
- * This test suite tests whether other modules in the same multi-module project can be selected when invoking Maven from a submodule.
- * Related JIRA issue: <a href="https://issues.apache.org/jira/browse/MNG-7390">MNG-7390</a>.
- *
- * @author Martin Kanters
- */
-public class MavenITmng7390SelectModuleOutsideCwdTest extends AbstractMavenIntegrationTestCase {
-
- private File moduleADir;
-
- public MavenITmng7390SelectModuleOutsideCwdTest() {
- super("[4.0.0-alpha-1,)");
- }
-
- @BeforeEach
- protected void setUp() throws Exception {
- moduleADir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-7390-pl-outside-cwd/module-a");
-
- // Clean up target files from earlier runs (verifier.setAutoClean does not work, as we are reducing the reactor)
- final Verifier verifier = newVerifier(moduleADir.getAbsolutePath());
- verifier.addCliArgument("-f");
- verifier.addCliArgument("..");
- verifier.addCliArgument("clean");
- verifier.execute();
- }
-
- @Test
- public void testSelectModuleByCoordinate() throws Exception {
- final Verifier verifier = newVerifier(moduleADir.getAbsolutePath());
-
- verifier.addCliArgument("-pl");
- verifier.addCliArgument(":module-b");
- verifier.setLogFileName("log-module-by-coordinate.txt");
- verifier.addCliArgument("validate");
- verifier.execute();
- verifier.verifyFileNotPresent("target/touch.txt");
- verifier.verifyFileNotPresent("../target/touch.txt");
- verifier.verifyFilePresent("../module-b/target/touch.txt");
- }
-
- @Test
- public void testSelectMultipleModulesByCoordinate() throws Exception {
- final Verifier verifier = newVerifier(moduleADir.getAbsolutePath());
-
- verifier.addCliArgument("-pl");
- verifier.addCliArgument(":module-b,:module-a");
- verifier.setLogFileName("log-modules-by-coordinate.txt");
- verifier.addCliArgument("validate");
- verifier.execute();
- verifier.verifyFilePresent("target/touch.txt");
- verifier.verifyFileNotPresent("../target/touch.txt");
- verifier.verifyFilePresent("../module-b/target/touch.txt");
- }
-
- @Test
- public void testSelectModuleByRelativePath() throws Exception {
- final Verifier verifier = newVerifier(moduleADir.getAbsolutePath());
-
- verifier.addCliArgument("-pl");
- verifier.addCliArgument("../module-b");
- verifier.setLogFileName("log-module-by-relative-path.txt");
- verifier.addCliArgument("validate");
- verifier.execute();
- verifier.verifyFileNotPresent("target/touch.txt");
- verifier.verifyFileNotPresent("../target/touch.txt");
- verifier.verifyFilePresent("../module-b/target/touch.txt");
- }
-
- @Test
- public void testSelectModulesByRelativePath() throws Exception {
- final Verifier verifier = newVerifier(moduleADir.getAbsolutePath());
-
- verifier.addCliArgument("-pl");
- verifier.addCliArgument("../module-b,.");
- verifier.setLogFileName("log-modules-by-relative-path.txt");
- verifier.addCliArgument("validate");
- verifier.execute();
- verifier.verifyFilePresent("target/touch.txt");
- verifier.verifyFileNotPresent("../target/touch.txt");
- verifier.verifyFilePresent("../module-b/target/touch.txt");
- }
-
- /**
- * Maven determines whether the target module is in a multi-module project based on the presence of a .mvn directory in root.
- * This test verifies that when that directory is missing, the module cannot be found.
- */
- @Test
- public void testSelectModulesOutsideCwdDoesNotWorkWhenDotMvnIsNotPresent() throws Exception {
- final String noDotMvnPath = "/mng-7390-pl-outside-cwd-no-dotmvn/module-a";
- final File noDotMvnDir = ResourceExtractor.simpleExtractResources(getClass(), noDotMvnPath);
- final Verifier verifier = newVerifier(noDotMvnDir.getAbsolutePath());
-
- verifier.addCliArgument("-pl");
- verifier.addCliArgument("../module-b");
- verifier.setLogFileName("log-modules-by-relative-path-no-dotmvn.txt");
- try {
- verifier.addCliArgument("validate");
- verifier.execute();
- fail("Expected goal to fail");
- } catch (VerificationException e) {
- verifier.verifyFileNotPresent("target/touch.txt");
- verifier.verifyFileNotPresent("../target/touch.txt");
- verifier.verifyFileNotPresent("../module-b/target/touch.txt");
- }
- }
-}
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7629SubtreeBuildTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7629SubtreeBuildTest.java
deleted file mode 100644
index e9375b581..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7629SubtreeBuildTest.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.it;
-
-import java.io.File;
-
-import org.apache.maven.shared.verifier.Verifier;
-import org.apache.maven.shared.verifier.util.ResourceExtractor;
-import org.junit.jupiter.api.Test;
-
-/**
- * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-7629">MNG-7629</a>.
- * It checks that building a subtree that consumes an attached artifact works
- *
- */
-class MavenITmng7629SubtreeBuildTest extends AbstractMavenIntegrationTestCase {
-
- public MavenITmng7629SubtreeBuildTest() {
- super("[4.0.0-alpha-4,)");
- }
-
- /**
- * Verify that dependencies which are managed through imported dependency management work
- *
- * @throws Exception in case of failure
- */
- @Test
- void testBuildSubtree() throws Exception {
- File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-7629");
-
- Verifier verifier = newVerifier(testDir.getAbsolutePath());
- verifier.setAutoclean(true);
- verifier.addCliArgument("verify");
- verifier.execute();
- verifier.verifyErrorFreeLog();
-
- verifier = newVerifier(testDir.getAbsolutePath());
- verifier.setAutoclean(true);
- verifier.addCliArguments("-f", "child-2", "verify");
- verifier.execute();
- verifier.verifyErrorFreeLog();
- }
-}
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7836AlternativePomSyntaxTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7836AlternativePomSyntaxTest.java
deleted file mode 100644
index 67d9f4902..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7836AlternativePomSyntaxTest.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.it;
-
-import java.io.File;
-import java.nio.charset.StandardCharsets;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.nio.file.Paths;
-import java.util.List;
-
-import org.apache.maven.shared.verifier.Verifier;
-import org.apache.maven.shared.verifier.util.ResourceExtractor;
-import org.junit.jupiter.api.Test;
-
-class MavenITmng7836AlternativePomSyntaxTest extends AbstractMavenIntegrationTestCase {
-
- protected MavenITmng7836AlternativePomSyntaxTest() {
- // New feature in alpha-8-SNAPSHOT
- super("(4.0.0-alpha-7,)");
- }
-
- @Test
- void testAlternativeSyntax() throws Exception {
- File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-7836-alternative-pom-syntax");
-
- final Verifier pluginVerifier = newVerifier(new File(testDir, "maven-hocon-extension").getPath());
- pluginVerifier.addCliArgument("clean");
- pluginVerifier.addCliArgument("install");
- pluginVerifier.addCliArgument("-V");
- pluginVerifier.execute();
- pluginVerifier.verifyErrorFreeLog();
-
- final Verifier consumerVerifier = newVerifier(new File(testDir, "simple").getPath());
- consumerVerifier.addCliArgument("clean");
- consumerVerifier.addCliArgument("install");
- consumerVerifier.addCliArgument("-Drat.skip=true");
- consumerVerifier.addCliArgument("-V");
-
- Path consumerPom = Paths.get(consumerVerifier.getArtifactPath(
- "org.apache.maven.its.mng-7836", "hocon-simple", "1.0.0-SNAPSHOT", "pom", ""));
- Path buildPom = Paths.get(consumerVerifier.getArtifactPath(
- "org.apache.maven.its.mng-7836", "hocon-simple", "1.0.0-SNAPSHOT", "pom", "build"));
- consumerVerifier.deleteArtifacts("org.apache.maven.its.mng-7836", "hocon-simple", "1.0.0-SNAPSHOT");
-
- consumerVerifier.execute();
- consumerVerifier.verifyErrorFreeLog();
-
- assertTrue(Files.isRegularFile(consumerPom));
- List<String> consumerPomLines = Files.readAllLines(consumerPom, StandardCharsets.UTF_8);
- assertTrue(consumerPomLines.stream().anyMatch(l -> l.contains("<name>Apache-2.0</name>")));
- assertFalse(consumerPomLines.stream().anyMatch(l -> l.contains("<parent>")));
-
- // The build pom is the original POM, so the hocon file
- assertTrue(Files.isRegularFile(buildPom));
- List<String> buildPomLines = Files.readAllLines(buildPom, StandardCharsets.UTF_8);
- assertTrue(buildPomLines.stream().anyMatch(l -> l.contains("groupId = org.apache.maven.extensions")));
- }
-}
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7891ConfigurationForExtensionsTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7891ConfigurationForExtensionsTest.java
deleted file mode 100644
index a390cec45..000000000
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7891ConfigurationForExtensionsTest.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.it;
-
-import java.io.File;
-import java.util.List;
-
-import org.apache.maven.shared.verifier.Verifier;
-import org.apache.maven.shared.verifier.util.ResourceExtractor;
-import org.junit.jupiter.api.Test;
-
-class MavenITmng7891ConfigurationForExtensionsTest extends AbstractMavenIntegrationTestCase {
-
- protected MavenITmng7891ConfigurationForExtensionsTest() {
- super("(4.0.0-alpha-7,)");
- }
-
- @Test
- void testConfigurationForCoreExtension() throws Exception {
- File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-7891-extension-configuration");
-
- Verifier verifier = newVerifier(new File(testDir, "extension").getAbsolutePath());
- verifier.addCliArgument("install");
- verifier.execute();
- verifier.verifyErrorFreeLog();
-
- verifier = newVerifier(new File(testDir, "core-extension").getAbsolutePath());
- verifier.addCliArgument("install");
- verifier.addCliArgument("-DuserValue=the-value");
- verifier.execute();
- verifier.verifyErrorFreeLog();
-
- List<String> logFile = verifier.loadFile(verifier.getBasedir(), verifier.getLogFileName(), false);
- String projects = logFile.stream()
- .filter(s -> s.contains("All projects are read now"))
- .findFirst()
- .orElse(null);
- assertNotNull(projects);
- assertFalse(projects.contains("$"));
- }
-
- @Test
- void testConfigurationForBuildExtension() throws Exception {
- File testDir = ResourceExtractor.simpleExtractResources(getClass(), "/mng-7891-extension-configuration");
-
- Verifier verifier = newVerifier(new File(testDir, "extension").getAbsolutePath());
- verifier.addCliArgument("install");
- verifier.execute();
- verifier.verifyErrorFreeLog();
-
- verifier = newVerifier(new File(testDir, "build-extension").getAbsolutePath());
- verifier.addCliArgument("install");
- verifier.addCliArgument("-DuserValue=the-value");
- verifier.execute();
- verifier.verifyErrorFreeLog();
-
- List<String> logFile = verifier.loadFile(verifier.getBasedir(), verifier.getLogFileName(), false);
- String projects = logFile.stream()
- .filter(s -> s.contains("All projects are read now"))
- .findFirst()
- .orElse(null);
- assertNotNull(projects);
- assertFalse(projects.contains("$"));
- }
-}
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/TestSuiteOrdering.java b/core-it-suite/src/test/java/org/apache/maven/it/TestSuiteOrdering.java
index 33c175e80..3331ca45c 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/TestSuiteOrdering.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/TestSuiteOrdering.java
@@ -125,19 +125,14 @@ public class TestSuiteOrdering implements ClassOrderer {
suite.addTestSuite(MavenITgh10937QuotedPipesInMavenOptsTest.class);
suite.addTestSuite(MavenITmng8106OverlappingDirectoryRolesTest.class);
suite.addTestSuite(MavenITmng7939PluginsValidationExcludesTest.class);
- suite.addTestSuite(MavenITmng7836AlternativePomSyntaxTest.class);
- suite.addTestSuite(MavenITmng7891ConfigurationForExtensionsTest.class);
- suite.addTestSuite(MavenITmng6401ProxyPortInterpolationTest.class);
suite.addTestSuite(MavenITmng7228LeakyModelTest.class);
suite.addTestSuite(MavenITmng7819FileLockingWithSnapshotsTest.class);
- suite.addTestSuite(MavenITmng5600DependencyManagementImportExclusionsTest.class);
suite.addTestSuite(MavenITmng7587Jsr330.class);
suite.addTestSuite(MavenITmng7038RootdirTest.class);
suite.addTestSuite(MavenITmng7697PomWithEmojiTest.class);
suite.addTestSuite(MavenITmng7737ProfileActivationTest.class);
suite.addTestSuite(MavenITmng7716BuildDeadlock.class);
suite.addTestSuite(MavenITmng7679SingleMojoNoPomTest.class);
- suite.addTestSuite(MavenITmng7629SubtreeBuildTest.class);
suite.addTestSuite(MavenITmng7606DependencyImportScopeTest.class);
suite.addTestSuite(MavenITmng6609ProfileActivationForPackagingTest.class);
suite.addTestSuite(MavenITmng7566JavaPrerequisiteTest.class);
@@ -161,7 +156,6 @@ public class TestSuiteOrdering implements ClassOrderer {
suite.addTestSuite(MavenITmng7464ReadOnlyMojoParametersWarningTest.class);
suite.addTestSuite(MavenITmng7404IgnorePrefixlessExpressionsTest.class);
suite.addTestSuite(MavenITmng5222MojoDeprecatedTest.class);
- suite.addTestSuite(MavenITmng7390SelectModuleOutsideCwdTest.class);
suite.addTestSuite(MavenITmng7244IgnorePomPrefixInExpressions.class);
suite.addTestSuite(MavenITmng7349RelocationWarningTest.class);
suite.addTestSuite(MavenITmng6326CoreExtensionsNotFoundTest.class);
@@ -172,16 +166,13 @@ public class TestSuiteOrdering implements ClassOrderer {
suite.addTestSuite(MavenITmng7128BlockExternalHttpReactorTest.class);
suite.addTestSuite(MavenITmng6511OptionalProjectSelectionTest.class);
suite.addTestSuite(MavenITmng7110ExtensionClassloader.class);
- suite.addTestSuite(MavenITmng6957BuildConsumer.class);
suite.addTestSuite(MavenITmng7045DropUselessAndOutdatedCdiApiTest.class);
suite.addTestSuite(MavenITmng6566ExecuteAnnotationShouldNotReExecuteGoalsTest.class);
suite.addTestSuite(MavenITmng6754TimestampInMultimoduleProject.class);
suite.addTestSuite(MavenITmng6981ProjectListShouldIncludeChildrenTest.class);
suite.addTestSuite(MavenITmng6972AllowAccessToGraphPackageTest.class);
- suite.addTestSuite(MavenITmng6772NestedImportScopeRepositoryOverride.class);
suite.addTestSuite(MavenITmng6759TransitiveDependencyRepositoriesTest.class);
suite.addTestSuite(MavenITmng6720FailFastTest.class);
- suite.addTestSuite(MavenITmng6656BuildConsumer.class);
suite.addTestSuite(MavenITmng6558ToolchainsBuildingEventTest.class);
suite.addTestSuite(MavenITmng6506PackageAnnotationTest.class);
suite.addTestSuite(MavenITmng6391PrintVersionTest.class);
@@ -214,7 +205,6 @@ public class TestSuiteOrdering implements ClassOrderer {
suite.addTestSuite(MavenITmng5774ConfigurationProcessorsTest.class);
suite.addTestSuite(MavenITmng5771CoreExtensionsTest.class);
suite.addTestSuite(MavenITmng5768CliExecutionIdTest.class);
- suite.addTestSuite(MavenITmng5760ResumeFeatureTest.class);
suite.addTestSuite(MavenITmng5753CustomMojoExecutionConfiguratorTest.class);
suite.addTestSuite(MavenITmng5742BuildExtensionClassloaderTest.class);
suite.addTestSuite(MavenITmng5716ToolchainsTypeTest.class);
diff --git a/core-it-suite/src/test/resources/mng-5600/exclusions/pom.xml b/core-it-suite/src/test/resources/mng-5600/exclusions/pom.xml
deleted file mode 100644
index 4c8c9eec5..000000000
--- a/core-it-suite/src/test/resources/mng-5600/exclusions/pom.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-<?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.mng5600</groupId>
- <artifactId>0</artifactId>
- <version>20160619</version>
- <packaging>pom</packaging>
-
- <name>Maven Integration Test :: MNG-5600</name>
-
- <description>Tests that dependency management import exclusions are supported.</description>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng5600</groupId>
- <artifactId>bom</artifactId>
- <version>0</version>
- <type>pom</type>
- <scope>import</scope>
- <exclusions>
- <exclusion>
- <!-- Exclude commons-io from BOM and from all imported dependencies. -->
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </exclusion>
- <exclusion>
- <!-- Exclude commons-logging from all imported dependencies. -->
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.its.plugins</groupId>
- <artifactId>maven-it-plugin-expression</artifactId>
- <version>2.1-SNAPSHOT</version>
- <executions>
- <execution>
- <goals>
- <goal>eval</goal>
- </goals>
- <phase>verify</phase>
- <configuration>
- <expressions>
- <expression>project/dependencyManagement</expression>
- </expressions>
- <outputFile>${project.build.directory}/project.properties</outputFile>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5600/repo/org/apache/maven/its/mng5600/bom/0/bom-0.pom b/core-it-suite/src/test/resources/mng-5600/repo/org/apache/maven/its/mng5600/bom/0/bom-0.pom
deleted file mode 100644
index 6598212c4..000000000
--- a/core-it-suite/src/test/resources/mng-5600/repo/org/apache/maven/its/mng5600/bom/0/bom-0.pom
+++ /dev/null
@@ -1,44 +0,0 @@
-<?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.mng5600</groupId>
- <artifactId>bom</artifactId>
- <version>0</version>
- <packaging>pom</packaging>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.5</version>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.6</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5600/settings-template.xml b/core-it-suite/src/test/resources/mng-5600/settings-template.xml
deleted file mode 100644
index f22a7f357..000000000
--- a/core-it-suite/src/test/resources/mng-5600/settings-template.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?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>
- </profile>
- </profiles>
- <activeProfiles>
- <activeProfile>maven-core-it-repo</activeProfile>
- </activeProfiles>
-</settings>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-a/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-a/pom.xml
deleted file mode 100644
index e50b16495..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-a/pom.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
- </parent>
-
- <artifactId>module-a</artifactId>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-a/src/test/java/org/apache/maven/it/TestCase.java b/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-a/src/test/java/org/apache/maven/it/TestCase.java
deleted file mode 100644
index 60903cfda..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-a/src/test/java/org/apache/maven/it/TestCase.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * 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.
- */
-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.junit.Test;
-
-import static org.junit.Assert.fail;
-
-public class TestCase {
- @Test
- public void testCase() throws Exception {
- Thread.sleep(Integer.getInteger("module-a.delay", 0));
- if (Boolean.getBoolean("module-a.fail")) {
- fail("Deliberately fail test case in module A");
- }
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-b/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-b/pom.xml
deleted file mode 100644
index 37934e446..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-b/pom.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
- </parent>
-
- <artifactId>module-b</artifactId>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-b/src/test/java/org/apache/maven/it/TestCase.java b/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-b/src/test/java/org/apache/maven/it/TestCase.java
deleted file mode 100644
index 36ab8f46c..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-b/src/test/java/org/apache/maven/it/TestCase.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * 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.
- */
-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.junit.Test;
-
-import static org.junit.Assert.fail;
-
-public class TestCase {
- @Test
- public void testCase() throws Exception {
- Thread.sleep(Integer.getInteger("module-b.delay", 0));
- if (Boolean.getBoolean("module-b.fail")) {
- fail("Deliberately fail test case in module B");
- }
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-c/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-c/pom.xml
deleted file mode 100644
index 64ad1908d..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-c/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
- </parent>
-
- <artifactId>module-c</artifactId>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>module-b</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-c/src/test/java/org/apache/maven/it/TestCase.java b/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-c/src/test/java/org/apache/maven/it/TestCase.java
deleted file mode 100644
index 0197c4271..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-c/src/test/java/org/apache/maven/it/TestCase.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * 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.
- */
-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.junit.Test;
-
-import static org.junit.Assert.fail;
-
-public class TestCase {
- @Test
- public void testCase() throws Exception {
- Thread.sleep(Integer.getInteger("module-c.delay", 0));
- if (Boolean.getBoolean("module-c.fail")) {
- fail("Deliberately fail test case in module C");
- }
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-d/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-d/pom.xml
deleted file mode 100644
index 6aa01f84b..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-d/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
- </parent>
-
- <artifactId>module-d</artifactId>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>module-a</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-d/src/test/java/org/apache/maven/it/TestCase.java b/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-d/src/test/java/org/apache/maven/it/TestCase.java
deleted file mode 100644
index 5fe922583..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/module-d/src/test/java/org/apache/maven/it/TestCase.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * 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.
- */
-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.junit.Test;
-
-import static org.junit.Assert.fail;
-
-public class TestCase {
- @Test
- public void testCase() throws Exception {
- Thread.sleep(Integer.getInteger("module-d.delay", 0));
- if (Boolean.getBoolean("module-d.fail")) {
- fail("Deliberately fail test case in module D");
- }
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/pom.xml
deleted file mode 100644
index 4103e7373..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/four-modules/pom.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
-
- <packaging>pom</packaging>
-
- <name>Maven Integration Test :: MNG-5760</name>
- <description>Tests for the --resume flag.</description>
-
- <modules>
- <module>module-a</module>
- <module>module-b</module>
- <module>module-c</module>
- <module>module-d</module>
- </modules>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/no-project/.gitkeep b/core-it-suite/src/test/resources/mng-5760-resume-feature/no-project/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-a/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-a/pom.xml
deleted file mode 100644
index e50b16495..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-a/pom.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
- </parent>
-
- <artifactId>module-a</artifactId>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-a/src/test/java/org/apache/maven/it/TestCase.java b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-a/src/test/java/org/apache/maven/it/TestCase.java
deleted file mode 100644
index c18b1e92b..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-a/src/test/java/org/apache/maven/it/TestCase.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * 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.
- */
-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.junit.Test;
-
-import static org.junit.Assert.fail;
-
-public class TestCase {
- @Test
- public void testCase() {
- if (Boolean.getBoolean("module-a.fail")) {
- fail("Deliberately fail test case in module A");
- }
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-b/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-b/pom.xml
deleted file mode 100644
index 37934e446..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-b/pom.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
- </parent>
-
- <artifactId>module-b</artifactId>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-b/src/test/java/org/apache/maven/it/TestCase.java b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-b/src/test/java/org/apache/maven/it/TestCase.java
deleted file mode 100644
index 3991f60ec..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-b/src/test/java/org/apache/maven/it/TestCase.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * 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.
- */
-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.junit.Test;
-
-import static org.junit.Assert.fail;
-
-public class TestCase {
- @Test
- public void testCase() {
- if (Boolean.getBoolean("module-b.fail")) {
- fail("Deliberately fail test case in module B");
- }
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-c/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-c/pom.xml
deleted file mode 100644
index 64ad1908d..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-c/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
- </parent>
-
- <artifactId>module-c</artifactId>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>module-b</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-c/src/test/java/org/apache/maven/it/TestCase.java b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-c/src/test/java/org/apache/maven/it/TestCase.java
deleted file mode 100644
index f0e4fe85f..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/module-c/src/test/java/org/apache/maven/it/TestCase.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * 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.
- */
-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.junit.Test;
-
-import static org.junit.Assert.fail;
-
-public class TestCase {
- @Test
- public void testCase() {
- if (Boolean.getBoolean("module-c.fail")) {
- fail("Deliberately fail test case in module C");
- }
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/pom.xml
deleted file mode 100644
index 549940f71..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-dependent/pom.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.its.mng5760</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
-
- <packaging>pom</packaging>
-
- <name>Maven Integration Test :: MNG-5760</name>
- <description>Tests for the --resume flag.</description>
-
- <modules>
- <module>module-a</module>
- <module>module-b</module>
- <module>module-c</module>
- </modules>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-a/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-a/pom.xml
deleted file mode 100644
index 952078d10..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-a/pom.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.its.mng5760.parentindependent</groupId>
- <artifactId>module-a</artifactId>
- <version>1.0</version>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-a/src/test/java/org/apache/maven/it/TestCase.java b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-a/src/test/java/org/apache/maven/it/TestCase.java
deleted file mode 100644
index c18b1e92b..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-a/src/test/java/org/apache/maven/it/TestCase.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * 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.
- */
-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.junit.Test;
-
-import static org.junit.Assert.fail;
-
-public class TestCase {
- @Test
- public void testCase() {
- if (Boolean.getBoolean("module-a.fail")) {
- fail("Deliberately fail test case in module A");
- }
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-b/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-b/pom.xml
deleted file mode 100644
index 868d9e82f..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-b/pom.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.its.mng5760.parentindependent</groupId>
- <artifactId>module-b</artifactId>
- <version>1.0</version>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-b/src/test/java/org/apache/maven/it/TestCase.java b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-b/src/test/java/org/apache/maven/it/TestCase.java
deleted file mode 100644
index 3991f60ec..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/module-b/src/test/java/org/apache/maven/it/TestCase.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * 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.
- */
-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.junit.Test;
-
-import static org.junit.Assert.fail;
-
-public class TestCase {
- @Test
- public void testCase() {
- if (Boolean.getBoolean("module-b.fail")) {
- fail("Deliberately fail test case in module B");
- }
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/pom.xml b/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/pom.xml
deleted file mode 100644
index 42abcd499..000000000
--- a/core-it-suite/src/test/resources/mng-5760-resume-feature/parent-independent/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.its.mng5760.parentindependent</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
-
- <packaging>pom</packaging>
-
- <name>Maven Integration Test :: MNG-5760</name>
- <description>Tests for the --resume flag.</description>
-
- <modules>
- <module>module-a</module>
- <module>module-b</module>
- </modules>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- </properties>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6401-proxy-port-interpolation/pom.xml b/core-it-suite/src/test/resources/mng-6401-proxy-port-interpolation/pom.xml
deleted file mode 100644
index 1e899332c..000000000
--- a/core-it-suite/src/test/resources/mng-6401-proxy-port-interpolation/pom.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?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.mng6401</groupId>
- <artifactId>test</artifactId>
- <version>0.1</version>
- <packaging>pom</packaging>
-
- <name>Maven Integration Test :: MNG-6401</name>
- <description>Verify that the proxy/port in settings.xml can be interpolated using environment variables and system properties.</description>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.its.plugins</groupId>
- <artifactId>maven-it-plugin-expression</artifactId>
- <version>2.1-SNAPSHOT</version>
- <executions>
- <execution>
- <id>test</id>
- <goals>
- <goal>eval</goal>
- </goals>
- <phase>validate</phase>
- <configuration>
- <expressions>
- <expression>settings/proxies/0/active</expression>
- <expression>settings/proxies/0/host</expression>
- <expression>settings/proxies/0/port</expression>
- </expressions>
- <outputFile>target/settings.properties</outputFile>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6401-proxy-port-interpolation/settings.xml b/core-it-suite/src/test/resources/mng-6401-proxy-port-interpolation/settings.xml
deleted file mode 100644
index 2b2d66640..000000000
--- a/core-it-suite/src/test/resources/mng-6401-proxy-port-interpolation/settings.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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>
- <proxies>
- <proxy>
- <id>my_proxy</id>
- <active>${env.MAVEN_PROXY_ACTIVE_BOOLEAN}</active>
- <protocol>http</protocol>
- <host>${env.MAVEN_PROXY_HOST_STRING}</host>
- <port>${env.MAVEN_PROXY_PORT_INT}</port>
- <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
- </proxy>
- </proxies>
-</settings>
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent-build.pom b/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent-build.pom
deleted file mode 100644
index 98906356e..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent-build.pom
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" root="true" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/maven-v4_1_0.xsd">
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- <version>0.9-${changelist}-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Multi Chapter Parent Project</name>
-
- <!-- Optimized from https://github.com/sonatype/maven-example-en/tree/master/examples/ch-multi -->
- <modules>
- <module>simple-parent</module>
- </modules>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent.pom b/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent.pom
deleted file mode 100644
index d5ec0fc21..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/parent.pom
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- <version>0.9-MNG6656-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Multi Chapter Parent Project</name>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent-build.pom b/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent-build.pom
deleted file mode 100644
index 526699b41..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent-build.pom
+++ /dev/null
@@ -1,46 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- </parent>
- <artifactId>simple-parent</artifactId>
- <packaging>pom</packaging>
- <name>Multi Chapter Simple Parent Project</name>
-
- <modules>
- <module>simple-weather</module>
- <module>simple-webapp</module>
- </modules>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent.pom b/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent.pom
deleted file mode 100644
index f6e68a3dd..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-parent.pom
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- <version>0.9-MNG6656-SNAPSHOT</version>
- </parent>
- <artifactId>simple-parent</artifactId>
- <packaging>pom</packaging>
- <name>Multi Chapter Simple Parent Project</name>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom b/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom
deleted file mode 100644
index b7ea1daa3..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather-build.pom
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/maven-v4_1_0.xsd">
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
- <artifactId>simple-weather</artifactId>
- <packaging>jar</packaging>
-
- <name>Multi Chapter Simple Weather API</name>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather.pom b/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather.pom
deleted file mode 100644
index 7a2682a09..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-weather.pom
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-weather</artifactId>
- <version>0.9-MNG6656-SNAPSHOT</version>
- <name>Multi Chapter Simple Weather API</name>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp-build.pom b/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp-build.pom
deleted file mode 100644
index c07fcd10d..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp-build.pom
+++ /dev/null
@@ -1,46 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/maven-v4_1_0.xsd">
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
-
- <artifactId>simple-webapp</artifactId>
- <name>Multi Chapter Simple Web Application Project</name>
- <dependencies>
- <dependency>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-weather</artifactId>
- </dependency>
- </dependencies>
- <build>
- <finalName>simple-webapp</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.3.2</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp.pom b/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp.pom
deleted file mode 100644
index d7c6a6d32..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/expected/simple-webapp.pom
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-webapp</artifactId>
- <version>0.9-MNG6656-SNAPSHOT</version>
- <name>Multi Chapter Simple Web Application Project</name>
- <dependencies>
- <dependency>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-weather</artifactId>
- <version>0.9-MNG6656-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml b/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml
deleted file mode 100644
index baa41ff20..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/pom.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" root="true" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/maven-v4_1_0.xsd">
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- <version>0.9-${changelist}-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Multi Chapter Parent Project</name>
-
- <!-- Optimized from https://github.com/sonatype/maven-example-en/tree/master/examples/ch-multi -->
- <modules>
- <module>simple-parent</module>
- </modules>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/pom.xml b/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/pom.xml
deleted file mode 100644
index 706d33484..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/pom.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/maven-v4_1_0.xsd">
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- </parent>
- <artifactId>simple-parent</artifactId>
- <packaging>pom</packaging>
- <name>Multi Chapter Simple Parent Project</name>
-
- <modules>
- <module>simple-weather</module>
- <module>simple-webapp</module>
- </modules>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-weather/pom.xml b/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-weather/pom.xml
deleted file mode 100644
index b7ea1daa3..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-weather/pom.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/maven-v4_1_0.xsd">
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
- <artifactId>simple-weather</artifactId>
- <packaging>jar</packaging>
-
- <name>Multi Chapter Simple Weather API</name>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-webapp/pom.xml b/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-webapp/pom.xml
deleted file mode 100644
index c07fcd10d..000000000
--- a/core-it-suite/src/test/resources/mng-6656-buildconsumer/simple-parent/simple-webapp/pom.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/maven-v4_1_0.xsd">
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
-
- <artifactId>simple-webapp</artifactId>
- <name>Multi Chapter Simple Web Application Project</name>
- <dependencies>
- <dependency>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-weather</artifactId>
- </dependency>
- </dependencies>
- <build>
- <finalName>simple-webapp</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.3.2</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6772-override-in-project/pom-template.xml b/core-it-suite/src/test/resources/mng-6772-override-in-project/pom-template.xml
deleted file mode 100644
index 19149cd0d..000000000
--- a/core-it-suite/src/test/resources/mng-6772-override-in-project/pom-template.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?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.mng6772</groupId>
- <artifactId>test</artifactId>
- <version>0.1</version>
- <packaging>jar</packaging>
-
- <name>Maven Integration Test :: MNG-6772</name>
- <description>
- Checks that overriding the central repository always wins over the super POM.
- </description>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng6772</groupId>
- <artifactId>a</artifactId>
- <version>0.1</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <repositories>
- <repository>
- <id>central</id>
- <url>@baseurl@/repo</url>
- </repository>
- </repositories>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/.gitattributes b/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/.gitattributes
deleted file mode 100644
index e3bce59d1..000000000
--- a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/.gitattributes
+++ /dev/null
@@ -1,3 +0,0 @@
-*.pom text eol=lf
-maven-metadata.xml text eol=lf
-
diff --git a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/a/0.1/a-0.1.pom b/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/a/0.1/a-0.1.pom
deleted file mode 100644
index 5420f7bc1..000000000
--- a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/a/0.1/a-0.1.pom
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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.mng6772</groupId>
- <artifactId>a</artifactId>
- <version>0.1</version>
- <packaging>pom</packaging>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng6772</groupId>
- <artifactId>b</artifactId>
- <version>0.1</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/a/0.1/a-0.1.pom.md5 b/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/a/0.1/a-0.1.pom.md5
deleted file mode 100644
index 9fd5ca284..000000000
--- a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/a/0.1/a-0.1.pom.md5
+++ /dev/null
@@ -1 +0,0 @@
-0e871be0b2826cd1b685c08c1ac592b7
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/a/0.1/a-0.1.pom.sha1 b/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/a/0.1/a-0.1.pom.sha1
deleted file mode 100644
index a8b02357e..000000000
--- a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/a/0.1/a-0.1.pom.sha1
+++ /dev/null
@@ -1 +0,0 @@
-e4661f80f5265a892f65aad88613b39ac25b3265
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/b/0.1/b-0.1.pom b/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/b/0.1/b-0.1.pom
deleted file mode 100644
index 43874119b..000000000
--- a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/b/0.1/b-0.1.pom
+++ /dev/null
@@ -1,39 +0,0 @@
-<?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.mng6772</groupId>
- <artifactId>b</artifactId>
- <version>0.1</version>
- <packaging>pom</packaging>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng6772</groupId>
- <artifactId>c</artifactId>
- <version>0.1</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/b/0.1/b-0.1.pom.md5 b/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/b/0.1/b-0.1.pom.md5
deleted file mode 100644
index 10cf264b2..000000000
--- a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/b/0.1/b-0.1.pom.md5
+++ /dev/null
@@ -1 +0,0 @@
-41e65e1263946b235faf620172565687
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/b/0.1/b-0.1.pom.sha1 b/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/b/0.1/b-0.1.pom.sha1
deleted file mode 100644
index 23f762917..000000000
--- a/core-it-suite/src/test/resources/mng-6772-override-in-project/repo/org/apache/maven/its/mng6772/b/0.1/b-0.1.pom.sha1
+++ /dev/null
@@ -1 +0,0 @@
-d2c3318bde4e19f9b4d8aedd01bf2edf061f73b9
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6772-override-in-project/settings-override.xml b/core-it-suite/src/test/resources/mng-6772-override-in-project/settings-override.xml
deleted file mode 100644
index 662d3f08a..000000000
--- a/core-it-suite/src/test/resources/mng-6772-override-in-project/settings-override.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?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>
-</settings>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent-build.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent-build.pom
deleted file mode 100644
index bc932c61d..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent-build.pom
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- <version>0.9-${changelist}-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Multi Chapter Parent Project</name>
-
- <!-- Optimized from https://github.com/sonatype/maven-example-en/tree/master/examples/ch-multi -->
- <modules>
- <module>simple-parent</module>
- </modules>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent.pom
deleted file mode 100644
index ecf4d09d0..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/parent.pom
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- <version>0.9-MNG6957-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Multi Chapter Parent Project</name>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent-build.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent-build.pom
deleted file mode 100644
index 89ee52ccc..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent-build.pom
+++ /dev/null
@@ -1,52 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- </parent>
- <artifactId>simple-parent</artifactId>
- <packaging>pom</packaging>
- <name>Multi Chapter Simple Parent Project</name>
-
- <modules>
- <module>simple-weather</module>
- <module>simple-webapp</module>
-
- <!-- On purpose at the end, project graph is responsible for ordering -->
- <!-- Build/consumer should not be effected by reverse order -->
- <module>simple-testutils</module>
- <module>utils-parent</module>
- </modules>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>0.1-stub-SNAPSHOT</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent.pom
deleted file mode 100644
index 4f402f6b6..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-parent.pom
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- <version>0.9-MNG6957-SNAPSHOT</version>
- </parent>
- <artifactId>simple-parent</artifactId>
- <packaging>pom</packaging>
- <name>Multi Chapter Simple Parent Project</name>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>0.1-stub-SNAPSHOT</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils-build.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils-build.pom
deleted file mode 100644
index 75de31ce4..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils-build.pom
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>utils-parent</artifactId>
- <relativePath>../utils-parent</relativePath>
- </parent>
- <artifactId>simple-testutils</artifactId>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils.pom
deleted file mode 100644
index 1007f7ecf..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-testutils.pom
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-testutils</artifactId>
- <version>0.9-MNG6957-SNAPSHOT</version>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather-build.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather-build.pom
deleted file mode 100644
index 7fbe5bfa2..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather-build.pom
+++ /dev/null
@@ -1,39 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
- <artifactId>simple-weather</artifactId>
- <packaging>jar</packaging>
-
- <name>Multi Chapter Simple Weather API</name>
-
- <dependencies>
- <dependency>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-testutils</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather.pom
deleted file mode 100644
index cde80acde..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-weather.pom
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-weather</artifactId>
- <version>0.9-MNG6957-SNAPSHOT</version>
- <name>Multi Chapter Simple Weather API</name>
- <dependencies>
- <dependency>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-testutils</artifactId>
- <version>0.9-MNG6957-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp-build.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp-build.pom
deleted file mode 100644
index 655d0ccd1..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp-build.pom
+++ /dev/null
@@ -1,47 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
-
- <artifactId>simple-webapp</artifactId>
- <name>Multi Chapter Simple Web Application Project</name>
- <dependencies>
- <dependency>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-weather</artifactId>
- </dependency>
- </dependencies>
- <build>
- <finalName>simple-webapp</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.3.2</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp.pom
deleted file mode 100644
index 95717ad66..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/simple-webapp.pom
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-webapp</artifactId>
- <version>0.9-MNG6957-SNAPSHOT</version>
- <name>Multi Chapter Simple Web Application Project</name>
- <dependencies>
- <dependency>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-weather</artifactId>
- <version>0.9-MNG6957-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent-build.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent-build.pom
deleted file mode 100644
index 933db5cdb..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent-build.pom
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
- <artifactId>utils-parent</artifactId>
- <packaging>pom</packaging>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent.pom b/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent.pom
deleted file mode 100644
index 22d4fdbcc..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/expected/utils-parent.pom
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- <version>0.9-MNG6957-SNAPSHOT</version>
- </parent>
- <artifactId>utils-parent</artifactId>
- <packaging>pom</packaging>
-</project>
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/pom.xml b/core-it-suite/src/test/resources/mng-6957-buildconsumer/pom.xml
deleted file mode 100644
index bc932c61d..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/pom.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- <version>0.9-${changelist}-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Multi Chapter Parent Project</name>
-
- <!-- Optimized from https://github.com/sonatype/maven-example-en/tree/master/examples/ch-multi -->
- <modules>
- <module>simple-parent</module>
- </modules>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/pom.xml b/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/pom.xml
deleted file mode 100644
index 89ee52ccc..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/pom.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>parent</artifactId>
- </parent>
- <artifactId>simple-parent</artifactId>
- <packaging>pom</packaging>
- <name>Multi Chapter Simple Parent Project</name>
-
- <modules>
- <module>simple-weather</module>
- <module>simple-webapp</module>
-
- <!-- On purpose at the end, project graph is responsible for ordering -->
- <!-- Build/consumer should not be effected by reverse order -->
- <module>simple-testutils</module>
- <module>utils-parent</module>
- </modules>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>0.1-stub-SNAPSHOT</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/simple-testutils/pom.xml b/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/simple-testutils/pom.xml
deleted file mode 100644
index 75de31ce4..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/simple-testutils/pom.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>utils-parent</artifactId>
- <relativePath>../utils-parent</relativePath>
- </parent>
- <artifactId>simple-testutils</artifactId>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/simple-weather/pom.xml b/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/simple-weather/pom.xml
deleted file mode 100644
index 7fbe5bfa2..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/simple-weather/pom.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
- <artifactId>simple-weather</artifactId>
- <packaging>jar</packaging>
-
- <name>Multi Chapter Simple Weather API</name>
-
- <dependencies>
- <dependency>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-testutils</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/simple-webapp/pom.xml b/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/simple-webapp/pom.xml
deleted file mode 100644
index 655d0ccd1..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/simple-webapp/pom.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
-
- <artifactId>simple-webapp</artifactId>
- <name>Multi Chapter Simple Web Application Project</name>
- <dependencies>
- <dependency>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-weather</artifactId>
- </dependency>
- </dependencies>
- <build>
- <finalName>simple-webapp</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.3.2</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/utils-parent/pom.xml b/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/utils-parent/pom.xml
deleted file mode 100644
index 933db5cdb..000000000
--- a/core-it-suite/src/test/resources/mng-6957-buildconsumer/simple-parent/utils-parent/pom.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.sonatype.mavenbook.multi</groupId>
- <artifactId>simple-parent</artifactId>
- </parent>
- <artifactId>utils-parent</artifactId>
- <packaging>pom</packaging>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/.mvn/.gitkeep b/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/.mvn/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
diff --git a/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/module-a/pom.xml b/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/module-a/pom.xml
deleted file mode 100644
index 4b2b16435..000000000
--- a/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/module-a/pom.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng7390</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
- </parent>
-
- <artifactId>module-a</artifactId>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/module-b/pom.xml b/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/module-b/pom.xml
deleted file mode 100644
index a9d9f7e25..000000000
--- a/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/module-b/pom.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng7390</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
- </parent>
-
- <artifactId>module-b</artifactId>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/pom.xml b/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/pom.xml
deleted file mode 100644
index d353c2536..000000000
--- a/core-it-suite/src/test/resources/mng-7390-pl-outside-cwd/pom.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.its.mng7390</groupId>
- <artifactId>parent</artifactId>
- <version>1.0</version>
-
- <packaging>pom</packaging>
-
- <name>Maven Integration Test :: MNG-7390</name>
- <description>This test suite tests whether other modules in the same multi-module project can be selected when invoking Maven
- from a submodule.</description>
-
- <modules>
- <module>module-a</module>
- <module>module-b</module>
- </modules>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.its.plugins</groupId>
- <artifactId>maven-it-plugin-log-file</artifactId>
- <version>2.1-SNAPSHOT</version>
- <configuration>
- <logFile>target/touch.txt</logFile>
- </configuration>
- <executions>
- <execution>
- <id>test</id>
- <goals>
- <goal>reset</goal>
- </goals>
- <phase>validate</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7629/.mvn/placeholder.txt b/core-it-suite/src/test/resources/mng-7629/.mvn/placeholder.txt
deleted file mode 100644
index e69de29bb..000000000
diff --git a/core-it-suite/src/test/resources/mng-7629/child-1/pom.xml b/core-it-suite/src/test/resources/mng-7629/child-1/pom.xml
deleted file mode 100644
index 1a8c62fd7..000000000
--- a/core-it-suite/src/test/resources/mng-7629/child-1/pom.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng7629</groupId>
- <artifactId>test</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>child-1</artifactId>
-
- <properties>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>3.2.0</version>
- <executions>
- <execution>
- <id>attach-mdo</id>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>src/main/mdo/settings.mdo</file>
- <type>mdo</type>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7629/child-1/src/main/java/org/apache/maven/its/mng7629/Test.java b/core-it-suite/src/test/resources/mng-7629/child-1/src/main/java/org/apache/maven/its/mng7629/Test.java
deleted file mode 100644
index 8fe6e4958..000000000
--- a/core-it-suite/src/test/resources/mng-7629/child-1/src/main/java/org/apache/maven/its/mng7629/Test.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.its.mng7629;
-
-class Test {}
diff --git a/core-it-suite/src/test/resources/mng-7629/child-1/src/main/mdo/settings.mdo b/core-it-suite/src/test/resources/mng-7629/child-1/src/main/mdo/settings.mdo
deleted file mode 100644
index 93fa6034a..000000000
--- a/core-it-suite/src/test/resources/mng-7629/child-1/src/main/mdo/settings.mdo
+++ /dev/null
@@ -1,1083 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- 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.
--->
-
-<model xmlns="http://codehaus-plexus.github.io/MODELLO/1.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://codehaus-plexus.github.io/MODELLO/1.4.0 http://codehaus-plexus.github.io/modello/xsd/modello-1.4.0.xsd"
- xml.namespace="http://maven.apache.org/SETTINGS/${version}"
- xml.schemaLocation="http://maven.apache.org/xsd/settings-${version}.xsd">
- <id>settings</id>
- <name>Settings</name>
- <description>
- <![CDATA[
- <p>This is a reference for the user-specific configuration for Maven.</p>
- <p>Includes things that should not be distributed with the pom.xml file, such as developer identity, along with
- local settings, like proxy information.</p>
- <p>The default location for the settings file is <i>~/.m2/settings.xml</i></p>
- ]]>
- </description>
- <defaults>
- <default>
- <key>package</key>
- <value>org.apache.maven.settings</value>
- </default>
- </defaults>
- <classes>
- <class java.clone="deep">
- <name>TrackableBase</name>
- <version>1.0.0+</version>
- <description>
- common base class that contains code to track the source for
- this instance (USER|GLOBAL)
- </description>
- <codeSegments>
- <codeSegment>
- <version>1.0.0+</version>
- <code>
- <![CDATA[
- public static final String USER_LEVEL = "user-level";
- public static final String GLOBAL_LEVEL = "global-level";
-
- private String sourceLevel = USER_LEVEL;
- private boolean sourceLevelSet = false;
-
- public void setSourceLevel( String sourceLevel )
- {
- if ( sourceLevelSet )
- {
- throw new IllegalStateException( "Cannot reset sourceLevel attribute; it is already set to: " + sourceLevel );
- }
- else if ( !( USER_LEVEL.equals( sourceLevel ) || GLOBAL_LEVEL.equals( sourceLevel ) ) )
- {
- throw new IllegalArgumentException( "sourceLevel must be one of: {" + USER_LEVEL + "," + GLOBAL_LEVEL + "}" );
- }
- else
- {
- this.sourceLevel = sourceLevel;
- this.sourceLevelSet = true;
- }
- }
-
- public String getSourceLevel()
- {
- return sourceLevel;
- }
- ]]>
- </code>
- </codeSegment>
- </codeSegments>
- </class>
- <class>
- <name>IdentifiableBase</name>
- <superClass>TrackableBase</superClass>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Base class for <code>Mirror</code>, <code>Profile</code>, <code>Proxy</code> and <code>Server</code>.
- ]]></description>
- <fields>
- <field>
- <name>id</name>
- <version>1.0.0+</version>
- <type>String</type>
- <defaultValue>default</defaultValue>
- <required>true</required>
- </field>
- </fields>
- </class>
- <class rootElement="true" xml.tagName="settings">
- <name>Settings</name>
- <version>1.0.0+</version>
- <superClass>TrackableBase</superClass>
- <description>
- Root element of the user configuration file.
- </description>
- <fields>
- <field>
- <name>localRepository</name>
- <version>1.0.0+</version>
- <required>true</required>
- <description>
- <![CDATA[
- The local repository.<br><b>Default value is:</b> <code>${user.home}/.m2/repository</code>
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>interactiveMode</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Whether Maven should attempt to interact with the user for input.
- ]]>
- </description>
- <type>boolean</type>
- <defaultValue>true</defaultValue>
- </field>
- <field>
- <name>usePluginRegistry</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Whether Maven should use the plugin-registry.xml file to manage plugin versions.
- ]]>
- </description>
- <type>boolean</type>
- <defaultValue>false</defaultValue>
- </field>
- <!-- [JC] Not ready to use yet, so I'm making if unavailable for now. -->
- <!-- field>
- <name>passwordStore</name>
- <version>1.0.0+</version>
- <required>false</required>
- <description><![CDATA[The keystore used to store passwords.]]></description>
- <type>String</type>
- </field -->
- <field>
- <name>offline</name>
- <version>1.0.0+</version>
- <required>false</required>
- <description>
- <![CDATA[
- Indicate whether maven should operate in offline mode full-time.
- ]]>
- </description>
- <type>boolean</type>
- <defaultValue>false</defaultValue>
- </field>
- <!-- [JC] Not ready to use yet, so I'm making if unavailable for now. -->
- <!-- field>
- <name>jdks</name>
- <version>1.0.0+</version>
- <description><![CDATA[
- Configuration for different java environment profiles. One good use
- for this might be to configure both JDK 1.4 and JDK 1.5 to work with
- maven. Profiles will allow switching of entire java environments
- based on the profile id, either in the defaults section below, or on
- the command line.
- ]]></description>
- <association>
- <type>Jdk</type>
- <multiplicity>*</multiplicity>
- </association>
- </field -->
- <field xdoc.separator="blank">
- <name>proxies</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Configuration for different proxy profiles. Multiple proxy profiles
- might come in handy for anyone working from a notebook or other
- mobile platform, to enable easy switching of entire proxy
- configurations by simply specifying the profile id, again either from
- the command line or from the defaults section below.
- ]]>
- </description>
- <association>
- <type>Proxy</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- <field xdoc.separator="blank">
- <name>servers</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Configuration of server-specific settings, mainly authentication
- method. This allows configuration of authentication on a per-server
- basis.
- ]]>
- </description>
- <association>
- <type>Server</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- <field xdoc.separator="blank">
- <name>mirrors</name>
- <version>1.0.0+</version>
- <description>
- Configuration of download mirrors for repositories.
- </description>
- <association>
- <type>Mirror</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- <field xdoc.separator="blank">
- <name>profiles</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Configuration of build profiles for adjusting the build
- according to environmental parameters.
- ]]>
- </description>
- <association>
- <type>Profile</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- <field xdoc.separator="blank">
- <name>activeProfiles</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- List of manually-activated build profiles, specified in the order in which
- they should be applied.
- ]]>
- </description>
- <association>
- <type>String</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- <field>
- <name>pluginGroups</name>
- <version>1.0.0+</version>
- <description>
- List of groupIds to search for a plugin when that plugin
- groupId is not explicitly provided.
- </description>
- <association>
- <type>String</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- </fields>
- <codeSegments>
- <codeSegment>
- <version>1.0.0+</version>
- <code>
- <![CDATA[
- public Boolean getInteractiveMode()
- {
- return Boolean.valueOf( isInteractiveMode() );
- }
-
- private Proxy activeProxy;
-
- /**
- * Reset the <code>activeProxy</code> field to <code>null</code>
- */
- public void flushActiveProxy()
- {
- this.activeProxy = null;
- }
-
- /**
- * @return the first active proxy
- */
- public synchronized Proxy getActiveProxy()
- {
- if ( activeProxy == null )
- {
- java.util.List<Proxy> proxies = getProxies();
- if ( proxies != null && !proxies.isEmpty() )
- {
- for ( Proxy proxy : proxies )
- {
- if ( proxy.isActive() )
- {
- activeProxy = proxy;
- break;
- }
- }
- }
- }
-
- return activeProxy;
- }
-
- public Server getServer( String serverId )
- {
- Server match = null;
-
- java.util.List<Server> servers = getServers();
- if ( servers != null && serverId != null )
- {
- for ( Server server : servers )
- {
- if ( serverId.equals( server.getId() ) )
- {
- match = server;
- break;
- }
- }
- }
-
- return match;
- }
-
- @Deprecated
- public Mirror getMirrorOf( String repositoryId )
- {
- Mirror match = null;
-
- java.util.List<Mirror> mirrors = getMirrors();
- if ( mirrors != null && repositoryId != null )
- {
- for ( Mirror mirror : mirrors )
- {
- if ( repositoryId.equals( mirror.getMirrorOf() ) )
- {
- match = mirror;
- break;
- }
- }
- }
-
- return match;
- }
-
- private java.util.Map<String, Profile> profileMap;
-
- /**
- * Reset the <code>profileMap</code> field to <code>null</code>
- */
- public void flushProfileMap()
- {
- this.profileMap = null;
- }
-
- /**
- * @return a Map of profiles field with <code>Profile#getId()</code> as key
- * @see Profile#getId()
- */
- public java.util.Map<String, Profile> getProfilesAsMap()
- {
- if ( profileMap == null )
- {
- profileMap = new java.util.LinkedHashMap<String, Profile>();
-
- if ( getProfiles() != null )
- {
- for ( Profile profile : getProfiles() )
- {
- profileMap.put( profile.getId(), profile );
- }
- }
- }
-
- return profileMap;
- }
- ]]>
- </code>
- </codeSegment>
- </codeSegments>
- </class>
- <!-- @todo: is any of this too CVS specific? Investigate other SCMs -->
- <!-- [JC] Commenting out until we're ready to use it... -->
- <!-- class>
- <name>Jdk</name>
- <version>1.0.0+</version>
- <superClass>TrackableBase</superClass>
- <description><![CDATA[Describes one Java environment]]></description>
- <fields>
- <field>
- <name>active</name>
- <version>1.0.0+</version>
- <required>false</required>
- <defaultValue>false</defaultValue>
- <description><![CDATA[Whether this JDK is the active one.]]></description>
- <type>boolean</type>
- </field>
- <field>
- <name>version</name>
- <version>1.0.0+</version>
- <required>true</required>
- <description><![CDATA[The JDK major version (eg. '1.4').]]></description>
- <type>String</type>
- </field>
- <field>
- <name>javaHome</name>
- <version>1.0.0+</version>
- <required>true</required>
- <description><![CDATA[The JDK home.]]></description>
- <type>String</type>
- </field>
- </fields>
- </class -->
- <class>
- <name>Proxy</name>
- <version>1.0.0+</version>
- <superClass>IdentifiableBase</superClass>
- <description>
- <![CDATA[
- The <code><proxy></code> element contains informations required to a proxy settings.
- ]]></description>
- <fields>
- <field>
- <name>active</name>
- <version>1.0.0+</version>
- <required>false</required>
- <defaultValue>true</defaultValue>
- <description>
- <![CDATA[
- Whether this proxy configuration is the active one.
- ]]>
- </description>
- <type>boolean</type>
- </field>
- <field>
- <name>protocol</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The proxy protocol.
- ]]>
- </description>
- <type>String</type>
- <defaultValue>http</defaultValue>
- </field>
- <field>
- <name>username</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The proxy user.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>password</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The proxy password.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>port</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The proxy port.
- ]]>
- </description>
- <type>int</type>
- <defaultValue>8080</defaultValue>
- </field>
- <field>
- <name>host</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The proxy host.
- ]]>
- </description>
- <type>String</type>
- <required>true</required>
- </field>
- <field>
- <name>nonProxyHosts</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The list of non-proxied hosts (delimited by |).
- ]]>
- </description>
- <type>String</type>
- </field>
- </fields>
- </class>
- <class>
- <name>Server</name>
- <version>1.0.0+</version>
- <superClass>IdentifiableBase</superClass>
- <description>
- <![CDATA[
- The <code><server></code> element contains informations required to a server settings.
- ]]></description>
- <fields>
- <field>
- <name>username</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The username used to authenticate.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>password</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The password used in conjunction with the username to authenticate.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>privateKey</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The private key location used to authenticate.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>passphrase</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The passphrase used in conjunction with the privateKey to authenticate.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>filePermissions</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The permissions for files when they are created.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>directoryPermissions</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The permissions for directories when they are created.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>configuration</name>
- <type>DOM</type>
- <description>
- <![CDATA[
- Extra configuration for the transport layer.
- ]]>
- </description>
- </field>
- </fields>
- </class>
- <class>
- <name>Mirror</name>
- <version>1.0.0+</version>
- <superClass>IdentifiableBase</superClass>
- <description>
- A download mirror for a given repository.
- </description>
- <fields>
- <field>
- <name>mirrorOf</name>
- <required>true</required>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- The server ID of the repository being mirrored, e.g.,
- "central". This MUST NOT match the mirror id.
- </description>
- </field>
- <field>
- <name>name</name>
- <required>false</required>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- The optional name that describes the mirror.
- </description>
- </field>
- <field>
- <name>url</name>
- <required>true</required>
- <version>1.0.0+</version>
- <type>String</type>
- <description>The URL of the mirror repository.</description>
- </field>
- <field>
- <name>layout</name>
- <version>1.1.0+</version>
- <type>String</type>
- <defaultValue>default</defaultValue>
- <description>The layout of the mirror repository. Since Maven 3.</description>
- </field>
- <field>
- <name>mirrorOfLayouts</name>
- <version>1.1.0+</version>
- <type>String</type>
- <defaultValue>default,legacy</defaultValue>
- <description>
- The layouts of repositories being mirrored. This value can be used to restrict the usage
- of the mirror to repositories with a matching layout (apart from a matching id). Since Maven 3.
- </description>
- </field>
- <field>
- <name>blocked</name>
- <version>1.2.0+</version>
- <type>boolean</type>
- <defaultValue>false</defaultValue>
- <description>
- Whether this mirror should be blocked from any download request but fail the download process, explaining why.
- </description>
- </field>
- </fields>
- <codeSegments>
- <codeSegment>
- <version>1.0.0+</version>
- <code>
- <![CDATA[
-
- public String toString()
- {
- StringBuilder sb = new StringBuilder( 128 );
- sb.append( "Mirror[" );
- sb.append( "id=" ).append( this.getId() );
- sb.append( ",mirrorOf=" ).append( this.getMirrorOf() );
- sb.append( ",url=" ).append( this.getUrl() );
- sb.append( ",name=" ).append( this.getName() );
- if ( isBlocked() )
- {
- sb.append( ",blocked" );
- }
- sb.append( "]" );
- return sb.toString();
- }
- ]]>
- </code>
- </codeSegment>
- </codeSegments>
- </class>
- <!-- Profile support -->
- <class>
- <name>Profile</name>
- <version>1.0.0+</version>
- <superClass>IdentifiableBase</superClass>
- <description>
- <![CDATA[
- Modifications to the build process which is keyed on some
- sort of environmental parameter.
- ]]>
- </description>
- <fields>
- <field>
- <name>activation</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The conditional logic which will automatically
- trigger the inclusion of this profile.
- ]]>
- </description>
- <association>
- <type>Activation</type>
- </association>
- </field>
- <field>
- <name>properties</name>
- <description>
- <![CDATA[
- Extended configuration specific to this profile goes here.
- Contents take the form of
- <code><property.name>property.value</property.name></code>
- ]]>
- </description>
- <type>Properties</type>
- <association xml.mapStyle="inline">
- <type>String</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- <field xdoc.separator="blank">
- <name>repositories</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The lists of the remote repositories.
- ]]>
- </description>
- <association>
- <type>Repository</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- <field>
- <name>pluginRepositories</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The lists of the remote repositories for discovering plugins.
- ]]>
- </description>
- <association>
- <type>Repository</type>
- <multiplicity>*</multiplicity>
- </association>
- <comment>
- <![CDATA[
- This may be removed or relocated in the near
- future. It is undecided whether plugins really need a remote
- repository set of their own.
- ]]>
- </comment>
- </field>
- </fields>
- </class>
- <class java.clone="deep">
- <name>Activation</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The conditions within the build runtime environment which will trigger
- the automatic inclusion of the parent build profile.
- ]]>
- </description>
- <fields>
- <field>
- <name>activeByDefault</name>
- <version>1.0.0+</version>
- <type>boolean</type>
- <description>
- Flag specifying whether this profile is active as a default.
- </description>
- </field>
- <field>
- <name>jdk</name>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- <![CDATA[
- Specifies that this profile will be activated when a matching JDK is detected.
- ]]>
- </description>
- </field>
- <field>
- <name>os</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Specifies that this profile will be activated when matching OS attributes are detected.
- ]]>
- </description>
- <association>
- <type>ActivationOS</type>
- </association>
- </field>
- <field>
- <name>property</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Specifies that this profile will be activated when this property is specified.
- ]]>
- </description>
- <association>
- <type>ActivationProperty</type>
- </association>
- </field>
- <field>
- <name>file</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Specifies that this profile will be activated based on existence of a file.
- ]]>
- </description>
- <association>
- <type>ActivationFile</type>
- </association>
- </field>
- </fields>
- </class>
-
- <!-- TODO: reproduced from maven-model/maven.mdo, instead should inherit code and link to external docs -->
- <class java.clone="deep">
- <name>RepositoryBase</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Repository contains the information needed
- for establishing connections with remote repository
- ]]>
- </description>
- <fields>
- <field>
- <name>id</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- A unique identifier for a repository.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>name</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- Human readable name of the repository.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>url</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- The url of the repository.
- ]]>
- </description>
- <type>String</type>
- </field>
- <field>
- <name>layout</name>
- <version>1.0.0+</version>
- <description>
- The type of layout this repository uses for locating and
- storing artifacts - can be "legacy" or "default".
- </description>
- <type>String</type>
- <defaultValue>default</defaultValue>
- </field>
- </fields>
- <codeSegments>
- <codeSegment>
- <version>1.0.0+</version>
- <code>
- <![CDATA[
- /**
- * @see java.lang.Object#equals(java.lang.Object)
- */
- public boolean equals( Object obj )
- {
- RepositoryBase other = (RepositoryBase) obj;
- boolean retValue = false;
- if ( this.getId() != null )
- {
- retValue = this.getId().equals( other.getId() );
- }
- return retValue;
- }
- ]]>
- </code>
- </codeSegment>
- </codeSegments>
- </class>
-
- <class>
- <name>Repository</name>
- <superClass>RepositoryBase</superClass>
- <version>1.0.0+</version>
- <description>
- Repository contains the information needed for establishing
- connections with remote repository
- </description>
- <fields>
- <field>
- <name>releases</name>
- <version>1.0.0+</version>
- <description>
- How to handle downloading of releases from this repository
- </description>
- <association>
- <type>RepositoryPolicy</type>
- </association>
- </field>
- <field>
- <name>snapshots</name>
- <version>1.0.0+</version>
- <description>
- How to handle downloading of snapshots from this repository
- </description>
- <association>
- <type>RepositoryPolicy</type>
- </association>
- </field>
- </fields>
- <!-- prevent Modello generation of an incorrect equals method. Could be avoided by using <identity/> tags to mark ID as the only identity field -->
- <codeSegments>
- <codeSegment>
- <version>1.0.0+</version>
- <code>
- <![CDATA[
- /**
- * @see RepositoryBase#equals(java.lang.Object)
- */
- public boolean equals( Object obj )
- {
- return super.equals( obj );
- }
- ]]>
- </code>
- </codeSegment>
- </codeSegments>
- </class>
-
- <class java.clone="deep">
- <name>RepositoryPolicy</name>
- <version>1.0.0+</version>
- <description>Download policy</description>
- <fields>
- <field>
- <name>enabled</name>
- <version>1.0.0+</version>
- <description>
- Whether to use this repository for downloading this type of
- artifact.
- </description>
- <type>boolean</type>
- <defaultValue>true</defaultValue>
- </field>
- <field>
- <name>updatePolicy</name>
- <version>1.0.0+</version>
- <description>
- The frequency for downloading updates - can be "always",
- "daily" (default), "interval:XXX" (in minutes) or "never"
- (only if it doesn't exist locally).
- </description>
- <type>String</type>
- </field>
- <field>
- <name>checksumPolicy</name>
- <version>1.0.0+</version>
- <description>
- What to do when verification of an artifact checksum fails. Valid values are "fail" (default for Maven 4 and
- above), "warn" (default for Maven 2 and 3) or "ignore".
- </description>
- <type>String</type>
- </field>
- </fields>
- </class>
-
- <class java.clone="deep">
- <name>ActivationProperty</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- This is the property specification used to activate a profile. If the value field is empty,
- then the existence of the named property will activate the profile, otherwise it does a case-sensitive
- match against the property value as well.
- ]]>
- </description>
- <fields>
- <field>
- <name>name</name>
- <version>1.0.0+</version>
- <type>String</type>
- <required>true</required>
- <description>
- The name of the property to be used to activate a profile.
- </description>
- </field>
- <field>
- <name>value</name>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- The value of the property to be used to activate a profile.
- </description>
- </field>
- </fields>
- </class>
- <class java.clone="deep">
- <name>ActivationOS</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- This is an activator which will detect an operating system's attributes in order to activate
- its profile.
- ]]>
- </description>
- <fields>
- <field>
- <name>name</name>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- The name of the OS to be used to activate a profile.
- </description>
- </field>
- <field>
- <name>family</name>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- The general family of the OS to be used to activate a
- profile (e.g. 'windows')
- </description>
- </field>
- <field>
- <name>arch</name>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- The architecture of the OS to be used to activate a profile.
- </description>
- </field>
- <field>
- <name>version</name>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- The version of the OS to be used to activate a profile.
- </description>
- </field>
- </fields>
- </class>
- <class java.clone="deep">
- <name>ActivationFile</name>
- <version>1.0.0+</version>
- <description>
- <![CDATA[
- This is the file specification used to activate a profile. The missing value will be a the location
- of a file that needs to exist, and if it doesn't the profile must run. On the other hand exists will test
- for the existence of the file and if it is there will run the profile.
- ]]>
- </description>
- <fields>
- <field>
- <name>missing</name>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- The name of the file that should be missing to activate a
- profile.
- </description>
- </field>
- <field>
- <name>exists</name>
- <version>1.0.0+</version>
- <type>String</type>
- <description>
- The name of the file that should exist to activate a profile.
- </description>
- </field>
- </fields>
- </class>
- <!-- /BuildProfile support -->
- </classes>
-</model>
diff --git a/core-it-suite/src/test/resources/mng-7629/child-2/pom.xml b/core-it-suite/src/test/resources/mng-7629/child-2/pom.xml
deleted file mode 100644
index a690b32a5..000000000
--- a/core-it-suite/src/test/resources/mng-7629/child-2/pom.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng7629</groupId>
- <artifactId>test</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>child-2</artifactId>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng7629</groupId>
- <artifactId>child-1</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.3.0</version>
- <executions>
- <execution>
- <id>copy-model</id>
- <goals>
- <goal>copy</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.maven.its.mng7629</groupId>
- <artifactId>child-1</artifactId>
- <version>1.0-SNAPSHOT</version>
- <type>mdo</type>
- <outputDirectory>target/mdo/</outputDirectory>
- <destFileName>settings.mdo</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7629/pom.xml b/core-it-suite/src/test/resources/mng-7629/pom.xml
deleted file mode 100644
index 30e555b64..000000000
--- a/core-it-suite/src/test/resources/mng-7629/pom.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.its.mng7629</groupId>
- <artifactId>test</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <modules>
- <module>child-1</module>
- <module>child-2</module>
- </modules>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/pom.xml b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/pom.xml
deleted file mode 100644
index 4e39d213a..000000000
--- a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/pom.xml
+++ /dev/null
@@ -1,143 +0,0 @@
-<?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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.its.mng-7836</groupId>
- <artifactId>maven-hocon-extension</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <properties>
- <javaVersion>8</javaVersion>
- <maven.compiler.source>${javaVersion}</maven.compiler.source>
- <maven.compiler.target>${javaVersion}</maven.compiler.target>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-api-spi</artifactId>
- <version>4.0.0-alpha-8-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-api-core</artifactId>
- <version>4.0.0-alpha-8-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.typesafe</groupId>
- <artifactId>config</artifactId>
- <version>1.4.2</version>
- </dependency>
- <dependency>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- <version>1</version>
- </dependency>
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- <version>1.3.2</version>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- <version>5.9.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.3.0</version>
- <executions>
- <execution>
- <id>copy-mdo</id>
- <goals>
- <goal>copy</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-api-model</artifactId>
- <version>4.0.0-alpha-8-SNAPSHOT</version>
- <type>mdo</type>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.modello</groupId>
- <artifactId>modello-maven-plugin</artifactId>
- <version>2.1.1</version>
- <executions>
- <execution>
- <id>generate-hocon-reader</id>
- <goals>
- <goal>velocity</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <version>4.2.0</version>
- <models>
- <model>target/dependency/maven-api-model-4.0.0-alpha-8-SNAPSHOT.mdo</model>
- </models>
- <templates>
- <template>src/mdo/hocon-reader.vm</template>
- </templates>
- <params>
- <param>packageModelV4=org.apache.maven.api.model</param>
- </params>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.eclipse.sisu</groupId>
- <artifactId>sisu-maven-plugin</artifactId>
- <version>0.9.0.M4</version>
- <executions>
- <execution>
- <id>index-project</id>
- <goals>
- <goal>main-index</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M7</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/main/java/org/apache/maven/hocon/HoconModelReader.java b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/main/java/org/apache/maven/hocon/HoconModelReader.java
deleted file mode 100644
index 0a7e55b25..000000000
--- a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/main/java/org/apache/maven/hocon/HoconModelReader.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.hocon;
-
-import javax.annotation.Priority;
-import javax.inject.Named;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.nio.charset.StandardCharsets;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.util.Map;
-import java.util.Optional;
-
-import com.typesafe.config.Config;
-import com.typesafe.config.ConfigFactory;
-import org.apache.maven.api.model.Model;
-import org.apache.maven.api.services.Source;
-import org.apache.maven.api.spi.ModelParser;
-import org.apache.maven.api.spi.ModelParserException;
-
-@Named("hocon")
-@Priority(1)
-public class HoconModelReader implements ModelParser {
-
- @Override
- public Optional<Source> locate(Path path) {
- Path pom = Files.isDirectory(path) ? path.resolve("pom.hocon") : path;
- return Files.isRegularFile(pom) ? Optional.of(new PathSource(pom)) : Optional.empty();
- }
-
- @Override
- public Model parse(Source source, Map<String, ?> map) throws ModelParserException {
- Config config;
- if (source.getPath() != null) {
- config = ConfigFactory.parseFile(source.getPath().toFile());
- } else {
- try (InputStream input = source.openStream()) {
- config = ConfigFactory.parseReader(new InputStreamReader(input, StandardCharsets.UTF_8));
- } catch (IOException e) {
- throw new ModelParserException("Unable to parse: " + source.getLocation(), e);
- }
- }
- return new HoconReader().parseModel(config.root());
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/main/java/org/apache/maven/hocon/PathSource.java b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/main/java/org/apache/maven/hocon/PathSource.java
deleted file mode 100644
index cdf5b7bd4..000000000
--- a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/main/java/org/apache/maven/hocon/PathSource.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.hocon;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.util.Objects;
-
-import org.apache.maven.api.services.Source;
-
-public class PathSource implements Source {
-
- private final Path path;
-
- public PathSource(Path path) {
- this.path = Objects.requireNonNull(path);
- }
-
- @Override
- public Path getPath() {
- return path;
- }
-
- @Override
- public InputStream openStream() throws IOException {
- return Files.newInputStream(path);
- }
-
- @Override
- public String getLocation() {
- return path.toString();
- }
-
- @Override
- public Source resolve(String s) {
- return new PathSource(path.resolve(s));
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/mdo/hocon-reader.vm b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/mdo/hocon-reader.vm
deleted file mode 100644
index b21925f39..000000000
--- a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/mdo/hocon-reader.vm
+++ /dev/null
@@ -1,206 +0,0 @@
-#*
- 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.
-*#
-#set ( $package = "org.apache.maven.hocon" )
-#set ( $className = "HoconReader" )
-#
-#set ( $root = $model.getClass( $model.getRoot($version), $version ) )
-#set ( $rootXml = $Helper.xmlClassMetadata( $root ) )
-#set ( $rootTag = $rootXml.tagName )
-#set ( $rootUcapName = $Helper.capitalise( $root.name ) )
-#set ( $rootLcapName = $Helper.uncapitalise( $root.name ) )
-#
-#MODELLO-VELOCITY#SAVE-OUTPUT-TO ${package.replace('.','/')}/${className}.java
-// =================== DO NOT EDIT THIS FILE ====================
-// Generated by Modello Velocity from ${template}
-// template, any modifications will be overwritten.
-// ==============================================================
-package ${package};
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.Reader;
-import java.text.DateFormat;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-import java.util.Set;
-import java.util.function.Function;
-import java.util.stream.Collectors;
-import org.apache.maven.api.annotations.Generated;
-#foreach ( $class in $model.allClasses )
-import ${packageModelV4}.${class.name};
-#end
-import com.typesafe.config.ConfigList;
-import com.typesafe.config.ConfigObject;
-import com.typesafe.config.ConfigValue;
-import com.typesafe.config.ConfigValueType;
-
-@Generated
-public class ${className} {
-
-#foreach ( $class in $model.allClasses )
- #if ( $class.name != "InputSource" && $class.name != "InputLocation" )
- #set ( $classUcapName = $Helper.capitalise( $class.name ) )
- #set ( $classLcapName = $Helper.uncapitalise( $class.name ) )
- #set ( $ancestors = $Helper.ancestors( $class ) )
- #set ( $allFields = [] )
- #foreach ( $cl in $ancestors )
- #set ( $dummy = $allFields.addAll( $cl.getFields($version) ) )
- #end
- public ${classUcapName} parse${classUcapName}(ConfigValue value) {
- if (value instanceof ConfigObject) {
- ${classUcapName}.Builder ${classLcapName} = ${classUcapName}.newBuilder(true);
- ((ConfigObject) value).forEach((k, v) -> {
- switch (k) {
- #foreach ( $field in $allFields )
- #if ( ! $Helper.xmlFieldMetadata( $field ).transient && $field.name != "root" )
- #set ( $fieldTagName = $Helper.xmlFieldMetadata( $field ).tagName )
- #if ( ! $fieldTagName )
- #set ( $fieldTagName = $field.name )
- #end
- #if ( $Helper.isFlatItems( $field ) )
- #set ( $fieldTagName = $Helper.singular( $fieldTagName ) )
- #end
- #set ( $fieldCapName = $Helper.capitalise( $field.name ) )
- case "${fieldTagName}": {
- #if ( $field.type == "String" )
- ${classLcapName}.${field.name}(getStringValue(v));
- break;
- #elseif ( $field.type == "boolean" || $field.type == "Boolean" )
- ${classLcapName}.${field.name}(getBooleanValue(v));
- break;
- #elseif ( $field.type == "int" )
- ${classLcapName}.${field.name}(getIntegerValue(v));
- break;
- #elseif ( $field.type == "DOM" )
-// ${classLcapName}.${field.name}(XmlNodeBuilder.build(parser, true));
- break;
- #elseif ( $field.type == "java.util.List" && $field.to == "String" && $field.multiplicity == "*" )
- ${classLcapName}.${field.name}(getStringList(v));
- break;
- #elseif ( $field.type == "java.util.Properties" && $field.to == "String" && $field.multiplicity == "*" )
- ${classLcapName}.${field.name}(getStringMap(v));
- break;
- #elseif ( $field.to && $field.multiplicity == "1" )
- ${classLcapName}.${field.name}(parse${field.toClass.name}(v));
- break;
- #elseif ( $field.to && $field.multiplicity == "*" && $Helper.isFlatItems( $field ) )
- ${field.name}.add(parse${field.toClass.name}(v));
- break;
- #elseif ( $field.to && $field.multiplicity == "*" )
- ${classLcapName}.${field.name}(getList(v, this::parse${field.toClass.name}));
- break;
- #else
- // TODO: type=${field.type} to=${field.to} multiplicity=${field.multiplicity}
- break;
- #end
- }
- #end
- #end
- default: {
- checkUnknownElement(k, v);
- break;
- }
- }
- });
- #foreach ( $field in $allFields )
- #if ( $Helper.isFlatItems( $field ) )
- ${classLcapName}.${field.name}(${field.name});
- #end
- #end
- return ${classLcapName}.build();
- #if($class.name=="Dependency")
- } else if (value != null && value.valueType() == ConfigValueType.STRING) {
- Dependency.Builder dependency = Dependency.newBuilder(true);
- String[] tokens = ((String) value.unwrapped()).split(":");
- if (tokens.length < 3 || tokens.length > 5) {
- throw new RuntimeException("Invalid artifact, you must specify "
- + "groupId:artifactId:version[:packaging[:classifier]] " + value);
- }
- dependency.groupId(tokens[0]);
- dependency.artifactId(tokens[1]);
- dependency.version(tokens[2]);
- if (tokens.length >= 4) {
- dependency.type(tokens[3]);
- }
- if (tokens.length == 5) {
- dependency.classifier(tokens[4]);
- }
- return dependency.build();
- #end
- } else if (value != null) {
- throw new IllegalArgumentException("Invalid syntax: cannot parse: " + value);
- }
- return null;
- }
-
- #end
-#end
-
- protected String getStringValue(ConfigValue v) {
- return v.unwrapped().toString();
- }
-
- protected List<String> getStringList(ConfigValue v) {
- if (v instanceof ConfigList) {
- return ((ConfigList) v).unwrapped().stream().map(Object::toString)
- .collect(Collectors.toList());
- }
- throw new IllegalArgumentException("Unable to convert to List<String>: '" + v + "'");
- }
-
- protected boolean getBooleanValue(ConfigValue v) {
- return Boolean.parseBoolean(v.unwrapped().toString());
- }
-
- protected int getIntegerValue(ConfigValue v) {
- return Integer.parseInt(v.unwrapped().toString());
- }
-
- protected ConfigList getList(ConfigValue v) {
- if (v instanceof ConfigList) {
- return (ConfigList) v;
- }
- throw new IllegalArgumentException("Unable to convert to List<?>: '" + v + "'");
- }
-
- protected <T> List<T> getList(ConfigValue v, Function<ConfigValue, T> parser) {
- return getList(v).stream().map(parser).collect(Collectors.toList());
- }
-
- protected Map<String, String> getStringMap(ConfigValue v) {
- if (v instanceof ConfigObject) {
- return ((ConfigObject) v).entrySet().stream().collect(Collectors.toMap(
- e -> e.getKey(),
- e -> getStringValue(e.getValue())
- ));
- }
- throw new IllegalArgumentException("Unable to convert to Map<String, String>: '" + v + "'");
- }
-
- protected void checkUnknownElement(String k, Object v) {
- throw new IllegalArgumentException("Unrecognized element '" + k + "' with value '" + v + "'");
- }
-
-}
diff --git a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/test/java/org/apache/maven/hocon/ParsingTest.java b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/test/java/org/apache/maven/hocon/ParsingTest.java
deleted file mode 100644
index 6f611af0f..000000000
--- a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/test/java/org/apache/maven/hocon/ParsingTest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.hocon;
-
-import java.io.File;
-
-import com.typesafe.config.Config;
-import com.typesafe.config.ConfigFactory;
-import org.apache.maven.api.model.Model;
-import org.junit.jupiter.api.Test;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
-class ParsingTest {
-
- @Test
- void testParse() throws Exception {
- Config config = ConfigFactory.parseFile(new File("src/test/resources/pom.hocon"));
-
- Model model = new HoconReader().parseModel(config.root());
-
- assertEquals("40", model.getParent().getVersion());
- assertEquals(1, model.getDependencies().size());
- assertEquals(2, model.getProperties().size());
- }
-}
diff --git a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/test/resources/pom.hocon b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/test/resources/pom.hocon
deleted file mode 100644
index c51b554e4..000000000
--- a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/src/test/resources/pom.hocon
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# 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.
-#
-modelVersion = 4.0.0
-parent {
- groupId = org.apache.maven.extensions
- artifactId = maven-extensions
- version = 40
-}
-groupId = org.apache.maven.extensions
-artifactId = maven-hocon-extension
-version = 1.0.0-SNAPSHOT
-
-properties = {
- "my.property" = foo
- pluginVersion = 3.9
-}
-
-dependencies = [
- { groupId = org.apache.maven, artifactId = maven-api-core, version = 4.0.0-alpha-8-SNAPSHOT }
-]
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/simple/.mvn/extensions.xml b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/simple/.mvn/extensions.xml
deleted file mode 100644
index 5c69abcbc..000000000
--- a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/simple/.mvn/extensions.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?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.
--->
-<extensions>
- <extension>
- <groupId>org.apache.maven.its.mng-7836</groupId>
- <artifactId>maven-hocon-extension</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </extension>
-</extensions>
diff --git a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/simple/pom.hocon b/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/simple/pom.hocon
deleted file mode 100644
index 3164b5174..000000000
--- a/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/simple/pom.hocon
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# 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.
-#
-modelVersion = 4.0.0
-parent {
- groupId = org.apache.maven.extensions
- artifactId = maven-extensions
- version = 40
-}
-groupId = org.apache.maven.its.mng-7836
-artifactId = hocon-simple
-version = 1.0.0-SNAPSHOT
-
-properties = {
- "my.property" = foo
- pluginVersion = 3.9
-}
-
-dependencies = [
- # just add one dummy dependency
- "com.typesafe:config:1.4.2"
-]
\ No newline at end of file
diff --git a/core-it-suite/src/test/resources/mng-7891-extension-configuration/build-extension/pom.xml b/core-it-suite/src/test/resources/mng-7891-extension-configuration/build-extension/pom.xml
deleted file mode 100644
index 951402ade..000000000
--- a/core-it-suite/src/test/resources/mng-7891-extension-configuration/build-extension/pom.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.1.0" root="true">
- <groupId>org.apache.maven.its.mng7891</groupId>
- <artifactId>build-extension</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.its.mng7891</groupId>
- <artifactId>extension</artifactId>
- <version>1.0-SNAPSHOT</version>
- <configuration>
- <messages>
- <sessionStart>The session has just started at ${maven.build.timestamp}</sessionStart>
- <projectsRead>All projects are read now! The build will start and the user has passed -DuserValue=${userValue} on the commandline</projectsRead>
- </messages>
- </configuration>
- </extension>
- </extensions>
- </build>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7891-extension-configuration/core-extension/.mvn/extensions.xml b/core-it-suite/src/test/resources/mng-7891-extension-configuration/core-extension/.mvn/extensions.xml
deleted file mode 100644
index b11a7172b..000000000
--- a/core-it-suite/src/test/resources/mng-7891-extension-configuration/core-extension/.mvn/extensions.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<extensions>
- <extension>
- <groupId>org.apache.maven.its.mng7891</groupId>
- <artifactId>extension</artifactId>
- <version>1.0-SNAPSHOT</version>
- <configuration>
- <messages>
- <sessionStart>The session has just started at ${maven.build.timestamp}</sessionStart>
- <projectsRead>All projects are read now! The build will start and the user has passed -DuserValue=${userValue} on the commandline</projectsRead>
- </messages>
- </configuration>
- </extension>
-</extensions>
diff --git a/core-it-suite/src/test/resources/mng-7891-extension-configuration/core-extension/pom.xml b/core-it-suite/src/test/resources/mng-7891-extension-configuration/core-extension/pom.xml
deleted file mode 100644
index 248798ee3..000000000
--- a/core-it-suite/src/test/resources/mng-7891-extension-configuration/core-extension/pom.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.1.0" root="true">
- <groupId>org.apache.maven.its.mng7891</groupId>
- <artifactId>core-extension</artifactId>
- <version>0.0.1-SNAPSHOT</version>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/pom.xml b/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/pom.xml
deleted file mode 100644
index d738b93db..000000000
--- a/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/pom.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.1.0" root="true">
- <groupId>org.apache.maven.its.mng7891</groupId>
- <artifactId>extension</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <properties>
- <javaVersion>8</javaVersion>
- <maven.compiler.source>${javaVersion}</maven.compiler.source>
- <maven.compiler.target>${javaVersion}</maven.compiler.target>
- <maven.version>3.8.6</maven.version>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-core</artifactId>
- <version>${maven.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.sisu</groupId>
- <artifactId>sisu-maven-plugin</artifactId>
- <version>0.9.0.M4</version>
- <executions>
- <execution>
- <id>index-project</id>
- <goals>
- <goal>main-index</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/src/main/java/org/apache/maven/its/mng7891/MyLifecycleParticipant.java b/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/src/main/java/org/apache/maven/its/mng7891/MyLifecycleParticipant.java
deleted file mode 100644
index 21f5f6786..000000000
--- a/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/src/main/java/org/apache/maven/its/mng7891/MyLifecycleParticipant.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.its.mng7891;
-
-import javax.inject.Inject;
-import javax.inject.Named;
-import javax.inject.Singleton;
-
-import org.apache.maven.AbstractMavenLifecycleParticipant;
-import org.apache.maven.MavenExecutionException;
-import org.apache.maven.execution.MavenSession;
-import org.codehaus.plexus.configuration.PlexusConfiguration;
-import org.codehaus.plexus.logging.Logger;
-
-@Named
-@Singleton
-public class MyLifecycleParticipant extends AbstractMavenLifecycleParticipant {
-
- private PlexusConfiguration configuration;
- private Logger logger;
-
- @Inject
- public MyLifecycleParticipant(
- @Named("org.apache.maven.its.mng7891:extension") PlexusConfiguration configuration, Logger logger) {
- this.configuration = configuration;
- this.logger = logger;
- }
-
- @Override
- public void afterProjectsRead(MavenSession session) throws MavenExecutionException {
- PlexusConfiguration messages = configuration.getChild("messages");
- PlexusConfiguration sessionStart = messages.getChild("projectsRead");
- logger.info(sessionStart.getValue("No session projects read message configured"));
- }
-}