This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new 17359292d3 Raise default maven.compiler.release in IT harness to 17
(#13922)
17359292d3 is described below
commit 17359292d382970cc3d7d61aaa9a12d7a8366203
Author: codewithsinchana <[email protected]>
AuthorDate: Tue Nov 17 04:04:30 2026 +0530
Raise default maven.compiler.release in IT harness to 17 (#13922)
* Raise default compiler release to Java 17 in IT harness
* Fix IT failures caused by legacy plugins incompatible with Java 17 class
files
The helper now sets maven.compiler.release=17 as a system property,
which overrides source/target declared in IT fixture POMs. Five IT
fixture plugin builds use old build tools that cannot parse Java 17
class files (major version 61):
- mng-5382: maven-plugin-plugin:3.2 → ArrayIndexOutOfBoundsException
- mng-6084: maven-plugin-plugin:3.2 → ArrayIndexOutOfBoundsException
- mng-5561: maven-plugin-plugin:3.6.0 → Unsupported class file major
version 61
- mng-6972: plexus-component-metadata:1.5.5 → ArrayIndexOutOfBoundsException
- mng-7836: sisu-maven-plugin:0.3.5 → incomplete Sisu index → extension
fails to register HoconModelParser at runtime
For each fixture, explicitly override maven.compiler.release=8 on the
verifier that builds the legacy plugin/extension, so the classfile
format stays compatible with the old build tooling.
* fix: upgrade legacy IT fixture plugins to support JDK 17 class files
Fixture POMs that used old sisu-maven-plugin, plexus-component-metadata,
and maven-plugin-plugin versions were upgraded so they can process Java 17
class files produced by the new IT harness default
(maven.compiler.release=17).
These fixtures are not testing old plugin behavior - they test Maven runtime
semantics (JSR-330/250 DI, session scope, relocation, lifecycle). The old
plugin versions were incidental legacy from when the fixtures were
originally
written.
Upgrades:
- sisu-maven-plugin: 0.3.5 -> 1.1.2 (supports JDK 17+ since 1.0.0)
- plexus-component-metadata: 1.5.5 -> 2.2.0
- maven-plugin-plugin: 3.2/3.6.0/3.6.4 -> 3.15.1 (dominant modern version
in ITs)
Affected fixtures:
- mng-5382, mng-6084, mng-5530, mng-5578, mng-5640, mng-5742
- mng-5561, mng-5640, mng-6972, mng-7310, mng-7349, mng-7474
- mng-7836, mng-8106, mng-11796
Remove the maven.compiler.release=8 workarounds that were added to the
verifier calls to paper over the broken fixture POMs.
* fix: upgrade legacy IT fixture plugins for mng-5530 to support JDK 17
class files
* fix: add goalPrefix to IT fixture plugins incompatible with
maven-plugin-plugin:3.15.1
Revert the workaround added in the previous commit (maven.compiler.release=8
for mng-5530) which was unnecessary — mng-5530 passed with the upgraded
sisu-maven-plugin.
maven-plugin-plugin:3.15.1 requires an explicit goalPrefix when it cannot
be inferred from the artifactId. Fix the three affected fixtures:
- mng-5640 badplugin: artifactId does not follow the xxx-maven-plugin
convention; add goalPrefix=mng5640 to top-level configuration
- mng-7349 new-plugin: artifactId 'new-plugin' is ambiguous; add
goalPrefix=new-plugin to top-level configuration
- mng-11796 extension-plugin: goalPrefix was already set but inside the
execution configuration block, which does not apply to the
default-descriptor lifecycle execution; move it to the top-level
plugin configuration
* fix: upgrade remaining IT fixture extensions from sisu 0.3.5 to 1.1.2 and
add goalPrefix to old-plugin
sisu-maven-plugin 0.3.5's annotation processor does not generate the
Sisu component index (META-INF/sisu/javax.inject.Named) when compiled
with --release 17, causing extension discovery to fail silently at
runtime. Upgrade to 1.1.2, which has full Java 17 annotation-processor
support.
Also add goalPrefix to mng-7349 old-plugin, which is a relocated
maven-plugin packaging artifact — maven-plugin-plugin 3.15.1 requires
an explicit goalPrefix when it cannot be inferred.
Fixes:
- MavenITmng5389LifecycleParticipantAfterSessionEnd
- MavenITmng5581LifecycleMappingDelegate
- MavenITmng7349RelocationWarningTest
- MavenITmng7772CoreExtensionFoundTest
- MavenITmng7891ConfigurationForExtensionsTest
- MavenITmng8005IdeWorkspaceReaderUsedTest
---------
Co-authored-by: codewithsinchana <[email protected]>
Co-authored-by: Guillaume Nodet <[email protected]>
---
.../extension-plugin/pom.xml | 8 ++++----
its/core-it-suite/src/test/resources/mng-5382/pom.xml | 4 ++--
.../mng-5389-lifecycleParticipant-afterSession/extension/pom.xml | 2 +-
.../mng-5530-mojo-execution-scope/extension-plugin/pom.xml | 2 +-
.../resources/mng-5530-mojo-execution-scope/extension/pom.xml | 2 +-
.../test/resources/mng-5530-mojo-execution-scope/plugin/pom.xml | 4 ++--
.../new-plugin/pom.xml | 2 +-
.../old-plugin-with-relocation/pom.xml | 2 +-
.../resources/mng-5578-session-scope/extension-plugin/pom.xml | 2 +-
.../src/test/resources/mng-5578-session-scope/extension/pom.xml | 2 +-
.../src/test/resources/mng-5578-session-scope/plugin/pom.xml | 2 +-
.../mng-5581-lifecycle-mapping-delegate/extension/pom.xml | 2 +-
.../mng-5640-lifecycleParticipant-afterSession/badplugin/pom.xml | 3 ++-
.../mng-5640-lifecycleParticipant-afterSession/extension/pom.xml | 2 +-
.../resources/mng-5742-build-extension-classloader/plugin/pom.xml | 2 +-
.../src/test/resources/mng-6084-jsr250-support/pom.xml | 4 ++--
.../mng-6972-allow-access-to-graph-package/build-plugin/pom.xml | 2 +-
.../extension/pom.xml | 6 +++---
.../mng-7349-relocation-warning/artifacts/new-plugin/pom.xml | 5 ++++-
.../mng-7349-relocation-warning/artifacts/old-plugin/pom.xml | 5 ++++-
.../src/test/resources/mng-7474-session-scope/plugin/pom.xml | 2 +-
.../resources/mng-7772-core-extensions-found/extension/pom.xml | 2 +-
.../mng-7836-alternative-pom-syntax/maven-hocon-extension/pom.xml | 2 +-
.../resources/mng-7891-extension-configuration/extension/pom.xml | 5 +----
its/core-it-suite/src/test/resources/mng-8005/extension/pom.xml | 2 +-
its/core-it-suite/src/test/resources/mng-8106/plugin/pom.xml | 2 +-
.../org/apache/maven/it/AbstractMavenIntegrationTestCase.java | 8 ++++----
27 files changed, 45 insertions(+), 41 deletions(-)
diff --git
a/its/core-it-suite/src/test/resources/mng-11796-default-phases-standard-lifecycle/extension-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-11796-default-phases-standard-lifecycle/extension-plugin/pom.xml
index bc439e4cbe..db35ada699 100644
---
a/its/core-it-suite/src/test/resources/mng-11796-default-phases-standard-lifecycle/extension-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-11796-default-phases-standard-lifecycle/extension-plugin/pom.xml
@@ -28,15 +28,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.6.4</version>
+ <version>3.15.1</version>
+ <configuration>
+ <goalPrefix>mng11796</goalPrefix>
+ </configuration>
<executions>
<execution>
<goals>
<goal>descriptor</goal>
</goals>
- <configuration>
- <goalPrefix>mng11796</goalPrefix>
- </configuration>
</execution>
</executions>
</plugin>
diff --git a/its/core-it-suite/src/test/resources/mng-5382/pom.xml
b/its/core-it-suite/src/test/resources/mng-5382/pom.xml
index 34757b74f0..817a9657c2 100644
--- a/its/core-it-suite/src/test/resources/mng-5382/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-5382/pom.xml
@@ -13,7 +13,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<mavenVersion>3.0.4</mavenVersion>
- <mavenPluginPluginVersion>3.2</mavenPluginPluginVersion>
+ <mavenPluginPluginVersion>3.15.1</mavenPluginPluginVersion>
</properties>
<dependencies>
@@ -62,7 +62,7 @@
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<id>generate-index</id>
diff --git
a/its/core-it-suite/src/test/resources/mng-5389-lifecycleParticipant-afterSession/extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-5389-lifecycleParticipant-afterSession/extension/pom.xml
index ac640a3abf..32e6f20bd7 100644
---
a/its/core-it-suite/src/test/resources/mng-5389-lifecycleParticipant-afterSession/extension/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5389-lifecycleParticipant-afterSession/extension/pom.xml
@@ -42,7 +42,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<goals>
diff --git
a/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/extension-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/extension-plugin/pom.xml
index d7b75bf385..e8d3400af7 100644
---
a/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/extension-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/extension-plugin/pom.xml
@@ -80,7 +80,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<goals>
diff --git
a/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/extension/pom.xml
index 03cb44cb04..66c8bf871e 100644
---
a/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/extension/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/extension/pom.xml
@@ -42,7 +42,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<goals>
diff --git
a/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/plugin/pom.xml
index c1282c2812..235fe6b0ff 100644
---
a/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5530-mojo-execution-scope/plugin/pom.xml
@@ -73,7 +73,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<goals>
@@ -86,7 +86,7 @@ under the License.
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
- <version>1.5.5</version>
+ <version>2.2.0</version>
<executions>
<execution>
<goals>
diff --git
a/its/core-it-suite/src/test/resources/mng-5561-plugin-relocation-loses-configuration/new-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-5561-plugin-relocation-loses-configuration/new-plugin/pom.xml
index 2e1f0efdec..262620a7fc 100644
---
a/its/core-it-suite/src/test/resources/mng-5561-plugin-relocation-loses-configuration/new-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5561-plugin-relocation-loses-configuration/new-plugin/pom.xml
@@ -39,7 +39,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.6.0</version>
+ <version>3.15.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git
a/its/core-it-suite/src/test/resources/mng-5561-plugin-relocation-loses-configuration/old-plugin-with-relocation/pom.xml
b/its/core-it-suite/src/test/resources/mng-5561-plugin-relocation-loses-configuration/old-plugin-with-relocation/pom.xml
index 5c38d293e9..362eebb82e 100644
---
a/its/core-it-suite/src/test/resources/mng-5561-plugin-relocation-loses-configuration/old-plugin-with-relocation/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5561-plugin-relocation-loses-configuration/old-plugin-with-relocation/pom.xml
@@ -46,7 +46,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.6.0</version>
+ <version>3.15.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git
a/its/core-it-suite/src/test/resources/mng-5578-session-scope/extension-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-5578-session-scope/extension-plugin/pom.xml
index 7a9cae598c..abb0d87ac0 100644
---
a/its/core-it-suite/src/test/resources/mng-5578-session-scope/extension-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5578-session-scope/extension-plugin/pom.xml
@@ -80,7 +80,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<goals>
diff --git
a/its/core-it-suite/src/test/resources/mng-5578-session-scope/extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-5578-session-scope/extension/pom.xml
index f1c3fe751b..869e2166e1 100644
---
a/its/core-it-suite/src/test/resources/mng-5578-session-scope/extension/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5578-session-scope/extension/pom.xml
@@ -42,7 +42,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<goals>
diff --git
a/its/core-it-suite/src/test/resources/mng-5578-session-scope/plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-5578-session-scope/plugin/pom.xml
index 676dad108d..828ebdf0cd 100644
--- a/its/core-it-suite/src/test/resources/mng-5578-session-scope/plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-5578-session-scope/plugin/pom.xml
@@ -73,7 +73,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<goals>
diff --git
a/its/core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/extension/pom.xml
index 1ba5548aee..8f7a3e51ff 100644
---
a/its/core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/extension/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/extension/pom.xml
@@ -42,7 +42,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<id>generate-index</id>
diff --git
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/badplugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/badplugin/pom.xml
index d81afeff24..54ff768a0a 100644
---
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/badplugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/badplugin/pom.xml
@@ -49,12 +49,13 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.6.4</version>
+ <version>3.15.1</version>
<configuration>
<!--
Works around bug in maven-plugin packaging lifecycle:
https://issues.apache.org/jira/browse/MNG-5346
-->
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
+ <goalPrefix>mng5640</goalPrefix>
</configuration>
<executions>
<execution>
diff --git
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/extension/pom.xml
index 054ffbf3a1..905c436de2 100644
---
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/extension/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/extension/pom.xml
@@ -42,7 +42,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<goals>
diff --git
a/its/core-it-suite/src/test/resources/mng-5742-build-extension-classloader/plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-5742-build-extension-classloader/plugin/pom.xml
index 08f68f38c3..096e9eb715 100644
---
a/its/core-it-suite/src/test/resources/mng-5742-build-extension-classloader/plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5742-build-extension-classloader/plugin/pom.xml
@@ -73,7 +73,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<goals>
diff --git
a/its/core-it-suite/src/test/resources/mng-6084-jsr250-support/pom.xml
b/its/core-it-suite/src/test/resources/mng-6084-jsr250-support/pom.xml
index ee43dba094..42e2ae30c9 100644
--- a/its/core-it-suite/src/test/resources/mng-6084-jsr250-support/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-6084-jsr250-support/pom.xml
@@ -13,7 +13,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<mavenVersion>3.5.0</mavenVersion>
- <mavenPluginPluginVersion>3.2</mavenPluginPluginVersion>
+ <mavenPluginPluginVersion>3.15.1</mavenPluginPluginVersion>
</properties>
<dependencies>
@@ -67,7 +67,7 @@
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<id>generate-index</id>
diff --git
a/its/core-it-suite/src/test/resources/mng-6972-allow-access-to-graph-package/build-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-6972-allow-access-to-graph-package/build-plugin/pom.xml
index 9fb27bab00..b8c35e399e 100644
---
a/its/core-it-suite/src/test/resources/mng-6972-allow-access-to-graph-package/build-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-6972-allow-access-to-graph-package/build-plugin/pom.xml
@@ -29,7 +29,7 @@ under the License.
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
- <plexus-component.version>1.5.5</plexus-component.version>
+ <plexus-component.version>2.2.0</plexus-component.version>
<maven-version>3.8.6</maven-version>
</properties>
diff --git
a/its/core-it-suite/src/test/resources/mng-7310-lifecycle-activated-in-specified-module/extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-7310-lifecycle-activated-in-specified-module/extension/pom.xml
index f552eb4fb5..9b83e485db 100644
---
a/its/core-it-suite/src/test/resources/mng-7310-lifecycle-activated-in-specified-module/extension/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-7310-lifecycle-activated-in-specified-module/extension/pom.xml
@@ -35,7 +35,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
- <version>3.6.4</version>
+ <version>3.15.1</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -51,7 +51,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<id>generate-index</id>
@@ -64,7 +64,7 @@ under the License.
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.6.4</version>
+ <version>3.15.1</version>
<configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
diff --git
a/its/core-it-suite/src/test/resources/mng-7349-relocation-warning/artifacts/new-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-7349-relocation-warning/artifacts/new-plugin/pom.xml
index 99e9655aa5..91ae36c334 100644
---
a/its/core-it-suite/src/test/resources/mng-7349-relocation-warning/artifacts/new-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-7349-relocation-warning/artifacts/new-plugin/pom.xml
@@ -45,7 +45,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.6.4</version>
+ <version>3.15.1</version>
+ <configuration>
+ <goalPrefix>new-plugin</goalPrefix>
+ </configuration>
</plugin>
</plugins>
</build>
diff --git
a/its/core-it-suite/src/test/resources/mng-7349-relocation-warning/artifacts/old-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-7349-relocation-warning/artifacts/old-plugin/pom.xml
index 6ad9f094ba..7181ff9559 100644
---
a/its/core-it-suite/src/test/resources/mng-7349-relocation-warning/artifacts/old-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-7349-relocation-warning/artifacts/old-plugin/pom.xml
@@ -48,7 +48,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>3.6.4</version>
+ <version>3.15.1</version>
+ <configuration>
+ <goalPrefix>old-plugin</goalPrefix>
+ </configuration>
</plugin>
</plugins>
</build>
diff --git
a/its/core-it-suite/src/test/resources/mng-7474-session-scope/plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-7474-session-scope/plugin/pom.xml
index fe25dda120..9060447f74 100644
--- a/its/core-it-suite/src/test/resources/mng-7474-session-scope/plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-7474-session-scope/plugin/pom.xml
@@ -56,7 +56,7 @@
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<id>generate-index</id>
diff --git
a/its/core-it-suite/src/test/resources/mng-7772-core-extensions-found/extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-7772-core-extensions-found/extension/pom.xml
index 27f421ba5c..bf62dbd3b7 100644
---
a/its/core-it-suite/src/test/resources/mng-7772-core-extensions-found/extension/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-7772-core-extensions-found/extension/pom.xml
@@ -53,7 +53,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<id>generate-index</id>
diff --git
a/its/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/pom.xml
index 7d22c357ac..4fb44d2c37 100644
---
a/its/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-7836-alternative-pom-syntax/maven-hocon-extension/pom.xml
@@ -122,7 +122,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<id>index-project</id>
diff --git
a/its/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/pom.xml
index d145a989ec..73cdd16654 100644
---
a/its/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-7891-extension-configuration/extension/pom.xml
@@ -6,9 +6,6 @@
<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>
@@ -26,7 +23,7 @@
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<id>index-project</id>
diff --git a/its/core-it-suite/src/test/resources/mng-8005/extension/pom.xml
b/its/core-it-suite/src/test/resources/mng-8005/extension/pom.xml
index c50751753b..bebeed4fb3 100644
--- a/its/core-it-suite/src/test/resources/mng-8005/extension/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-8005/extension/pom.xml
@@ -53,7 +53,7 @@ under the License.
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
- <version>0.3.5</version>
+ <version>1.1.2</version>
<executions>
<execution>
<id>generate-index</id>
diff --git a/its/core-it-suite/src/test/resources/mng-8106/plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-8106/plugin/pom.xml
index b7d27b7c33..9e41048ea9 100644
--- a/its/core-it-suite/src/test/resources/mng-8106/plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-8106/plugin/pom.xml
@@ -27,7 +27,7 @@ under the License.
<properties>
<mavenVersion>3.8.6</mavenVersion>
- <mavenPluginPluginVersion>3.2</mavenPluginPluginVersion>
+ <mavenPluginPluginVersion>3.15.1</mavenPluginPluginVersion>
</properties>
<dependencies>
diff --git
a/its/core-it-support/maven-it-helper/src/main/java/org/apache/maven/it/AbstractMavenIntegrationTestCase.java
b/its/core-it-support/maven-it-helper/src/main/java/org/apache/maven/it/AbstractMavenIntegrationTestCase.java
index 27f43ea781..786488269f 100644
---
a/its/core-it-support/maven-it-helper/src/main/java/org/apache/maven/it/AbstractMavenIntegrationTestCase.java
+++
b/its/core-it-support/maven-it-helper/src/main/java/org/apache/maven/it/AbstractMavenIntegrationTestCase.java
@@ -169,10 +169,10 @@ protected Verifier newVerifier(Path basedir, String
settings, boolean createDotM
}
}
- // auto set source+target to lowest reasonable java version
- verifier.getSystemProperties().put("maven.compiler.source", "8");
- verifier.getSystemProperties().put("maven.compiler.target", "8");
- verifier.getSystemProperties().put("maven.compiler.release", "8");
+ // Maven 4 requires JDK 17; use 17 as the baseline for IT-compiled
projects.
+ verifier.getSystemProperties().put("maven.compiler.release", "17");
+ verifier.getSystemProperties().remove("maven.compiler.source");
+ verifier.getSystemProperties().remove("maven.compiler.target");
return verifier;
}