This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch revert-13222-fix/mng-1088-re-enable-reactor-plugin-it in repository https://gitbox.apache.org/repos/asf/maven.git
commit a3ad94cf76663c56801d8288380cba9f8dd851b1 Author: Guillaume Nodet <[email protected]> AuthorDate: Wed Nov 4 16:08:27 2026 +0100 Revert "Re-enable MNG-1088 IT: concurrent builder correctly handles reactor p…" This reverts commit c97f1e7ddcddaead863204f43b04c01bf751cc9d. --- .../MavenITmng1088ReactorPluginResolutionTest.java | 16 +++--- .../src/test/resources/mng-1088/client/pom.xml | 15 +++--- .../src/test/resources/mng-1088/plugin/pom.xml | 44 ++++++++++------- .../src/test/resources/mng-1088/pom.xml | 11 ++--- .../test/resources/mng-1088/repo/.gitattributes | 3 ++ .../apache/maven/its/mng1088/maven-metadata.xml | 11 +++++ .../maven/its/mng1088/maven-metadata.xml.md5 | 1 + .../maven/its/mng1088/maven-metadata.xml.sha1 | 1 + .../its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml | 13 +++++ .../mng1088/p/0.1-SNAPSHOT/maven-metadata.xml.md5 | 1 + .../mng1088/p/0.1-SNAPSHOT/maven-metadata.xml.sha1 | 1 + .../its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar | Bin 0 -> 7357 bytes .../mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar.md5 | 1 + .../mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar.sha1 | 1 + .../its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom} | 49 +++++++++--------- .../mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom.md5 | 1 + .../mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom.sha1 | 1 + .../apache/maven/its/mng1088/p/maven-metadata.xml | 14 ++++++ .../maven/its/mng1088/p/maven-metadata.xml.md5 | 1 + .../maven/its/mng1088/p/maven-metadata.xml.sha1 | 1 + .../test/resources/mng-1088/settings-template.xml | 55 +++++++++++++++++++++ 21 files changed, 178 insertions(+), 63 deletions(-) diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java index f3c033daa4..18a4bc2d8a 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java @@ -20,6 +20,7 @@ import java.nio.file.Path; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** @@ -28,14 +29,13 @@ * @author Brett Porter * */ +@Disabled("Disabled for MNG-7977") public class MavenITmng1088ReactorPluginResolutionTest extends AbstractMavenIntegrationTestCase { /** - * Test that the concurrent builder can build a plugin that is part of the reactor and then use it - * in a sibling module — without any pre-installed version in the local repository. - * <p> - * The concurrent builder schedules the plugin project to reach the {@code ready} phase before - * planning the consuming project, so {@code mvn package -b concurrent} works on a clean local repo. + * Test that the plugin manager falls back to resolution from the repository if a plugin is part of the reactor + * (i.e. an active project artifact) but the lifecycle has not been executed far enough to produce a file for + * the plugin (i.e. a phase before "compile"). * * @throws Exception in case of failure */ @@ -47,7 +47,11 @@ public void testitMNG1088() throws Exception { verifier.setAutoclean(false); verifier.deleteDirectory("client/target"); verifier.deleteArtifacts("org.apache.maven.its.mng1088"); - verifier.addCliArguments("-b", "concurrent", "package"); + verifier.filterFile("settings-template.xml", "settings.xml"); + verifier.addCliArgument("--settings"); + verifier.addCliArgument("settings.xml"); + // NOTE: It's essential part of the test to invoke a phase before "compile" + verifier.addCliArgument("initialize"); verifier.execute(); verifier.verifyErrorFreeLog(); diff --git a/its/core-it-suite/src/test/resources/mng-1088/client/pom.xml b/its/core-it-suite/src/test/resources/mng-1088/client/pom.xml index e287dc3c24..5ab2a87573 100644 --- a/its/core-it-suite/src/test/resources/mng-1088/client/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-1088/client/pom.xml @@ -17,8 +17,8 @@ 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"> - <modelVersion>4.1.0</modelVersion> +<project xmlns="http://maven.apache.org/POM/4.0.0"> + <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.mng1088</groupId> <artifactId>client</artifactId> @@ -26,15 +26,14 @@ under the License. <packaging>jar</packaging> <name>Maven Integration Test :: MNG-1088 :: Plugin Client</name> - <description> - Uses the sibling plugin, which must be built by the concurrent builder - from source within this same reactor — no pre-installed version in the local repo. - </description> + <description>Test that the plugin manager falls back to resolution from the repository if a plugin is part of the reactor + (i.e. an active project artifact) but the lifecycle has not been executed far enough to produce a file for + the plugin (i.e. a phase before "compile").</description> <build> <plugins> <plugin> - <!-- This is the plugin produced by the sibling reactor module --> + <!-- NOTE: That's exactly the same plugin as produced by the sibling project --> <groupId>org.apache.maven.its.mng1088</groupId> <artifactId>p</artifactId> <version>0.1-SNAPSHOT</version> @@ -44,7 +43,7 @@ under the License. <goals> <goal>touch</goal> </goals> - <phase>package</phase> + <phase>initialize</phase> <configuration> <file>target/touch.txt</file> </configuration> diff --git a/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml b/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml index e765c82c47..88f4d92ec5 100644 --- a/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml @@ -17,8 +17,8 @@ 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"> - <modelVersion>4.1.0</modelVersion> +<project xmlns="http://maven.apache.org/POM/4.0.0"> + <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.mng1088</groupId> <artifactId>p</artifactId> @@ -26,11 +26,17 @@ under the License. <packaging>maven-plugin</packaging> <name>Maven Integration Test :: MNG-1088 :: Plugin</name> - <description> - A simple plugin built within the reactor, to be used by the sibling client module. - The concurrent builder must build this plugin first (up to the ready phase), - then allow the client to use it — without any pre-installed version. - </description> + <description>Test that the plugin manager falls back to resolution from the repository if a plugin is part of the reactor + (i.e. an active project artifact) but the lifecycle has not been executed far enough to produce a file for + the plugin (i.e. a phase before "compile").</description> + + <distributionManagement> + <repository> + <uniqueVersion>false</uniqueVersion> + <id>maven-core-it</id> + <url>file:///${basedir}/repo</url> + </repository> + </distributionManagement> <properties> <maven.test.skip>true</maven.test.skip> @@ -40,8 +46,7 @@ under the License. <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> - <version>4.1.0-SNAPSHOT</version> - <scope>provided</scope> + <version>3.8.6</version> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> @@ -52,14 +57,17 @@ under the License. </dependencies> <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - <configuration> - <goalPrefix>mng1088</goalPrefix> - </configuration> - </plugin> - </plugins> + <resources> + <resource> + <directory>.</directory> + <includes> + <include>pom.xml</include> + <include>src/**</include> + </includes> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + </resources> </build> </project> diff --git a/its/core-it-suite/src/test/resources/mng-1088/pom.xml b/its/core-it-suite/src/test/resources/mng-1088/pom.xml index e816e1fb8c..9be67cc9da 100644 --- a/its/core-it-suite/src/test/resources/mng-1088/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-1088/pom.xml @@ -17,8 +17,8 @@ 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"> - <modelVersion>4.1.0</modelVersion> +<project xmlns="http://maven.apache.org/POM/4.0.0"> + <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.mng1088</groupId> <artifactId>aggregator</artifactId> @@ -26,10 +26,9 @@ under the License. <packaging>pom</packaging> <name>Maven Integration Test :: MNG-1088</name> - <description> - Test that the concurrent builder can build a plugin that is part of the reactor, - then use it in a sibling module — without any pre-installed version in the local repo. - </description> + <description>Test that the plugin manager falls back to resolution from the repository if a plugin is part of the reactor + (i.e. an active project artifact) but the lifecycle has not been executed far enough to produce a file for + the plugin (i.e. a phase before "compile").</description> <modules> <module>plugin</module> diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/.gitattributes b/its/core-it-suite/src/test/resources/mng-1088/repo/.gitattributes new file mode 100644 index 0000000000..e3bce59d1b --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/.gitattributes @@ -0,0 +1,3 @@ +*.pom text eol=lf +maven-metadata.xml text eol=lf + diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml new file mode 100644 index 0000000000..6d1886e461 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <plugins> + <plugin> + <name>Unnamed - org.apache.maven.its.mng1088:p:maven-plugin:0.1-SNAPSHOT</name> + <prefix>p</prefix> + <artifactId>p</artifactId> + </plugin> + </plugins> +</metadata> diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml.md5 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml.md5 new file mode 100644 index 0000000000..8d8b7e649b --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml.md5 @@ -0,0 +1 @@ +639a0eddc9a166512a1cd90ec8a919b2 \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml.sha1 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml.sha1 new file mode 100644 index 0000000000..267392cf99 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +7091960933f0087a32b78461caaa6780a2bad08a \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml new file mode 100644 index 0000000000..7e6e9999db --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <groupId>org.apache.maven.its.mng1088</groupId> + <artifactId>p</artifactId> + <version>0.1-SNAPSHOT</version> + <versioning> + <snapshot> + <buildNumber>1</buildNumber> + </snapshot> + <lastUpdated>20090516180552</lastUpdated> + </versioning> +</metadata> diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml.md5 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml.md5 new file mode 100644 index 0000000000..0b128f4bff --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml.md5 @@ -0,0 +1 @@ +17583871c03122bf202338fffa98bf3d \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml.sha1 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml.sha1 new file mode 100644 index 0000000000..14b5b3ec9a --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +0138819a0c6c43422344ca8130370aa24020241a \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar new file mode 100644 index 0000000000..f50431678b Binary files /dev/null and b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar differ diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar.md5 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar.md5 new file mode 100644 index 0000000000..87633ecefd --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar.md5 @@ -0,0 +1 @@ +2c9ba6ef4f1e80d1aedd367b6c29411a \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar.sha1 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar.sha1 new file mode 100644 index 0000000000..697e1b372e --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.jar.sha1 @@ -0,0 +1 @@ +87db9cff56acbf582c762c72650d99d9d3e029f6 \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom similarity index 56% copy from its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml copy to its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom index e765c82c47..a6052ffe4a 100644 --- a/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom @@ -1,4 +1,5 @@ <?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 @@ -17,20 +18,22 @@ 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"> - <modelVersion>4.1.0</modelVersion> + +<project xmlns="http://maven.apache.org/POM/4.0.0"> + <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.mng1088</groupId> <artifactId>p</artifactId> <version>0.1-SNAPSHOT</version> <packaging>maven-plugin</packaging> - <name>Maven Integration Test :: MNG-1088 :: Plugin</name> - <description> - A simple plugin built within the reactor, to be used by the sibling client module. - The concurrent builder must build this plugin first (up to the ready phase), - then allow the client to use it — without any pre-installed version. - </description> + <distributionManagement> + <repository> + <id>maven-core-it</id> + <url>file:///${basedir}/repo</url> + <uniqueVersion>false</uniqueVersion> + </repository> + </distributionManagement> <properties> <maven.test.skip>true</maven.test.skip> @@ -40,26 +43,22 @@ under the License. <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> - <version>4.1.0-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-annotations</artifactId> - <version>3.15.2</version> - <scope>provided</scope> + <version>3.8.6</version> </dependency> </dependencies> <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - <configuration> - <goalPrefix>mng1088</goalPrefix> - </configuration> - </plugin> - </plugins> + <resources> + <resource> + <directory>.</directory> + <includes> + <include>pom.xml</include> + <include>src/**</include> + </includes> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + </resources> </build> </project> diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom.md5 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom.md5 new file mode 100644 index 0000000000..bc5c578481 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom.md5 @@ -0,0 +1 @@ +cbccdc55a0d0c6bddd7d16aee40806ef \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom.sha1 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom.sha1 new file mode 100644 index 0000000000..813028b8ac --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/0.1-SNAPSHOT/p-0.1-SNAPSHOT.pom.sha1 @@ -0,0 +1 @@ +63854ad3cca813cced54d35d548d8ad9a1325319 diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml new file mode 100644 index 0000000000..6b449b7231 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <groupId>org.apache.maven.its.mng1088</groupId> + <artifactId>p</artifactId> + <version>0.1-SNAPSHOT</version> + <versioning> + <latest>0.1-SNAPSHOT</latest> + <versions> + <version>0.1-SNAPSHOT</version> + </versions> + <lastUpdated>20090516180552</lastUpdated> + </versioning> +</metadata> diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml.md5 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml.md5 new file mode 100644 index 0000000000..b790b3c245 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml.md5 @@ -0,0 +1 @@ +1ebe748944158a177ce1bd98a4e5d295 \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml.sha1 b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml.sha1 new file mode 100644 index 0000000000..1d79ddcfa4 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/repo/org/apache/maven/its/mng1088/p/maven-metadata.xml.sha1 @@ -0,0 +1 @@ +ad6adab2d21b9afc7fc8d13038c84366d238d7eb \ No newline at end of file diff --git a/its/core-it-suite/src/test/resources/mng-1088/settings-template.xml b/its/core-it-suite/src/test/resources/mng-1088/settings-template.xml new file mode 100644 index 0000000000..ba6e57576e --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1088/settings-template.xml @@ -0,0 +1,55 @@ +<?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 xmlns='http://maven.apache.org/SETTINGS/1.0.0'> + <profiles> + <profile> + <id>maven-core-it-repo</id> + <repositories> + <repository> + <id>maven-core-it</id> + <url>@baseurl@/repo</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <checksumPolicy>ignore</checksumPolicy> + </snapshots> + </repository> + </repositories> + <pluginRepositories> + <pluginRepository> + <id>maven-core-it</id> + <url>@baseurl@/repo</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <checksumPolicy>ignore</checksumPolicy> + </snapshots> + </pluginRepository> + </pluginRepositories> + </profile> + </profiles> + <activeProfiles> + <activeProfile>maven-core-it-repo</activeProfile> + </activeProfiles> +</settings>
