Skip to content

Commit 9337c3c

Browse files
Rename property moduleVersion to maven.compiler.moduleVersion
1 parent 470ca88 commit 9337c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public abstract class AbstractCompilerMojo implements Mojo {
122122
* @see <a href="https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#option-module-version">javac --module-version</a>
123123
* @since 4.0.0
124124
*/
125-
@Parameter(property = "moduleVersion", defaultValue = "${project.version}")
125+
@Parameter(property = "maven.compiler.moduleVersion", defaultValue = "${project.version}")
126126
protected String moduleVersion;
127127

128128
/**

0 commit comments

Comments
 (0)