File tree 1 file changed +10
-1
lines changed
src/main/java/org/apache/maven/plugin/compiler
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,17 @@ public class CompilerMojo extends AbstractCompilerMojo {
70
70
71
71
/**
72
72
* The directory for compiled classes.
73
+ * <p>
74
+ * This parameter should only be modified in special cases. One example is creating
75
+ * a multi-release jar with a lower bytecode level (i.e. setting it to
76
+ * {@code ${project.build.outputDirectory}/META-INF/versions/21} or similar) in an additional
77
+ * execution.
78
+ * <p>
79
+ * When the required bytecode level is available though an installed JDK or toolchain,
80
+ * it is recommended to use the {@code <release>} property
81
+ * in conjunction with the ${multiReleaseOutput} parameter instead.
73
82
*/
74
- @ Parameter (defaultValue = "${project.build.outputDirectory}" , required = true , readonly = true )
83
+ @ Parameter (defaultValue = "${project.build.outputDirectory}" , required = true , readonly = false )
75
84
private File outputDirectory ;
76
85
77
86
/**
You can’t perform that action at this time.
0 commit comments