Newbie question: use of deprecated API's

2004-03-11 Thread Jean-François El Fouly
I've been using Maven for months (since b3 or 4 if I can remember), writing 
plugins, POM's for 130 Java projects...
but I still have a newbie question :

Is there any way (option or property somewhere ?) to get some kind of 
report on the use of deprecated API's ?

Thanks to all !



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie question: use of deprecated API's

2004-03-11 Thread matthew.hawthorne
Jean-François El Fouly wrote:
Is there any way (option or property somewhere ?) to get some kind of 
report on the use of deprecated API's ?


You can set the property maven.compile.deprecation to on.

This info is located at:
http://maven.apache.org/reference/plugins/java/properties.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie question: use of deprecated API's

2004-03-11 Thread Jean-François El Fouly
A 07:01 11/03/2004 -0800, vous avez écrit :
Jean-François El Fouly wrote:
Is there any way (option or property somewhere ?) to get some kind of 
report on the use of deprecated API's ?


You can set the property maven.compile.deprecation to on.

This info is located at:
http://maven.apache.org/reference/plugins/java/properties.html
Thanks.
I was more or less aware that this option exists but can someone please 
tell me what the effect will be :

- will the use of deprecated API's be considered a compile-time error when 
this property is set ?
- will some form of report be generated in the site documentation ?
- or what else ?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie question: use of deprecated API's

2004-03-11 Thread Tim Chen
There are some reports that can do it but the fastest way to see 
deprecations is to just set:
maven.compile.deprecation=on
in your project.properties
-Tim

Jean-François El Fouly wrote:

I've been using Maven for months (since b3 or 4 if I can remember), 
writing plugins, POM's for 130 Java projects...
but I still have a newbie question :

Is there any way (option or property somewhere ?) to get some kind of 
report on the use of deprecated API's ?

Thanks to all !



-
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]