This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 5be3163  [MCOMPILER-501] compileSourceRoots parameter should be 
writable (#159)
5be3163 is described below

commit 5be316391ea7c575ee65c3fe83b4c7b30e1174d0
Author: Guillaume Nodet <[email protected]>
AuthorDate: Fri Dec 9 18:31:20 2022 +0100

    [MCOMPILER-501] compileSourceRoots parameter should be writable (#159)
    
    Make compileSourceRoots read/write so that it can be used in multi-release 
jars without issuing a warning
---
 src/main/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 305d1e3..e7efa7f 100644
--- a/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
+++ b/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
@@ -65,7 +65,7 @@ public class CompilerMojo
     /**
      * The source directories containing the sources to be compiled.
      */
-    @Parameter( defaultValue = "${project.compileSourceRoots}", readonly = 
true, required = true )
+    @Parameter( defaultValue = "${project.compileSourceRoots}", readonly = 
false, required = true )
     private List<String> compileSourceRoots;
 
     /**

Reply via email to