You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jack Schmidt <am...@gmx.net> on 2008/11/24 10:54:40 UTC

maven-compiler-plugin 2.0.2 interprets warnings as Errors

Hello,
I would like to compile java sources which make use of some Sun proprietary API classes.
When compiling against java 1.6  I get warnings but the sources compile.

When using maven-compiler-plugin 2.0.2 these warnings are interpreted as
Errors and I get an BUILD FAILURE.

Are there any outs?
Many Greetings John
here' the error
[ERROR]Mojo: 
[ERROR]    org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
[ERROR]FAILED for project: 
[ERROR]    org.test:client:jar:1.0
[ERROR]Reason:
[ERROR]org/test/KMGroupBorder.java.java:[11,16] sun.print.ProxyPrintGraphics is Sun proprietary API and may be removed in a future release



-- 
Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org