You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2014/07/21 11:30:10 UTC
[jira] (MCOMPILER-224) Maven compiler plugin does not properly
consume plexus compiler output
[ https://jira.codehaus.org/browse/MCOMPILER-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy reopened MCOMPILER-224:
-------------------------------------
the IT is fine with JDK 7 & 8, but fails with JDK 6 because the mesage isn't exactly the same:
jdk6:
{noformat}[INFO] Compiling 1 source file to /home/herve/projets/maven/trunks/plugins/maven-compiler-plugin/target/it/MCOMPILER-224/annotation-user/target/classes
Testing message for: WARNING
Testing message for: MANDATORY_WARNING
Testing message for: NOTE
Testing message for: OTHER
[DEBUG] incrementalBuildHelper#afterRebuildExecution
[WARNING] warning: WARNING Test message.
[WARNING] warning: MANDATORY_WARNING Test message.
[INFO] Note: NOTE Test message.
[INFO] Note: OTHER Test message.{noformat}
jdk7 & 8:
{noformat}[INFO] Compiling 1 source file to /home/herve/projets/maven/trunks/plugins/maven-compiler-plugin/target/it/MCOMPILER-224/annotation-user/target/classes
Testing message for: WARNING
Testing message for: MANDATORY_WARNING
Testing message for: NOTE
Testing message for: OTHER
[DEBUG] incrementalBuildHelper#afterRebuildExecution
[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] WARNING Test message.
[WARNING] MANDATORY_WARNING Test message.
[INFO] NOTE Test message.
[INFO] OTHER Test message.{noformat}
can you check if the IT should be relaxed or there is some fix to remove the extra "warning:" and "Note:" prefix, please?
> Maven compiler plugin does not properly consume plexus compiler output
> ----------------------------------------------------------------------
>
> Key: MCOMPILER-224
> URL: https://jira.codehaus.org/browse/MCOMPILER-224
> Project: Maven Compiler Plugin
> Issue Type: Bug
> Affects Versions: 3.0, 3.1
> Reporter: David M. Lloyd
> Assignee: John Casey
> Fix For: 3.2
>
> Attachments: MCOMPILER-224.patch, MCOMPILER-224.zip
>
>
> Maven compiler plugin does not properly read the output from the plexus compiler. All CompilerMessages are logged at warning or error level, even if they are not warnings or errors.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)