From 06f9afdfd5cd880f748a018e819d29c367af8eedd153e45b42a573eff43b3d04 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 11 Mar 2022 15:45:03 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-compiler-plugin?expand=0&rev=25 --- 0001-plexus-languages-1.0.patch | 25 - 0002-MCOMPILER-359-Fix-for-NPE.patch | 25 - ...-compiler-plugin-3.10.1-source-release.zip | 3 + ...n-compiler-plugin-3.8.1-source-release.zip | 3 - ...-compiler-plugin-bootstrap-resources.patch | 858 ++++++------------ maven-compiler-plugin-build.xml | 4 +- maven-compiler-plugin.spec | 19 +- 7 files changed, 286 insertions(+), 651 deletions(-) delete mode 100644 0001-plexus-languages-1.0.patch delete mode 100644 0002-MCOMPILER-359-Fix-for-NPE.patch create mode 100644 maven-compiler-plugin-3.10.1-source-release.zip delete mode 100644 maven-compiler-plugin-3.8.1-source-release.zip diff --git a/0001-plexus-languages-1.0.patch b/0001-plexus-languages-1.0.patch deleted file mode 100644 index f145f0f..0000000 --- a/0001-plexus-languages-1.0.patch +++ /dev/null @@ -1,25 +0,0 @@ -From fd5749e9b8d47cf350527c4831a4ee53cefc60aa Mon Sep 17 00:00:00 2001 -From: Mat Booth -Date: Mon, 20 Jul 2020 22:51:52 +0100 -Subject: [PATCH 1/2] plexus languages 1.0 - ---- - .../java/org/apache/maven/plugin/compiler/CompilerMojo.java | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java -index 8bc437b..326f9f9 100644 ---- a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java -+++ b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java -@@ -50,7 +50,7 @@ import org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor; - import org.codehaus.plexus.languages.java.jpms.LocationManager; - import org.codehaus.plexus.languages.java.jpms.ResolvePathsRequest; - import org.codehaus.plexus.languages.java.jpms.ResolvePathsResult; --import org.codehaus.plexus.languages.java.jpms.ResolvePathsResult.ModuleNameSource; -+import org.codehaus.plexus.languages.java.jpms.ModuleNameSource; - - /** - * Compiles application sources --- -2.26.2 - diff --git a/0002-MCOMPILER-359-Fix-for-NPE.patch b/0002-MCOMPILER-359-Fix-for-NPE.patch deleted file mode 100644 index ce1f05c..0000000 --- a/0002-MCOMPILER-359-Fix-for-NPE.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8ef296b291e7ef1e1e4ab4fa4b520a80bde48a9f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= -Date: Tue, 17 Dec 2019 19:05:57 +0100 -Subject: [PATCH 2/2] MCOMPILER-359: Fix for NPE - ---- - .../java/org/apache/maven/plugin/compiler/TestCompilerMojo.java | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java -index f8b9ba1..203dd07 100644 ---- a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java -+++ b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java -@@ -250,7 +250,7 @@ public class TestCompilerMojo - - for ( Entry pathException : result.getPathExceptions().entrySet() ) - { -- Throwable cause = pathException.getValue().getCause(); -+ Throwable cause = pathException.getValue(); - while ( cause.getCause() != null ) - { - cause = cause.getCause(); --- -2.26.2 - diff --git a/maven-compiler-plugin-3.10.1-source-release.zip b/maven-compiler-plugin-3.10.1-source-release.zip new file mode 100644 index 0000000..1783d6d --- /dev/null +++ b/maven-compiler-plugin-3.10.1-source-release.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8dc4f56babe3a5ffe9301d2272b519cc64440ec04cac301e395cc8234e07f132 +size 656659 diff --git a/maven-compiler-plugin-3.8.1-source-release.zip b/maven-compiler-plugin-3.8.1-source-release.zip deleted file mode 100644 index 9f54054..0000000 --- a/maven-compiler-plugin-3.8.1-source-release.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c636642705d56f22ee6a0f802e811efedd2e9f84526c7a10c8a88e59571e52f1 -size 588951 diff --git a/maven-compiler-plugin-bootstrap-resources.patch b/maven-compiler-plugin-bootstrap-resources.patch index fe1b959..0ccfaff 100644 --- a/maven-compiler-plugin-bootstrap-resources.patch +++ b/maven-compiler-plugin-bootstrap-resources.patch @@ -1,6 +1,6 @@ ---- maven-compiler-plugin-3.8.1/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-compiler-plugin/plugin-help.xml 1970-01-01 01:00:00.000000000 +0100 -+++ maven-compiler-plugin-3.8.1/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-compiler-plugin/plugin-help.xml 2019-11-25 17:47:55.264289561 +0100 -@@ -0,0 +1,720 @@ +--- maven-compiler-plugin-3.10.1/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-compiler-plugin/plugin-help.xml 1970-01-01 01:00:00.000000000 +0100 ++++ maven-compiler-plugin-3.10.1/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-compiler-plugin/plugin-help.xml 2022-03-11 11:00:04.330573606 +0100 +@@ -0,0 +1,774 @@ + + + ${project.name} @@ -34,7 +34,7 @@ + 3.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + annotationProcessors @@ -42,7 +42,7 @@ + 2.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArgs @@ -50,14 +50,14 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArgument + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArguments @@ -66,14 +66,14 @@ + use {@link #compilerArgs} instead. + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerId + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerReuseStrategy @@ -81,21 +81,37 @@ + 2.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerVersion + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ createMissingPackageInfoClass ++ boolean ++ 3.10 ++ false ++ true ++ Compiles application test sources. + + + debug + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ debugFileName ++ java.lang.String ++ 3.10.0 ++ false ++ true ++ Compiles application sources + + + debuglevel @@ -103,7 +119,15 @@ + 2.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ enablePreview ++ boolean ++ 3.10.1 ++ false ++ true ++ Compiles application test sources. + + + encoding @@ -111,7 +135,7 @@ + 2.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + excludes @@ -125,7 +149,7 @@ + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + failOnError @@ -133,7 +157,7 @@ + 2.0.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + failOnWarning @@ -141,7 +165,7 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + fileExtensions @@ -149,7 +173,7 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + forceJavacCompilerUse @@ -157,14 +181,14 @@ + 3.0 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + fork + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + generatedSourcesDirectory @@ -187,7 +211,7 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + maxmem @@ -195,7 +219,7 @@ + 2.0.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + meminitial @@ -203,7 +227,7 @@ + 2.0.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + multiReleaseOutput @@ -219,14 +243,14 @@ + This property is a no-op in {@code javac}. + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + outputFileName + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + parameters @@ -234,7 +258,7 @@ + 3.6.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + proc @@ -242,7 +266,7 @@ + 2.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + release @@ -250,21 +274,21 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + showDeprecation + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + showWarnings + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + skipMain @@ -279,28 +303,28 @@ + 2.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + source + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + staleMillis + int + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + target + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + useIncrementalCompilation @@ -308,22 +332,25 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + verbose + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + + ${maven.compiler.compilerId} + ${maven.compiler.compilerReuseStrategy} + ${maven.compiler.compilerVersion} ++ ${maven.compiler.createMissingPackageInfoClass} + ${maven.compiler.debug} ++ + ${maven.compiler.debuglevel} ++ ${maven.compiler.enablePreview} + ${encoding} + ${maven.compiler.executable} + ${maven.compiler.failOnError} @@ -340,9 +367,9 @@ + ${maven.compiler.showWarnings} + ${maven.main.skip} + ${maven.compiler.skipMultiThreadWarning} -+ ${maven.compiler.source} ++ ${maven.compiler.source} + ${lastModGranularityMs} -+ ${maven.compiler.target} ++ ${maven.compiler.target} + ${maven.compiler.useIncrementalCompilation} + ${maven.compiler.verbose} + @@ -371,7 +398,7 @@ + 3.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + annotationProcessors @@ -379,7 +406,7 @@ + 2.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArgs @@ -387,14 +414,14 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArgument + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArguments @@ -403,14 +430,14 @@ + use {@link #compilerArgs} instead. + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerId + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerReuseStrategy @@ -418,21 +445,37 @@ + 2.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerVersion + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ createMissingPackageInfoClass ++ boolean ++ 3.10 ++ false ++ true ++ Compiles application test sources. + + + debug + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ debugFileName ++ java.lang.String ++ 3.10.0 ++ false ++ true ++ Compiles application test sources. + + + debuglevel @@ -440,7 +483,15 @@ + 2.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ enablePreview ++ boolean ++ 3.10.1 ++ false ++ true ++ Compiles application test sources. + + + encoding @@ -448,14 +499,14 @@ + 2.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + executable + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + failOnError @@ -463,7 +514,7 @@ + 2.0.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + failOnWarning @@ -471,7 +522,7 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + fileExtensions @@ -479,7 +530,7 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + forceJavacCompilerUse @@ -487,14 +538,14 @@ + 3.0 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + fork + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + generatedTestSourcesDirectory @@ -510,7 +561,7 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + maxmem @@ -518,7 +569,7 @@ + 2.0.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + meminitial @@ -526,7 +577,7 @@ + 2.0.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + optimize @@ -534,14 +585,14 @@ + This property is a no-op in {@code javac}. + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + outputFileName + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + parameters @@ -549,7 +600,7 @@ + 3.6.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + proc @@ -557,7 +608,7 @@ + 2.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + release @@ -565,21 +616,21 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + showDeprecation + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + showWarnings + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + skip @@ -594,28 +645,28 @@ + 2.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + source + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + staleMillis + int + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + target + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + testCompilerArgument @@ -677,22 +728,25 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + verbose + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two scans of all the source code if the compiler has to have the entire set of sources. This is currently the case for at least the C# compiler and most likely all the other .NET compilers too. ++ Compiles application test sources. + + + + ${maven.compiler.compilerId} + ${maven.compiler.compilerReuseStrategy} + ${maven.compiler.compilerVersion} ++ ${maven.compiler.createMissingPackageInfoClass} + ${maven.compiler.debug} ++ + ${maven.compiler.debuglevel} ++ ${maven.compiler.enablePreview} + ${encoding} + ${maven.compiler.executable} + ${maven.compiler.failOnError} @@ -709,9 +763,9 @@ + ${maven.compiler.showWarnings} + ${maven.test.skip} + ${maven.compiler.skipMultiThreadWarning} -+ ${maven.compiler.source} ++ ${maven.compiler.source} + ${lastModGranularityMs} -+ ${maven.compiler.target} ++ ${maven.compiler.target} + ${maven.compiler.testRelease} + ${maven.compiler.testSource} + ${maven.compiler.testTarget} @@ -721,9 +775,9 @@ + + + ---- maven-compiler-plugin-3.8.1/src/main/filtered-resources/META-INF/maven/plugin.xml 1970-01-01 01:00:00.000000000 +0100 -+++ maven-compiler-plugin-3.8.1/src/main/filtered-resources/META-INF/maven/plugin.xml 2019-11-25 17:48:57.728635290 +0100 -@@ -0,0 +1,1396 @@ +--- maven-compiler-plugin-3.10.1/src/main/filtered-resources/META-INF/maven/plugin.xml 1970-01-01 01:00:00.000000000 +0100 ++++ maven-compiler-plugin-3.10.1/src/main/filtered-resources/META-INF/maven/plugin.xml 2022-03-11 11:00:09.386606429 +0100 +@@ -0,0 +1,1026 @@ + + + ${project.name} @@ -759,10 +813,7 @@ + 3.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + annotationProcessors @@ -770,30 +821,21 @@ + 2.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + basedir + java.io.File + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + buildDirectory + java.io.File + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilePath @@ -815,20 +857,14 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArgument + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArguments @@ -837,20 +873,14 @@ + use {@link #compilerArgs} instead. + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerId + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerReuseStrategy @@ -858,30 +888,37 @@ + 2.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerVersion + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ createMissingPackageInfoClass ++ boolean ++ 3.10 ++ false ++ true ++ Compiles application test sources. + + + debug + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ debugFileName ++ java.lang.String ++ 3.10.0 ++ false ++ true ++ Compiles application sources + + + debuglevel @@ -889,10 +926,15 @@ + 2.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ enablePreview ++ boolean ++ 3.10.1 ++ false ++ true ++ Compiles application test sources. + + + encoding @@ -900,10 +942,7 @@ + 2.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + excludes @@ -917,10 +956,7 @@ + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + failOnError @@ -928,10 +964,7 @@ + 2.0.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + failOnWarning @@ -939,10 +972,7 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + fileExtensions @@ -950,10 +980,7 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + forceJavacCompilerUse @@ -961,20 +988,14 @@ + 3.0 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + fork + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + generatedSourcesDirectory @@ -997,10 +1018,7 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + maxmem @@ -1008,10 +1026,7 @@ + 2.0.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + meminitial @@ -1019,10 +1034,7 @@ + 2.0.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + mojoExecution @@ -1030,10 +1042,7 @@ + 3.0 needed for storing the status for the incremental build support. + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + multiReleaseOutput @@ -1049,10 +1058,7 @@ + This property is a no-op in {@code javac}. + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + outputDirectory @@ -1066,10 +1072,7 @@ + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + parameters @@ -1077,10 +1080,7 @@ + 3.6.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + proc @@ -1088,20 +1088,14 @@ + 2.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + project + org.apache.maven.project.MavenProject + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + projectArtifact @@ -1116,40 +1110,28 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + session + org.apache.maven.execution.MavenSession + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + showDeprecation + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + showWarnings + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + skipMain @@ -1164,40 +1146,28 @@ + 2.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + source + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + staleMillis + int + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + target + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + useIncrementalCompilation @@ -1205,20 +1175,14 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + verbose + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + @@ -1229,8 +1193,11 @@ + ${maven.compiler.compilerId} + ${maven.compiler.compilerReuseStrategy} + ${maven.compiler.compilerVersion} ++ ${maven.compiler.createMissingPackageInfoClass} + ${maven.compiler.debug} ++ + ${maven.compiler.debuglevel} ++ ${maven.compiler.enablePreview} + ${encoding} + ${maven.compiler.executable} + ${maven.compiler.failOnError} @@ -1252,9 +1219,9 @@ + ${maven.compiler.showWarnings} + ${maven.main.skip} + ${maven.compiler.skipMultiThreadWarning} -+ ${maven.compiler.source} ++ ${maven.compiler.source} + ${lastModGranularityMs} -+ ${maven.compiler.target} ++ ${maven.compiler.target} + ${maven.compiler.useIncrementalCompilation} + ${maven.compiler.verbose} + @@ -1268,10 +1235,6 @@ + compilerManager + + -+ org.codehaus.plexus.languages.java.jpms.LocationManager -+ locationManager -+ -+ + org.apache.maven.repository.RepositorySystem + repositorySystem + @@ -1309,10 +1272,7 @@ + 3.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + annotationProcessors @@ -1320,36 +1280,20 @@ + 2.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + basedir + java.io.File + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + buildDirectory + java.io.File + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. -+ -+ -+ compilePath -+ java.util.List -+ false -+ false + Compiles application test sources. + + @@ -1365,20 +1309,14 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArgument + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerArguments @@ -1387,20 +1325,14 @@ + use {@link #compilerArgs} instead. + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerId + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerReuseStrategy @@ -1408,30 +1340,37 @@ + 2.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + compilerVersion + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ createMissingPackageInfoClass ++ boolean ++ 3.10 ++ false ++ true ++ Compiles application test sources. + + + debug + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ debugFileName ++ java.lang.String ++ 3.10.0 ++ false ++ true ++ Compiles application test sources. + + + debuglevel @@ -1439,10 +1378,15 @@ + 2.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. ++ ++ ++ enablePreview ++ boolean ++ 3.10.1 ++ false ++ true ++ Compiles application test sources. + + + encoding @@ -1450,20 +1394,14 @@ + 2.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + executable + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + failOnError @@ -1471,10 +1409,7 @@ + 2.0.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + failOnWarning @@ -1482,10 +1417,7 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + fileExtensions @@ -1493,10 +1425,7 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + forceJavacCompilerUse @@ -1504,20 +1433,14 @@ + 3.0 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + fork + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + generatedTestSourcesDirectory @@ -1533,10 +1456,7 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + maxmem @@ -1544,10 +1464,7 @@ + 2.0.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + meminitial @@ -1555,10 +1472,7 @@ + 2.0.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + mojoExecution @@ -1566,10 +1480,7 @@ + 3.0 needed for storing the status for the incremental build support. + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + optimize @@ -1577,10 +1488,7 @@ + This property is a no-op in {@code javac}. + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + outputDirectory @@ -1594,10 +1502,7 @@ + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + parameters @@ -1605,10 +1510,7 @@ + 3.6.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + proc @@ -1616,20 +1518,14 @@ + 2.2 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + project + org.apache.maven.project.MavenProject + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + release @@ -1637,40 +1533,28 @@ + 3.6 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + session + org.apache.maven.execution.MavenSession + true + false -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + showDeprecation + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + showWarnings + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + skip @@ -1685,40 +1569,28 @@ + 2.5 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + source + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + staleMillis + int + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + target + java.lang.String + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + testCompilerArgument @@ -1787,32 +1659,28 @@ + 3.1 + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + verbose + boolean + false + true -+ TODO: At least one step could be optimized, currently the plugin will do two -+scans of all the source code if the compiler has to have the entire set of -+sources. This is currently the case for at least the C# compiler and most -+likely all the other .NET compilers too. ++ Compiles application test sources. + + + + + -+ + + ${maven.compiler.compilerId} + ${maven.compiler.compilerReuseStrategy} + ${maven.compiler.compilerVersion} ++ ${maven.compiler.createMissingPackageInfoClass} + ${maven.compiler.debug} ++ + ${maven.compiler.debuglevel} ++ ${maven.compiler.enablePreview} + ${encoding} + ${maven.compiler.executable} + ${maven.compiler.failOnError} @@ -1833,9 +1701,9 @@ + ${maven.compiler.showWarnings} + ${maven.test.skip} + ${maven.compiler.skipMultiThreadWarning} -+ ${maven.compiler.source} ++ ${maven.compiler.source} + ${lastModGranularityMs} -+ ${maven.compiler.target} ++ ${maven.compiler.target} + + ${maven.compiler.testRelease} + ${maven.compiler.testSource} @@ -1853,10 +1721,6 @@ + compilerManager + + -+ org.codehaus.plexus.languages.java.jpms.LocationManager -+ locationManager -+ -+ + org.apache.maven.repository.RepositorySystem + repositorySystem + @@ -1873,154 +1737,10 @@ + + + -+ org.apache.maven -+ maven-plugin-api -+ jar -+ 3.0 -+ -+ -+ org.apache.maven -+ maven-model -+ jar -+ 3.6.2 -+ -+ -+ org.codehaus.plexus -+ plexus-classworlds -+ jar -+ 2.6.0 -+ -+ + org.codehaus.plexus + plexus-utils + jar -+ 3.2.1 -+ -+ -+ org.eclipse.sisu -+ org.eclipse.sisu.plexus -+ jar -+ 0.3.3 -+ -+ -+ org.apache.maven -+ maven-artifact -+ jar -+ 3.0 -+ -+ -+ org.apache.commons -+ commons-lang3 -+ jar -+ 3.8.1 -+ -+ -+ org.apache.maven -+ maven-core -+ jar -+ 3.0 -+ -+ -+ org.apache.maven -+ maven-settings -+ jar -+ 3.6.2 -+ -+ -+ org.apache.maven.resolver -+ maven-resolver-util -+ jar -+ 1.4.1 -+ -+ -+ org.eclipse.sisu -+ org.eclipse.sisu.inject -+ jar -+ 0.3.3 -+ -+ -+ javax.enterprise -+ cdi-api -+ jar -+ 1.1 -+ -+ -+ javax.el -+ javax.el-api -+ jar -+ 3.0.0 -+ -+ -+ org.jboss.spec.javax.interceptor -+ jboss-interceptors-api_1.2_spec -+ jar -+ any -+ -+ -+ com.google.inject -+ guice -+ jar -+ 4.2.1 -+ -+ -+ aopalliance -+ aopalliance -+ jar -+ 1.0 -+ -+ -+ cglib -+ cglib -+ jar -+ 3.2.0 -+ -+ -+ com.google.guava -+ guava -+ jar -+ 19.0 -+ -+ -+ org.apache.maven -+ maven-resolver-provider -+ jar -+ 3.6.2 -+ -+ -+ org.slf4j -+ slf4j-api -+ jar -+ 1.7.25 -+ -+ -+ org.apache.maven.resolver -+ maven-resolver-api -+ jar -+ 1.4.1 -+ -+ -+ javax.inject -+ javax.inject -+ jar -+ 1 -+ -+ -+ org.apache.maven.resolver -+ maven-resolver-impl -+ jar -+ 1.4.1 -+ -+ -+ org.apache.maven -+ maven-repository-metadata -+ jar -+ 3.6.2 -+ -+ -+ org.apache.maven.resolver -+ maven-resolver-spi -+ jar -+ 1.4.1 ++ 3.3.0 + + + org.codehaus.plexus @@ -2029,40 +1749,10 @@ + 1.5.5 + + -+ org.apache.maven -+ maven-model-builder -+ jar -+ 3.6.2 -+ -+ -+ org.apache.maven -+ maven-builder-support -+ jar -+ 3.6.2 -+ -+ -+ org.apache.maven -+ maven-settings-builder -+ jar -+ 3.6.2 -+ -+ -+ org.sonatype.plexus -+ plexus-sec-dispatcher -+ jar -+ 1.4 -+ -+ -+ org.sonatype.plexus -+ plexus-cipher -+ jar -+ 1.4 -+ -+ + org.apache.maven.shared + maven-shared-utils + jar -+ 3.2.1 ++ 3.3.4 + + + commons-io @@ -2080,43 +1770,37 @@ + org.codehaus.plexus + plexus-java + jar -+ 0.9.10 ++ 1.1.1 + + + org.ow2.asm + asm + jar -+ 7.0 ++ 9.2 + + + com.thoughtworks.qdox + qdox + jar -+ 2.0-M9 ++ 2.0.1 + + + org.codehaus.plexus + plexus-compiler-api + jar -+ 2.8.4 ++ 2.11.1 + + + org.codehaus.plexus + plexus-compiler-manager + jar -+ 2.8.4 ++ 2.11.1 + + + org.codehaus.plexus + plexus-compiler-javac + jar -+ 2.8.4 -+ -+ -+ org.codehaus.plexus -+ plexus-interpolation -+ jar -+ 1.25 ++ 2.11.1 + + + diff --git a/maven-compiler-plugin-build.xml b/maven-compiler-plugin-build.xml index 44df615..446d493 100644 --- a/maven-compiler-plugin-build.xml +++ b/maven-compiler-plugin-build.xml @@ -14,10 +14,10 @@ value="The Compiler Plugin is used to compile the sources of your project."/> - + - + diff --git a/maven-compiler-plugin.spec b/maven-compiler-plugin.spec index ed7b8ab..d46d0e5 100644 --- a/maven-compiler-plugin.spec +++ b/maven-compiler-plugin.spec @@ -23,24 +23,21 @@ %bcond_with bootstrap %endif %global base_name maven-compiler-plugin -Version: 3.8.1 +Version: 3.10.1 Release: 0 Summary: Maven Compiler Plugin License: Apache-2.0 Group: Development/Libraries/Java -URL: http://maven.apache.org/plugins/maven-compiler-plugin -Source0: http://archive.apache.org/dist/maven/plugins/%{base_name}-%{version}-source-release.zip +URL: https://maven.apache.org/plugins/maven-compiler-plugin +Source0: https://dlcdn.apache.org/maven/plugins/%{base_name}-%{version}-source-release.zip Source1: %{base_name}-build.xml Patch0: %{base_name}-bootstrap-resources.patch -Patch1: 0001-plexus-languages-1.0.patch -Patch2: 0002-MCOMPILER-359-Fix-for-NPE.patch - -BuildRequires: fdupes BuildRequires: javapackages-local BuildRequires: maven-lib BuildRequires: maven-plugin-annotations BuildRequires: maven-shared-incremental BuildRequires: maven-shared-utils +BuildRequires: objectweb-asm BuildRequires: plexus-compiler BuildRequires: plexus-languages BuildRequires: unzip @@ -53,6 +50,7 @@ Name: %{base_name}-bootstrap BuildRequires: ant %else Name: %{base_name} +BuildRequires: fdupes BuildRequires: xmvn BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-jar-plugin) @@ -88,11 +86,11 @@ API documentation for %{name}. cp %{SOURCE1} build.xml %patch0 -p1 %endif -%patch1 -p1 -%patch2 -p1 %pom_remove_dep :::test +%pom_xpath_remove pom:project/pom:parent/pom:relativePath + %build %if %{with bootstrap} mkdir -p lib @@ -104,6 +102,7 @@ build-jar-repository -s lib \ maven-plugin-tools/maven-plugin-annotations \ maven-shared-incremental/maven-shared-incremental \ maven-shared-utils/maven-shared-utils \ + objectweb-asm/asm-all \ plexus-compiler/plexus-compiler-api \ plexus-compiler/plexus-compiler-javac \ plexus-compiler/plexus-compiler-manager \ @@ -122,7 +121,9 @@ xmvn --batch-mode --offline \ %install %mvn_install +%if %{without bootstrap} %fdupes -s %{buildroot}%{_javadocdir} +%endif %files -f .mfiles %license LICENSE NOTICE