Re: maven 1.0 java:compile
mrab <[email protected]> Mon, 20 Jun 2011 10:39:58 -0700 (PDT)
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
Thomas Vandahl-2 wrote: > > On 16.06.11 22:13, mrab wrote: >> >> Sorry if this is an elementary question, but I can't figure this out! >> When I >> compile my turbine-2.3.3 application using maven java:compile I get >> messages >> like, >> >> [javac] Note: HardwareAction.java uses or overrides a deprecated API. >> [javac] Note: Recompile with -Xlint:deprecation for details. >> >> I don't see any 'deprecation' options on maven 1.0. >> The 'Xlint' options are not valid with javac, at least not the version >> I'm >> using. >> I tried using 'javac -deprecation', but get 'does not exist' errors on >> all >> of the packages. >> >> I have spent the last few weeks upgrading from Turbine 2.1 to 2.3.3 and I >> would like to make sure that I have everything current now! >> >> What is the correct way to get the deprecation information with maven? > > You may find the required information in the maven docs, like here > http://maven.apache.org/maven-1.x/plugins/java/ > > Bye, Thomas. > > That pointed me in the right direction. Having never used maven before, I didn't realize that there were properties. I also didn't realize that maven.compile.deprecation was in my project.properties and was set to 'off'! I believe I am now finished with all the changes for the 2.3.3 upgrade! Thanks for all the help! -- View this message in context: http://old.nabble.com/maven-1.0-java%3Acompile-tp31863838p31887694.html Sent from the Turbine - User mailing list archive at Nabble.com.