You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2018/06/07 20:36:54 UTC

[maven-compiler-plugin] branch master updated: [MCOMPILER-344] Deprecate flag

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new c4d92a1  [MCOMPILER-344] Deprecate <optimize> flag
c4d92a1 is described below

commit c4d92a10a9682e5d7c4bdec1bc0644a16f073330
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Thu Jun 7 22:36:15 2018 +0200

    [MCOMPILER-344] Deprecate <optimize> flag
---
 .../java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java     | 2 ++
 1 file changed, 2 insertions(+)

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 57887a2..b9d98d1 100644
--- a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
+++ b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
@@ -147,7 +147,9 @@ public abstract class AbstractCompilerMojo
 
     /**
      * Set to <code>true</code> to optimize the compiled code using the compiler's optimization methods.
+     * @deprecated This property is a no-op in {@code javac}.
      */
+    @Deprecated
     @Parameter( property = "maven.compiler.optimize", defaultValue = "false" )
     private boolean optimize;
 

-- 
To stop receiving notification emails like this one, please contact
michaelo@apache.org.