http://jira.codehaus.org/browse/MCOMPILER-59
have you tried m-c-p version 2.1? 2010/1/18 Dan Tran <[email protected]>: > I am not sure what system scope has any thing to do with my error, > since i am setting the compiler to use source and target 1.6 and > enforer plugin check for 1.6 JDK, so the compiler will use the right > rt.jar. any way I try the suggestion pointed by Brett, but still see > the same problem. > > I also suspect latest Sun javac now serious about making user not to > use that interface any more. But it is not the case, where a simple > direct javac invocation show it as a warning, not an error > > -Dan > > On Sun, Jan 17, 2010 at 9:06 PM, Brett Randall <[email protected]> wrote: >> Try this page, >> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html >> look for rt.jar under System Dependencies. >> >> Brett >> >> >> On 1/18/10, Dan Tran <[email protected]> wrote: >>> I am using Sun JDK on windows version 1.6.0_17 >>> >>> -Dan >>> >>> On Sun, Jan 17, 2010 at 3:52 PM, Erlend Hamnaberg <[email protected]> wrote: >>>> Are you using Openjdk? then this fails. >>>> >>>> Use the JDK shipped by sun, and you should be ok. >>>> >>>> -- Erlend >>>> >>>> On Mon, Jan 18, 2010 at 12:28 AM, Dan Tran <[email protected]> wrote: >>>> >>>>> Hello, >>>>> >>>>> I just inherit an project that I am trying to convert to maven and hit >>>>> a compilation error ( using java 1.6, target/source = 1.6 ) >>>>> >>>>> ts\admin\db_devices\DBCollectorHousekeepingServlet.java:[28,15] >>>>> sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a >>>>> future release >>>>> >>>>> Eclispe IDE does not fail this call. Why Maven? >>>>> >>>>> I found a link to this failure, with no resolution >>>>> http://www.mail-archive.com/[email protected]/msg103349.html >>>>> >>>>> Is there a way to make it a warning? >>>>> >>>>> Thanks >>>>> >>>>> >>>>> -Dan >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> -- >> Sent from my mobile device >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
