diff --git a/0001-plexus-languages-1.0.patch b/0001-plexus-languages-1.0.patch new file mode 100644 index 0000000..f145f0f --- /dev/null +++ b/0001-plexus-languages-1.0.patch @@ -0,0 +1,25 @@ +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 new file mode 100644 index 0000000..ce1f05c --- /dev/null +++ b/0002-MCOMPILER-359-Fix-for-NPE.patch @@ -0,0 +1,25 @@ +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 deleted file mode 100644 index 1783d6d..0000000 --- a/maven-compiler-plugin-3.10.1-source-release.zip +++ /dev/null @@ -1,3 +0,0 @@ -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 new file mode 100644 index 0000000..9f54054 --- /dev/null +++ b/maven-compiler-plugin-3.8.1-source-release.zip @@ -0,0 +1,3 @@ +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 0ccfaff..fe1b959 100644 --- a/maven-compiler-plugin-bootstrap-resources.patch +++ b/maven-compiler-plugin-bootstrap-resources.patch @@ -1,6 +1,6 @@ ---- 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 @@ +--- 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 @@ + + + ${project.name} @@ -34,7 +34,7 @@ + 3.5 + false + true -+ Compiles application test sources. ++ 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. + + + annotationProcessors @@ -42,7 +42,7 @@ + 2.2 + false + true -+ Compiles application test sources. ++ 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. + + + compilerArgs @@ -50,14 +50,14 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + compilerArgument + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + compilerArguments @@ -66,14 +66,14 @@ + use {@link #compilerArgs} instead. + false + true -+ Compiles application test sources. ++ 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. + + + compilerId + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + compilerReuseStrategy @@ -81,37 +81,21 @@ + 2.5 + false + true -+ Compiles application test sources. ++ 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. + + + compilerVersion + java.lang.String + false + true -+ Compiles application test sources. -+ -+ -+ createMissingPackageInfoClass -+ boolean -+ 3.10 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + debug + boolean + false + true -+ Compiles application test sources. -+ -+ -+ debugFileName -+ java.lang.String -+ 3.10.0 -+ false -+ true -+ Compiles application sources ++ 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. + + + debuglevel @@ -119,15 +103,7 @@ + 2.1 + false + true -+ Compiles application test sources. -+ -+ -+ enablePreview -+ boolean -+ 3.10.1 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + encoding @@ -135,7 +111,7 @@ + 2.1 + false + true -+ Compiles application test sources. ++ 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. + + + excludes @@ -149,7 +125,7 @@ + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + failOnError @@ -157,7 +133,7 @@ + 2.0.2 + false + true -+ Compiles application test sources. ++ 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. + + + failOnWarning @@ -165,7 +141,7 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + fileExtensions @@ -173,7 +149,7 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + forceJavacCompilerUse @@ -181,14 +157,14 @@ + 3.0 + false + true -+ Compiles application test sources. ++ 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. + + + fork + boolean + false + true -+ Compiles application test sources. ++ 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. + + + generatedSourcesDirectory @@ -211,7 +187,7 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + maxmem @@ -219,7 +195,7 @@ + 2.0.1 + false + true -+ Compiles application test sources. ++ 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. + + + meminitial @@ -227,7 +203,7 @@ + 2.0.1 + false + true -+ Compiles application test sources. ++ 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. + + + multiReleaseOutput @@ -243,14 +219,14 @@ + This property is a no-op in {@code javac}. + false + true -+ Compiles application test sources. ++ 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. + + + outputFileName + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + parameters @@ -258,7 +234,7 @@ + 3.6.2 + false + true -+ Compiles application test sources. ++ 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. + + + proc @@ -266,7 +242,7 @@ + 2.2 + false + true -+ Compiles application test sources. ++ 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. + + + release @@ -274,21 +250,21 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + showDeprecation + boolean + false + true -+ Compiles application test sources. ++ 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. + + + showWarnings + boolean + false + true -+ Compiles application test sources. ++ 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. + + + skipMain @@ -303,28 +279,28 @@ + 2.5 + false + true -+ Compiles application test sources. ++ 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. + + + source + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + staleMillis + int + false + true -+ Compiles application test sources. ++ 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. + + + target + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + useIncrementalCompilation @@ -332,25 +308,22 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + verbose + boolean + false + true -+ Compiles application test sources. ++ 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. + + + + ${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} @@ -367,9 +340,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} + @@ -398,7 +371,7 @@ + 3.5 + false + true -+ Compiles application test sources. ++ 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. + + + annotationProcessors @@ -406,7 +379,7 @@ + 2.2 + false + true -+ Compiles application test sources. ++ 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. + + + compilerArgs @@ -414,14 +387,14 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + compilerArgument + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + compilerArguments @@ -430,14 +403,14 @@ + use {@link #compilerArgs} instead. + false + true -+ Compiles application test sources. ++ 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. + + + compilerId + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + compilerReuseStrategy @@ -445,37 +418,21 @@ + 2.5 + false + true -+ Compiles application test sources. ++ 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. + + + compilerVersion + java.lang.String + false + true -+ Compiles application test sources. -+ -+ -+ createMissingPackageInfoClass -+ boolean -+ 3.10 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + debug + boolean + false + true -+ Compiles application test sources. -+ -+ -+ debugFileName -+ java.lang.String -+ 3.10.0 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + debuglevel @@ -483,15 +440,7 @@ + 2.1 + false + true -+ Compiles application test sources. -+ -+ -+ enablePreview -+ boolean -+ 3.10.1 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + encoding @@ -499,14 +448,14 @@ + 2.1 + false + true -+ Compiles application test sources. ++ 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. + + + executable + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + failOnError @@ -514,7 +463,7 @@ + 2.0.2 + false + true -+ Compiles application test sources. ++ 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. + + + failOnWarning @@ -522,7 +471,7 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + fileExtensions @@ -530,7 +479,7 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + forceJavacCompilerUse @@ -538,14 +487,14 @@ + 3.0 + false + true -+ Compiles application test sources. ++ 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. + + + fork + boolean + false + true -+ Compiles application test sources. ++ 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. + + + generatedTestSourcesDirectory @@ -561,7 +510,7 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + maxmem @@ -569,7 +518,7 @@ + 2.0.1 + false + true -+ Compiles application test sources. ++ 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. + + + meminitial @@ -577,7 +526,7 @@ + 2.0.1 + false + true -+ Compiles application test sources. ++ 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. + + + optimize @@ -585,14 +534,14 @@ + This property is a no-op in {@code javac}. + false + true -+ Compiles application test sources. ++ 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. + + + outputFileName + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + parameters @@ -600,7 +549,7 @@ + 3.6.2 + false + true -+ Compiles application test sources. ++ 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. + + + proc @@ -608,7 +557,7 @@ + 2.2 + false + true -+ Compiles application test sources. ++ 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. + + + release @@ -616,21 +565,21 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + showDeprecation + boolean + false + true -+ Compiles application test sources. ++ 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. + + + showWarnings + boolean + false + true -+ Compiles application test sources. ++ 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. + + + skip @@ -645,28 +594,28 @@ + 2.5 + false + true -+ Compiles application test sources. ++ 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. + + + source + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + staleMillis + int + false + true -+ Compiles application test sources. ++ 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. + + + target + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + testCompilerArgument @@ -728,25 +677,22 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + verbose + boolean + false + true -+ Compiles application test sources. ++ 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. + + + + ${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} @@ -763,9 +709,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} @@ -775,9 +721,9 @@ + + + ---- 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 @@ +--- 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 @@ + + + ${project.name} @@ -813,7 +759,10 @@ + 3.5 + false + true -+ Compiles application test sources. ++ 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. + + + annotationProcessors @@ -821,21 +770,30 @@ + 2.2 + false + true -+ Compiles application test sources. ++ 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. + + + basedir + java.io.File + true + false -+ Compiles application test sources. ++ 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. + + + buildDirectory + java.io.File + true + false -+ Compiles application test sources. ++ 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 @@ -857,14 +815,20 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + compilerArgument + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + compilerArguments @@ -873,14 +837,20 @@ + use {@link #compilerArgs} instead. + false + true -+ Compiles application test sources. ++ 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. + + + compilerId + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + compilerReuseStrategy @@ -888,37 +858,30 @@ + 2.5 + false + true -+ Compiles application test sources. ++ 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. + + + compilerVersion + java.lang.String + false + true -+ Compiles application test sources. -+ -+ -+ createMissingPackageInfoClass -+ boolean -+ 3.10 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + debug + boolean + false + true -+ Compiles application test sources. -+ -+ -+ debugFileName -+ java.lang.String -+ 3.10.0 -+ false -+ true -+ Compiles application sources ++ 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. + + + debuglevel @@ -926,15 +889,10 @@ + 2.1 + false + true -+ Compiles application test sources. -+ -+ -+ enablePreview -+ boolean -+ 3.10.1 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + encoding @@ -942,7 +900,10 @@ + 2.1 + false + true -+ Compiles application test sources. ++ 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. + + + excludes @@ -956,7 +917,10 @@ + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + failOnError @@ -964,7 +928,10 @@ + 2.0.2 + false + true -+ Compiles application test sources. ++ 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. + + + failOnWarning @@ -972,7 +939,10 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + fileExtensions @@ -980,7 +950,10 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + forceJavacCompilerUse @@ -988,14 +961,20 @@ + 3.0 + false + true -+ Compiles application test sources. ++ 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. + + + fork + boolean + false + true -+ Compiles application test sources. ++ 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. + + + generatedSourcesDirectory @@ -1018,7 +997,10 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + maxmem @@ -1026,7 +1008,10 @@ + 2.0.1 + false + true -+ Compiles application test sources. ++ 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. + + + meminitial @@ -1034,7 +1019,10 @@ + 2.0.1 + false + true -+ Compiles application test sources. ++ 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. + + + mojoExecution @@ -1042,7 +1030,10 @@ + 3.0 needed for storing the status for the incremental build support. + true + false -+ Compiles application test sources. ++ 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. + + + multiReleaseOutput @@ -1058,7 +1049,10 @@ + This property is a no-op in {@code javac}. + false + true -+ Compiles application test sources. ++ 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. + + + outputDirectory @@ -1072,7 +1066,10 @@ + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + parameters @@ -1080,7 +1077,10 @@ + 3.6.2 + false + true -+ Compiles application test sources. ++ 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. + + + proc @@ -1088,14 +1088,20 @@ + 2.2 + false + true -+ Compiles application test sources. ++ 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. + + + project + org.apache.maven.project.MavenProject + true + false -+ Compiles application test sources. ++ 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. + + + projectArtifact @@ -1110,28 +1116,40 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + session + org.apache.maven.execution.MavenSession + true + false -+ Compiles application test sources. ++ 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. + + + showDeprecation + boolean + false + true -+ Compiles application test sources. ++ 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. + + + showWarnings + boolean + false + true -+ Compiles application test sources. ++ 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. + + + skipMain @@ -1146,28 +1164,40 @@ + 2.5 + false + true -+ Compiles application test sources. ++ 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. + + + source + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + staleMillis + int + false + true -+ Compiles application test sources. ++ 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. + + + target + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + useIncrementalCompilation @@ -1175,14 +1205,20 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + verbose + boolean + false + true -+ Compiles application test sources. ++ 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. + + + @@ -1193,11 +1229,8 @@ + ${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} @@ -1219,9 +1252,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} + @@ -1235,6 +1268,10 @@ + compilerManager + + ++ org.codehaus.plexus.languages.java.jpms.LocationManager ++ locationManager ++ ++ + org.apache.maven.repository.RepositorySystem + repositorySystem + @@ -1272,7 +1309,10 @@ + 3.5 + false + true -+ Compiles application test sources. ++ 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. + + + annotationProcessors @@ -1280,20 +1320,36 @@ + 2.2 + false + true -+ Compiles application test sources. ++ 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. + + + basedir + java.io.File + true + false -+ Compiles application test sources. ++ 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. + + + 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. + + @@ -1309,14 +1365,20 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + compilerArgument + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + compilerArguments @@ -1325,14 +1387,20 @@ + use {@link #compilerArgs} instead. + false + true -+ Compiles application test sources. ++ 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. + + + compilerId + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + compilerReuseStrategy @@ -1340,37 +1408,30 @@ + 2.5 + false + true -+ Compiles application test sources. ++ 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. + + + compilerVersion + java.lang.String + false + true -+ Compiles application test sources. -+ -+ -+ createMissingPackageInfoClass -+ boolean -+ 3.10 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + debug + boolean + false + true -+ Compiles application test sources. -+ -+ -+ debugFileName -+ java.lang.String -+ 3.10.0 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + debuglevel @@ -1378,15 +1439,10 @@ + 2.1 + false + true -+ Compiles application test sources. -+ -+ -+ enablePreview -+ boolean -+ 3.10.1 -+ false -+ true -+ Compiles application test sources. ++ 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. + + + encoding @@ -1394,14 +1450,20 @@ + 2.1 + false + true -+ Compiles application test sources. ++ 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. + + + executable + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + failOnError @@ -1409,7 +1471,10 @@ + 2.0.2 + false + true -+ Compiles application test sources. ++ 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. + + + failOnWarning @@ -1417,7 +1482,10 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + fileExtensions @@ -1425,7 +1493,10 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + forceJavacCompilerUse @@ -1433,14 +1504,20 @@ + 3.0 + false + true -+ Compiles application test sources. ++ 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. + + + fork + boolean + false + true -+ Compiles application test sources. ++ 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. + + + generatedTestSourcesDirectory @@ -1456,7 +1533,10 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + maxmem @@ -1464,7 +1544,10 @@ + 2.0.1 + false + true -+ Compiles application test sources. ++ 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. + + + meminitial @@ -1472,7 +1555,10 @@ + 2.0.1 + false + true -+ Compiles application test sources. ++ 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. + + + mojoExecution @@ -1480,7 +1566,10 @@ + 3.0 needed for storing the status for the incremental build support. + true + false -+ Compiles application test sources. ++ 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. + + + optimize @@ -1488,7 +1577,10 @@ + This property is a no-op in {@code javac}. + false + true -+ Compiles application test sources. ++ 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. + + + outputDirectory @@ -1502,7 +1594,10 @@ + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + parameters @@ -1510,7 +1605,10 @@ + 3.6.2 + false + true -+ Compiles application test sources. ++ 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. + + + proc @@ -1518,14 +1616,20 @@ + 2.2 + false + true -+ Compiles application test sources. ++ 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. + + + project + org.apache.maven.project.MavenProject + true + false -+ Compiles application test sources. ++ 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. + + + release @@ -1533,28 +1637,40 @@ + 3.6 + false + true -+ Compiles application test sources. ++ 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. + + + session + org.apache.maven.execution.MavenSession + true + false -+ Compiles application test sources. ++ 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. + + + showDeprecation + boolean + false + true -+ Compiles application test sources. ++ 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. + + + showWarnings + boolean + false + true -+ Compiles application test sources. ++ 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. + + + skip @@ -1569,28 +1685,40 @@ + 2.5 + false + true -+ Compiles application test sources. ++ 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. + + + source + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + staleMillis + int + false + true -+ Compiles application test sources. ++ 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. + + + target + java.lang.String + false + true -+ Compiles application test sources. ++ 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. + + + testCompilerArgument @@ -1659,28 +1787,32 @@ + 3.1 + false + true -+ Compiles application test sources. ++ 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. + + + verbose + boolean + false + true -+ Compiles application test sources. ++ 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. + + + + + ++ + + ${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} @@ -1701,9 +1833,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} @@ -1721,6 +1853,10 @@ + compilerManager + + ++ org.codehaus.plexus.languages.java.jpms.LocationManager ++ locationManager ++ ++ + org.apache.maven.repository.RepositorySystem + repositorySystem + @@ -1737,10 +1873,154 @@ + + + ++ 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.3.0 ++ 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 + + + org.codehaus.plexus @@ -1749,10 +2029,40 @@ + 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.3.4 ++ 3.2.1 + + + commons-io @@ -1770,37 +2080,43 @@ + org.codehaus.plexus + plexus-java + jar -+ 1.1.1 ++ 0.9.10 + + + org.ow2.asm + asm + jar -+ 9.2 ++ 7.0 + + + com.thoughtworks.qdox + qdox + jar -+ 2.0.1 ++ 2.0-M9 + + + org.codehaus.plexus + plexus-compiler-api + jar -+ 2.11.1 ++ 2.8.4 + + + org.codehaus.plexus + plexus-compiler-manager + jar -+ 2.11.1 ++ 2.8.4 + + + org.codehaus.plexus + plexus-compiler-javac + jar -+ 2.11.1 ++ 2.8.4 ++ ++ ++ org.codehaus.plexus ++ plexus-interpolation ++ jar ++ 1.25 + + + diff --git a/maven-compiler-plugin-build.xml b/maven-compiler-plugin-build.xml index 446d493..44df615 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 d46d0e5..ed7b8ab 100644 --- a/maven-compiler-plugin.spec +++ b/maven-compiler-plugin.spec @@ -23,21 +23,24 @@ %bcond_with bootstrap %endif %global base_name maven-compiler-plugin -Version: 3.10.1 +Version: 3.8.1 Release: 0 Summary: Maven Compiler Plugin License: Apache-2.0 Group: Development/Libraries/Java -URL: https://maven.apache.org/plugins/maven-compiler-plugin -Source0: https://dlcdn.apache.org/maven/plugins/%{base_name}-%{version}-source-release.zip +URL: http://maven.apache.org/plugins/maven-compiler-plugin +Source0: http://archive.apache.org/dist/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 @@ -50,7 +53,6 @@ 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) @@ -86,11 +88,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 @@ -102,7 +104,6 @@ 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 \ @@ -121,9 +122,7 @@ xmvn --batch-mode --offline \ %install %mvn_install -%if %{without bootstrap} %fdupes -s %{buildroot}%{_javadocdir} -%endif %files -f .mfiles %license LICENSE NOTICE