From e5375fd10f00e4db5471bdc69ebdc4ba20f7bbdc Mon Sep 17 00:00:00 2001 From: Lorenz Simon Date: Thu, 23 Nov 2023 12:02:34 +0100 Subject: [PATCH] [MCOMPILER-558] compileSourceRoots in testCompile should be writable (#209) Make compileSourceRoots read/write so that it can be configured Co-authored-by: Slawomir Jaranowski --- .../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 877e6e4e..43aab2f9 100644 --- a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java +++ b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java @@ -70,7 +70,7 @@ public class TestCompilerMojo extends AbstractCompilerMojo { /** * The source directories containing the test-source to be compiled. */ - @Parameter(defaultValue = "${project.testCompileSourceRoots}", readonly = true, required = true) + @Parameter(defaultValue = "${project.testCompileSourceRoots}", readonly = false, required = true) private List compileSourceRoots; /**