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 305d1e3f..e7efa7f1 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 compileSourceRoots; /**