You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by mrab <mi...@nscorp.com> on 2011/06/16 22:13:04 UTC

maven 1.0 java:compile

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?

Thanks so much!


-- 
View this message in context: http://old.nabble.com/maven-1.0-java%3Acompile-tp31863838p31863838.html
Sent from the Turbine - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org


Re: maven 1.0 java:compile

Posted by mrab <mi...@nscorp.com>.


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.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org


Re: maven 1.0 java:compile

Posted by Thomas Vandahl <tv...@apache.org>.
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org