2010/1/28 maven apache <apachemav...@gmail.com> > > > 2010/1/27 <subir.sasiku...@wipro.com> > > Version of Java? >> Since there were other threads earlier which mentioned that such errors >> are not shown with JDK 1.6.0_17 and higher. >> > I am using 1.6.0_16 > > I have change my jdk version to 1.6.0_18,and when I use mvn clean install , thing do not change, I still got the warnning: "xxxx is Sun proprietary API and may be removed in a future release".
> Subir >> >> -----Original Message----- >> From: maven apache [mailto:apachemav...@gmail.com] >> Sent: Wednesday, January 27, 2010 7:41 PM >> To: maven user >> Subject: how to prevent the warnning:Sun proprietary API... >> >> Hi: >> When I use the command mvn compile,or mvn install the first time, I will >> get the warring: >> "xxxx is Sun proprietary API and may be removed in a future release". >> Then I use the same command again, it will build successfully,that's to >> say, although it show the warnning, the classes have been compiled ( I >> am sure since I see the targect directory). >> >> And I have try to add a "<compilerArgument>-nowarn</compilerArgument>" >> parameter in for the maven-compiler-plugin, things just the same as >> before. >> >> I wonder why? >> >> Please do not print this email unless it is absolutely necessary. >> >> The information contained in this electronic message and any attachments >> to this message are intended for the exclusive use of the addressee(s) and >> may contain proprietary, confidential or privileged information. If you are >> not the intended recipient, you should not disseminate, distribute or copy >> this e-mail. Please notify the sender immediately and destroy all copies of >> this message and any attachments. >> >> WARNING: Computer viruses can be transmitted via email. The recipient >> should check this email and any attachments for the presence of viruses. The >> company accepts no liability for any damage caused by any virus transmitted >> by this email. >> >> www.wipro.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> >
