No matter whether I set the value, the problem is still there. The deprecated API I used is sun.misc.Perf.
Nick Stolwijk-4 wrote: > > Those warnings come from the compiler plugin [1] and are off by > default. Have you changed the settings for the compiler plugin? > Especially the options: > > showDeprecation boolean Sets whether to show source locations > where deprecated APIs are used. Default value is false. > showWarnings boolean Set to true to show compilation warnings. > Default value is false. > > Hth, > > [1] > http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html > > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > On Thu, Feb 26, 2009 at 2:54 PM, youhaodeyi <[email protected]> wrote: >> >> My source code using some deprecated API. When use mvn to build these >> code, >> maven will have many warning or error for them. How can I disable maven >> to >> check deprecated API? >> >> thanks. >> -- >> View this message in context: >> http://www.nabble.com/Maven-build-source-code-which-uses-deprecated-API-tp22224572p22224572.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/Maven-build-source-code-which-uses-deprecated-API-tp22224572p22225158.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
