You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2025/10/15 20:30:41 UTC
(maven-compiler-plugin) 01/03: Remove `` and `` elements, which are no longer needed after 236fc26. Remove also `17` (because already inherited from the parent pom.xml) except when testing this option is the purpose of the integration test.
This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
commit d85f3fa86566f84d88b42d8a19e0dc8e26c98158
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Wed Oct 15 12:00:29 2025 +0200
Remove `<source/>` and `<target/>` elements, which are no longer needed after 236fc26.
Remove also `<release>17</release>` (because already inherited from the parent pom.xml)
except when testing this option is the purpose of the integration test.
---
src/it/MCOMPILER-270_release/pom.xml | 3 ---
src/it/MCOMPILER-275_separate-moduleinfo/pom.xml | 3 ---
src/it/MCOMPILER-294/pom.xml | 6 ------
src/it/MCOMPILER-321_pathexceptions/pom.xml | 4 ----
src/it/MCOMPILER-328_multiReleaseOutput/pom.xml | 3 ---
src/it/MCOMPILER-336_incremental-modulepath/pom.xml | 4 ----
src/it/MCOMPILER-346/pom.xml | 6 ------
src/it/MCOMPILER-360/pom.xml | 6 ------
src/it/MCOMPILER-366/pom.xml | 3 ---
src/it/MCOMPILER-373_mrjar/pom.xml | 3 ---
src/it/MCOMPILER-542/pom.xml | 9 ---------
src/it/MCOMPILER-609/pom.xml | 4 ----
src/it/automodules-application/pom.xml | 3 ---
src/it/automodules-library/pom.xml | 3 ---
src/it/automodules-manifest/pom.xml | 3 ---
src/it/automodules-transitive-module/pom.xml | 3 ---
src/it/jdk9-exportsto/pom.xml | 3 ---
src/it/jpms_add-exports/pom.xml | 1 -
src/it/jpms_compile-main-empty-test-bar/pom.xml | 3 ---
src/it/jpms_compile-main-foo-test-bar/pom.xml | 3 ---
src/it/jpms_compile-main-foo-test-foo/pom.xml | 3 ---
src/it/jpms_patch-module/pom.xml | 3 ---
src/it/modular-sources/pom.xml | 5 -----
src/it/module-info-patch/pom.xml | 5 -----
src/it/multirelease-on-classpath/pom.xml | 5 -----
src/it/multirelease-patterns/singleproject-modular/pom.xml | 3 ---
src/it/multirelease-patterns/singleproject-root/pom.xml | 3 ---
src/it/multirelease-patterns/singleproject-runtime/pom.xml | 3 ---
.../singleproject-separate-moduleinfo/pom.xml | 5 -----
src/it/multirelease-patterns/singleproject-toolchains/pom.xml | 3 ---
src/it/multirelease-with-modules/pom.xml | 5 -----
31 files changed, 119 deletions(-)
diff --git a/src/it/MCOMPILER-270_release/pom.xml b/src/it/MCOMPILER-270_release/pom.xml
index 0067c89..552b3c1 100644
--- a/src/it/MCOMPILER-270_release/pom.xml
+++ b/src/it/MCOMPILER-270_release/pom.xml
@@ -45,9 +45,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>${java.specification.version}</release>
</configuration>
</plugin>
diff --git a/src/it/MCOMPILER-275_separate-moduleinfo/pom.xml b/src/it/MCOMPILER-275_separate-moduleinfo/pom.xml
index 0b30d9e..94e1441 100644
--- a/src/it/MCOMPILER-275_separate-moduleinfo/pom.xml
+++ b/src/it/MCOMPILER-275_separate-moduleinfo/pom.xml
@@ -53,9 +53,6 @@
<jdkToolchain>
<version>1.9</version>
</jdkToolchain>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>17</release>
</configuration>
</execution>
diff --git a/src/it/MCOMPILER-294/pom.xml b/src/it/MCOMPILER-294/pom.xml
index 7118cca..1eaee22 100644
--- a/src/it/MCOMPILER-294/pom.xml
+++ b/src/it/MCOMPILER-294/pom.xml
@@ -42,12 +42,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</build>
diff --git a/src/it/MCOMPILER-321_pathexceptions/pom.xml b/src/it/MCOMPILER-321_pathexceptions/pom.xml
index d4e53ab..0bd587e 100644
--- a/src/it/MCOMPILER-321_pathexceptions/pom.xml
+++ b/src/it/MCOMPILER-321_pathexceptions/pom.xml
@@ -50,10 +50,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- <release>17</release>
<!--
Normally, the following arguments should not be provided. Instead, an automatic module name
should be used in the `module-info.java` file. However, this is not possible for the JAR in
diff --git a/src/it/MCOMPILER-328_multiReleaseOutput/pom.xml b/src/it/MCOMPILER-328_multiReleaseOutput/pom.xml
index ee899c0..2fe2c0e 100644
--- a/src/it/MCOMPILER-328_multiReleaseOutput/pom.xml
+++ b/src/it/MCOMPILER-328_multiReleaseOutput/pom.xml
@@ -35,9 +35,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>17</release>
<multiReleaseOutput>true</multiReleaseOutput>
</configuration>
diff --git a/src/it/MCOMPILER-336_incremental-modulepath/pom.xml b/src/it/MCOMPILER-336_incremental-modulepath/pom.xml
index 13018ed..ebde19a 100644
--- a/src/it/MCOMPILER-336_incremental-modulepath/pom.xml
+++ b/src/it/MCOMPILER-336_incremental-modulepath/pom.xml
@@ -37,10 +37,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- <release>17</release>
<useIncrementalCompilation>false</useIncrementalCompilation>
<!-- https://issues.apache.org/jira/browse/MCOMPILER-209 -->
</configuration>
diff --git a/src/it/MCOMPILER-346/pom.xml b/src/it/MCOMPILER-346/pom.xml
index 521940a..462f871 100644
--- a/src/it/MCOMPILER-346/pom.xml
+++ b/src/it/MCOMPILER-346/pom.xml
@@ -52,12 +52,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</build>
diff --git a/src/it/MCOMPILER-360/pom.xml b/src/it/MCOMPILER-360/pom.xml
index 35e8e51..27391fa 100644
--- a/src/it/MCOMPILER-360/pom.xml
+++ b/src/it/MCOMPILER-360/pom.xml
@@ -42,12 +42,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</build>
diff --git a/src/it/MCOMPILER-366/pom.xml b/src/it/MCOMPILER-366/pom.xml
index 572b313..3692b76 100644
--- a/src/it/MCOMPILER-366/pom.xml
+++ b/src/it/MCOMPILER-366/pom.xml
@@ -52,9 +52,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/MCOMPILER-373_mrjar/pom.xml b/src/it/MCOMPILER-373_mrjar/pom.xml
index ccf9d3b..0c7d31d 100644
--- a/src/it/MCOMPILER-373_mrjar/pom.xml
+++ b/src/it/MCOMPILER-373_mrjar/pom.xml
@@ -31,9 +31,6 @@ under the License.
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>15</release>
</configuration>
<!-- define the possible compilations -->
diff --git a/src/it/MCOMPILER-542/pom.xml b/src/it/MCOMPILER-542/pom.xml
index c815058..3fba270 100644
--- a/src/it/MCOMPILER-542/pom.xml
+++ b/src/it/MCOMPILER-542/pom.xml
@@ -59,9 +59,6 @@
<goal>compile</goal>
</goals>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>${java.specification.version}</release>
</configuration>
</execution>
@@ -71,9 +68,6 @@
<goal>compile</goal>
</goals>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>17</release>
<outputDirectory>${project.build.outputDirectory}-9</outputDirectory>
</configuration>
@@ -84,9 +78,6 @@
<goal>compile</goal>
</goals>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>${java.specification.version}</release>
<outputDirectory>${project.build.outputDirectory}-target</outputDirectory>
</configuration>
diff --git a/src/it/MCOMPILER-609/pom.xml b/src/it/MCOMPILER-609/pom.xml
index a076ae4..92a16cb 100644
--- a/src/it/MCOMPILER-609/pom.xml
+++ b/src/it/MCOMPILER-609/pom.xml
@@ -33,10 +33,6 @@ under the License.
<version>@project.version@</version>
<configuration>
<compilerId>ecj</compilerId>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- <release>17</release>
</configuration>
<dependencies>
<dependency>
diff --git a/src/it/automodules-application/pom.xml b/src/it/automodules-application/pom.xml
index c434d8c..ac5c1d3 100644
--- a/src/it/automodules-application/pom.xml
+++ b/src/it/automodules-application/pom.xml
@@ -44,9 +44,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/automodules-library/pom.xml b/src/it/automodules-library/pom.xml
index c434d8c..ac5c1d3 100644
--- a/src/it/automodules-library/pom.xml
+++ b/src/it/automodules-library/pom.xml
@@ -44,9 +44,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/automodules-manifest/pom.xml b/src/it/automodules-manifest/pom.xml
index 4ad32ff..91567c1 100644
--- a/src/it/automodules-manifest/pom.xml
+++ b/src/it/automodules-manifest/pom.xml
@@ -43,9 +43,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/automodules-transitive-module/pom.xml b/src/it/automodules-transitive-module/pom.xml
index c434d8c..ac5c1d3 100644
--- a/src/it/automodules-transitive-module/pom.xml
+++ b/src/it/automodules-transitive-module/pom.xml
@@ -44,9 +44,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/jdk9-exportsto/pom.xml b/src/it/jdk9-exportsto/pom.xml
index 2c1dde3..dbf449a 100644
--- a/src/it/jdk9-exportsto/pom.xml
+++ b/src/it/jdk9-exportsto/pom.xml
@@ -41,9 +41,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/jpms_add-exports/pom.xml b/src/it/jpms_add-exports/pom.xml
index c3b02fa..6a66ebe 100644
--- a/src/it/jpms_add-exports/pom.xml
+++ b/src/it/jpms_add-exports/pom.xml
@@ -36,7 +36,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
<configuration>
- <release>17</release>
<compilerArgs>
<arg>--add-exports</arg>
<arg>app/org.maven.test=ALL_UNNAMED</arg>
diff --git a/src/it/jpms_compile-main-empty-test-bar/pom.xml b/src/it/jpms_compile-main-empty-test-bar/pom.xml
index 794a26f..8bfd8c6 100644
--- a/src/it/jpms_compile-main-empty-test-bar/pom.xml
+++ b/src/it/jpms_compile-main-empty-test-bar/pom.xml
@@ -44,9 +44,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/jpms_compile-main-foo-test-bar/pom.xml b/src/it/jpms_compile-main-foo-test-bar/pom.xml
index 05f143c..bc517bb 100644
--- a/src/it/jpms_compile-main-foo-test-bar/pom.xml
+++ b/src/it/jpms_compile-main-foo-test-bar/pom.xml
@@ -49,9 +49,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/jpms_compile-main-foo-test-foo/pom.xml b/src/it/jpms_compile-main-foo-test-foo/pom.xml
index 05f143c..bc517bb 100644
--- a/src/it/jpms_compile-main-foo-test-foo/pom.xml
+++ b/src/it/jpms_compile-main-foo-test-foo/pom.xml
@@ -49,9 +49,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/jpms_patch-module/pom.xml b/src/it/jpms_patch-module/pom.xml
index 5b5e6d9..608a975 100644
--- a/src/it/jpms_patch-module/pom.xml
+++ b/src/it/jpms_patch-module/pom.xml
@@ -35,9 +35,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <release>17</release>
- </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/modular-sources/pom.xml b/src/it/modular-sources/pom.xml
index a989ae2..7aabcb3 100644
--- a/src/it/modular-sources/pom.xml
+++ b/src/it/modular-sources/pom.xml
@@ -40,11 +40,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- </configuration>
</plugin>
</plugins>
diff --git a/src/it/module-info-patch/pom.xml b/src/it/module-info-patch/pom.xml
index 9c86d62..a5f04fe 100644
--- a/src/it/module-info-patch/pom.xml
+++ b/src/it/module-info-patch/pom.xml
@@ -40,11 +40,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- </configuration>
</plugin>
</plugins>
diff --git a/src/it/multirelease-on-classpath/pom.xml b/src/it/multirelease-on-classpath/pom.xml
index 2ca77ca..3ca2612 100644
--- a/src/it/multirelease-on-classpath/pom.xml
+++ b/src/it/multirelease-on-classpath/pom.xml
@@ -31,11 +31,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- </configuration>
</plugin>
</plugins>
diff --git a/src/it/multirelease-patterns/singleproject-modular/pom.xml b/src/it/multirelease-patterns/singleproject-modular/pom.xml
index 7aeed2a..8f7ecc0 100644
--- a/src/it/multirelease-patterns/singleproject-modular/pom.xml
+++ b/src/it/multirelease-patterns/singleproject-modular/pom.xml
@@ -68,9 +68,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>8</release>
</configuration>
<executions>
diff --git a/src/it/multirelease-patterns/singleproject-root/pom.xml b/src/it/multirelease-patterns/singleproject-root/pom.xml
index 09e9a01..52fb973 100644
--- a/src/it/multirelease-patterns/singleproject-root/pom.xml
+++ b/src/it/multirelease-patterns/singleproject-root/pom.xml
@@ -68,9 +68,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>9</release>
</configuration>
<executions>
diff --git a/src/it/multirelease-patterns/singleproject-runtime/pom.xml b/src/it/multirelease-patterns/singleproject-runtime/pom.xml
index 072cd61..a4a4bec 100644
--- a/src/it/multirelease-patterns/singleproject-runtime/pom.xml
+++ b/src/it/multirelease-patterns/singleproject-runtime/pom.xml
@@ -68,9 +68,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>16</release>
</configuration>
<executions>
diff --git a/src/it/multirelease-patterns/singleproject-separate-moduleinfo/pom.xml b/src/it/multirelease-patterns/singleproject-separate-moduleinfo/pom.xml
index 091874c..dcde06b 100644
--- a/src/it/multirelease-patterns/singleproject-separate-moduleinfo/pom.xml
+++ b/src/it/multirelease-patterns/singleproject-separate-moduleinfo/pom.xml
@@ -67,11 +67,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- </configuration>
<executions>
<execution>
<id>default-compile</id>
diff --git a/src/it/multirelease-patterns/singleproject-toolchains/pom.xml b/src/it/multirelease-patterns/singleproject-toolchains/pom.xml
index 16fc92a..759b0ef 100644
--- a/src/it/multirelease-patterns/singleproject-toolchains/pom.xml
+++ b/src/it/multirelease-patterns/singleproject-toolchains/pom.xml
@@ -85,9 +85,6 @@
</goals>
<phase />
<configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
<release>17</release>
<jdkToolchain>
<version>17</version>
diff --git a/src/it/multirelease-with-modules/pom.xml b/src/it/multirelease-with-modules/pom.xml
index a33f0a4..1289c2b 100644
--- a/src/it/multirelease-with-modules/pom.xml
+++ b/src/it/multirelease-with-modules/pom.xml
@@ -31,11 +31,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@project.version@</version>
- <configuration>
- <!-- TODO: remove source and target after we identified where Maven inherits those values. -->
- <source />
- <target />
- </configuration>
</plugin>
</plugins>