You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Denis McCarthy <dm...@annadaletech.com> on 2006/08/02 10:37:48 UTC

Eclipse tomcat maven upgrade

Hi,
I'm looking at moving an ant based tomcat project to maven. I'm using 
eclipse as the IDE. Currently I use the eclipse tomcat plugin to get the 
project running in tomcat (I have a web/ dir in the project that holds 
WEB-INF/ and all jsp's etc). I'd like to know how to handle this common 
scenario using maven.

As maven keeps jars in its own repository, how should I deploy the jars 
required for the project to web/WEB-INF/lib? What's the recommended way 
to manage such a project in maven? Should I use maven to manage the 
tomcat integration entirely, and forget about the eclipse tomcat plugin? 
(I've just moved to eclipse 3.2, so I'd have to reinstall the tomcat 
plugin if I were to use it anyway)
Thanks
Denis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Re: Eclipse tomcat maven upgrade

Posted by Stefan Magnus Landrø <st...@gjensidige.no>.
I've used this approach myself. It works perfectly.

Denis McCarthy <dm...@annadaletech.com> skrev 02.08.2006 15:10:39:

> Stefan - I was actually in the process of investigating the approach 
> you've recommended. Thanks for confirming this is sensible.
> Denis
> 
> Stefan Magnus Landrø wrote:
> > Hi there,
> > 
> > I recommend using eclipse with wtp (seb tools platform). Setup tomcat 
as a 
> > server in eclipse, and add the maven project to the server 
configuration.
> > The libs will be deployed automaticallly.
> > 
> > Remember adding wtp support to your pom (config setting in the 
> > maven-eclipse-plugin) - see earlier post on this matter from today.
> > 
> > You don't need a particular tomcat plugin.
> > 
> > HTH
> > 
> > Denis McCarthy <dm...@annadaletech.com> skrev 02.08.2006 10:37:48:
> > 
> >> Hi,
> >> I'm looking at moving an ant based tomcat project to maven. I'm using 

> >> eclipse as the IDE. Currently I use the eclipse tomcat plugin to get 
the 
> > 
> >> project running in tomcat (I have a web/ dir in the project that 
holds 
> >> WEB-INF/ and all jsp's etc). I'd like to know how to handle this 
common 
> >> scenario using maven.
> >>
> >> As maven keeps jars in its own repository, how should I deploy the 
jars 
> >> required for the project to web/WEB-INF/lib? What's the recommended 
way 
> >> to manage such a project in maven? Should I use maven to manage the 
> >> tomcat integration entirely, and forget about the eclipse tomcat 
plugin? 
> > 
> >> (I've just moved to eclipse 3.2, so I'd have to reinstall the tomcat 
> >> plugin if I were to use it anyway)
> >> Thanks
> >> Denis
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

Re: Eclipse tomcat maven upgrade

Posted by Denis McCarthy <dm...@annadaletech.com>.
Stefan - I was actually in the process of investigating the approach 
you've recommended. Thanks for confirming this is sensible.
Denis

Stefan Magnus Landrø wrote:
> Hi there,
> 
> I recommend using eclipse with wtp (seb tools platform). Setup tomcat as a 
> server in eclipse, and add the maven project to the server configuration.
> The libs will be deployed automaticallly.
> 
> Remember adding wtp support to your pom (config setting in the 
> maven-eclipse-plugin) - see earlier post on this matter from today.
> 
> You don't need a particular tomcat plugin.
> 
> HTH
> 
> Denis McCarthy <dm...@annadaletech.com> skrev 02.08.2006 10:37:48:
> 
>> Hi,
>> I'm looking at moving an ant based tomcat project to maven. I'm using 
>> eclipse as the IDE. Currently I use the eclipse tomcat plugin to get the 
> 
>> project running in tomcat (I have a web/ dir in the project that holds 
>> WEB-INF/ and all jsp's etc). I'd like to know how to handle this common 
>> scenario using maven.
>>
>> As maven keeps jars in its own repository, how should I deploy the jars 
>> required for the project to web/WEB-INF/lib? What's the recommended way 
>> to manage such a project in maven? Should I use maven to manage the 
>> tomcat integration entirely, and forget about the eclipse tomcat plugin? 
> 
>> (I've just moved to eclipse 3.2, so I'd have to reinstall the tomcat 
>> plugin if I were to use it anyway)
>> Thanks
>> Denis
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Eclipse tomcat maven upgrade

Posted by Stefan Magnus Landrø <st...@gjensidige.no>.
Hi there,

I recommend using eclipse with wtp (seb tools platform). Setup tomcat as a 
server in eclipse, and add the maven project to the server configuration.
The libs will be deployed automaticallly.

Remember adding wtp support to your pom (config setting in the 
maven-eclipse-plugin) - see earlier post on this matter from today.

You don't need a particular tomcat plugin.

HTH

Denis McCarthy <dm...@annadaletech.com> skrev 02.08.2006 10:37:48:

> Hi,
> I'm looking at moving an ant based tomcat project to maven. I'm using 
> eclipse as the IDE. Currently I use the eclipse tomcat plugin to get the 

> project running in tomcat (I have a web/ dir in the project that holds 
> WEB-INF/ and all jsp's etc). I'd like to know how to handle this common 
> scenario using maven.
> 
> As maven keeps jars in its own repository, how should I deploy the jars 
> required for the project to web/WEB-INF/lib? What's the recommended way 
> to manage such a project in maven? Should I use maven to manage the 
> tomcat integration entirely, and forget about the eclipse tomcat plugin? 

> (I've just moved to eclipse 3.2, so I'd have to reinstall the tomcat 
> plugin if I were to use it anyway)
> Thanks
> Denis
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>