[ 
http://jira.codehaus.org/browse/MCOMPILER-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178267#action_178267
 ] 

Jonathan Johnson commented on MCOMPILER-59:
-------------------------------------------

My build is now breaking too after adding the SwingSet2.jar to one of my maven 
modules. This happens under Windows and Linux.

Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400)
Java version: 1.6.0_12
Java home: /usr/java/jdk1.6.0_12/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.18-92.1.18.el5" arch: "i386" Family: "unix"

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

could not parse error message: DemoModule.java(:DemoModule.java):214: warning: 
[deprecation] show() in java.awt.Window has been deprecated
frame.show();
^

could not parse error message: SwingSet2.java(:SwingSet2.java):748: warning: 
[deprecation] show() in java.awt.Window has been deprecated
f.show();
^

could not parse error message: SwingSet2.java(:SwingSet2.java):1316: warning: 
[deprecation] show() in java.awt.Dialog has been deprecated
aboutBox.show();

> Compilation fails on warning messages from javac (Java 6)
> ---------------------------------------------------------
>
>                 Key: MCOMPILER-59
>                 URL: http://jira.codehaus.org/browse/MCOMPILER-59
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>         Environment: Mac OSX 10.4.10
> Maven version: 2.0.7
> Java version: 1.6.0-dp
> OS name: "mac os x" version: "10.4.10" arch: "i386"
> java version "1.6.0-dp"
> Java(TM) SE Runtime Environment (build 1.6.0-dp-b88-34)
> Java HotSpot(TM) Client VM (build 1.6.0-b88-17-release, mixed mode, sharing)
>            Reporter: Tim Meighen
>            Assignee: John Casey
>             Fix For: 2.1
>
>         Attachments: compiler-warning.tar.gz, warning.tar.gz
>
>
> The attached project fails due to an inability to parse the following warning 
> messages from the Java compiler (Java 6)
> [INFO] Compilation failure
> could not parse error message: 
> /Users/tmeighen/compiler-warning/entity/target/classes/test/MyEntity.class: 
> warning: Cannot find annotation method 'name()' in type 
> 'javax.persistence.Table': class file for javax.persistence.Table not found
> /Users/tmeighen/compiler-warning/logic/src/main/java/test/Logic.java:7: 
> warning: [deprecation] deprecateMe() in test.MyEntity has been deprecated
>         entity.deprecateMe();
>               ^
> could not parse error message: 
> /Users/tmeighen/compiler-warning/entity/target/classes/test/MyEntity.class: 
> warning: Cannot find annotation method 'name()' in type 
> 'javax.persistence.Table': class file for javax.persistence.Table not found
> /Users/tmeighen/compiler-warning/logic/src/main/java/test/Logic.java:7: 
> warning: [deprecation] deprecateMe() in test.MyEntity has been deprecated
>         entity.deprecateMe();
>               ^

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to