Ok I found the problem! Actually there was a compile time error. But I was not getting any error messages for this. Anyway I fixed the problem and now the build succeeds! Thank you anyway very much. I was just misinterpreting the maven output..
-------- Original-Nachricht -------- > Datum: Mon, 24 Nov 2008 13:31:58 +0100 > Von: "jack Schmidt" <[EMAIL PROTECTED]> > An: "Maven Users List" <[email protected]> > Betreff: Re: maven-compiler-plugin fails because of Using Sun proprietary API > > > > > 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. > > > > > > > You're saying this happens when you invoke the build at the command-line > > (rather than, for instance, errors in Eclipse)? > > - Geoffrey > I am using netbeans but I also happens when I do a mvn compile on the > comand line > > > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Building client > [INFO] task-segment: [compile] > [INFO] > ------------------------------------------------------------------------ > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 1049 source files to > C:\Projects\modules\client\target\classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > C:\Projects\modules\client\src\main\java\client\gui\KMGroupBorder.java:[11,16] > sun.print.ProxyPrintGraphics is Sun proprietary API and may be removed in > a future release > > C:\Projects\modules\client\src\main\java\client\util\CMFormater.java:[21,108] > sun.security.action.GetPropertyAction is Sun proprietary API and may be > removed in a future release > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 10 seconds > [INFO] Finished at: Mon Nov 24 13:28:09 CET 2008 > [INFO] Final Memory: 9M/176M > [INFO] > ------------------------------------------------------------------------ > > Any Ideas? > > -- > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: > http://www.gmx.net/de/go/multimessenger > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
