diff --git a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java index 2f083965..e6253f5e 100644 --- a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java +++ b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java @@ -402,6 +402,14 @@ public abstract class AbstractCompilerMojo @Parameter( property = "maven.compiler.debuglevel" ) private String debuglevel; + /** + * Keyword to be appended to the -implicit: command-line switch. + * + * @since 3.10.2 + */ + @Parameter( property = "maven.compiler.implicit" ) + private String implicit; + /** * */ @@ -686,6 +694,8 @@ public void execute() compilerConfiguration.setDebugFileName( getDebugFileName() ); + compilerConfiguration.setImplicitOption( implicit ); + if ( debug && StringUtils.isNotEmpty( debuglevel ) ) { String[] split = StringUtils.split( debuglevel, "," );