Re: Managing Different Java Versions

2011-10-09 Thread Eric Kolotyluk
Thanks for the info Brett. The rest of my response is not directed at you, I just need to vent after trying to understand animal-sniffer. The documentation for the animal-sniffer-maven-plugin is terrible - in particular the examples are abysmal. How are people supposed to learn how to use it

[Tomcat Plugin] WebAppSourceDirectory Configuration?

2011-10-09 Thread Ole Ersoy
Hi, Is it possible to configure the WebAppSourceDirectory in the Tomcat Plugin? I'm looking at the Jetty plugin documentation ( http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin ), and it seems it has a webAppSourceDirectory that is set to ${basedir}/src/main/webapp, which is the

Re: [Tomcat Plugin] WebAppSourceDirectory Configuration?

2011-10-09 Thread Olivier Lamy
Check warSourceDirectory parameter. http://mojo.codehaus.org/tomcat-maven-plugin/run-mojo.html#warSourceDirectory 2011/10/9 Ole Ersoy ole.er...@gmail.com: Hi, Is it possible to configure the WebAppSourceDirectory in the Tomcat Plugin?  I'm looking at the Jetty plugin documentation (

Re: [Tomcat Plugin] WebAppSourceDirectory Configuration?

2011-10-09 Thread Ole Ersoy
Cool - Thanks! - Ole On 10/09/2011 12:39 PM, Olivier Lamy wrote: Check warSourceDirectory parameter. http://mojo.codehaus.org/tomcat-maven-plugin/run-mojo.html#warSourceDirectory 2011/10/9 Ole Ersoyole.er...@gmail.com: Hi, Is it possible to configure the WebAppSourceDirectory in the Tomcat

Re: [Tomcat Plugin] WebAppSourceDirectory Configuration?

2011-10-09 Thread Ole Ersoy
Hi, I tried the following: plugin groupIdorg.codehaus.mojo/groupId artifactIdtomcat-maven-plugin/artifactId configuration warSourceDirectory${basedir}/src/main/webapp/warSourceDirectory /configuration /plugin However when I run

Re: Managing Different Java Versions

2011-10-09 Thread Stephen Connolly
On 9 October 2011 17:08, Eric Kolotyluk eric.koloty...@gmail.com wrote: Thanks for the info Brett. The rest of my response is not directed at you, I just need to vent after trying to understand animal-sniffer. The documentation for the animal-sniffer-maven-plugin is terrible - in particular

Re: Managing Different Java Versions

2011-10-09 Thread Benson Margulies
If you have to support 1.5, the easiest thing to do is eschew the use of 1.6 features. Just set the compiler plugin options for source and target of 1.5. After you do that, you might still want the sniffer, since this does not stop you from accidentally coding calls to methods introduced in 1.6.

Re: Managing Different Java Versions

2011-10-09 Thread Stephen Connolly
in fairness i think i wrote most of the docs. Kohsuke's original docs were less than minimal. most of the docs were written while on public transport on a shitty little netbook. i don't currently have the time to prettify the docs further, and when i have time i want to sort out the

Re: Managing Different Java Versions

2011-10-09 Thread Benson Margulies
On Sun, Oct 9, 2011 at 7:35 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: in fairness i think i wrote most of the docs. Kohsuke's original docs were less than minimal. most of the docs were written while on public transport on a shitty little netbook. Well, little did I know.