Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Maven2Eclipse and WTP
Maven2Eclipse and WTP [message #168779] Mon, 08 May 2006 09:29 Go to next message
Eclipse UserFriend
Originally posted by: someone_else.autograf.pl

Hi.

I try to use M2Eclipse and WTP to build web application. M2Eclipse holds
jars in 'Maven 2 Dependencies' library. I want to use this jars as
'Web app Libraries' but I don't want to copy them to /WEB-INF/lib all
the time... Is thre a simple way to use jars from external library as
web application jars?

Thanks in advance!

Regards,
Luk
Re: Maven2Eclipse and WTP [message #168938 is a reply to message #168779] Wed, 10 May 2006 18:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thisisnot.mymail.com

Luk wrote:
> Hi.
>
> I try to use M2Eclipse and WTP to build web application. M2Eclipse holds
> jars in 'Maven 2 Dependencies' library. I want to use this jars as 'Web
> app Libraries' but I don't want to copy them to /WEB-INF/lib all the
> time... Is thre a simple way to use jars from external library as web
> application jars?
>
> Thanks in advance!
>
> Regards,
> Luk

I haven't used together m2 and eclipse on a web project. Could you
please specify if you use the m2 recommended file folders and are you
using mvn eclipse:eclipse to generate the project (and what WTP version
are you specifying/using) or you are using only the eclipse maven plugin?
Srgjan
Re: Maven2Eclipse and WTP [message #169027 is a reply to message #168938] Thu, 11 May 2006 06:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: someone_else.autograf.pl

> I haven't used together m2 and eclipse on a web project. Could you
> please specify if you use the m2 recommended file folders and are you
> using mvn eclipse:eclipse to generate the project (and what WTP version
> are you specifying/using) or you are using only the eclipse maven plugin?

I am using WTP 1.0.1. I create project using Maven: 'mvn
archetype:create ...' and 'mvn eclipse:eclipse -Dwtpversion=1.0'. The
problem is how to include jars from 'Maven 2 Dependencies' library into
'/WEB-INF/lib'...

--
Regards
Re: Maven2Eclipse and WTP [message #169082 is a reply to message #169027] Thu, 11 May 2006 10:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: leah.sinstelecom.net

Luk :
>
>> I haven't used together m2 and eclipse on a web project. Could you
>> please specify if you use the m2 recommended file folders and are you
>> using mvn eclipse:eclipse to generate the project (and what WTP
>> version are you specifying/using) or you are using only the eclipse
>> maven plugin?
>
>
> I am using WTP 1.0.1. I create project using Maven: 'mvn
> archetype:create ...' and 'mvn eclipse:eclipse -Dwtpversion=1.0'. The
> problem is how to include jars from 'Maven 2 Dependencies' library into
> '/WEB-INF/lib'...
>
Use
mvn war:inplace
or appropriate m2eclipse goal launcher.

One issue, after executing war:inplace goal you need refresh your project.

Best regards,
Alexey Cheremisin.
Re: Maven2Eclipse and WTP [message #169090 is a reply to message #169082] Thu, 11 May 2006 11:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thisisnot.mymail.com

Alexey Cheremisin wrote:
> Luk :
>>> I haven't used together m2 and eclipse on a web project. Could you
>>> please specify if you use the m2 recommended file folders and are you
>>> using mvn eclipse:eclipse to generate the project (and what WTP
>>> version are you specifying/using) or you are using only the eclipse
>>> maven plugin?
>>
>> I am using WTP 1.0.1. I create project using Maven: 'mvn
>> archetype:create ...' and 'mvn eclipse:eclipse -Dwtpversion=1.0'. The
>> problem is how to include jars from 'Maven 2 Dependencies' library into
>> '/WEB-INF/lib'...
>>
> Use
> mvn war:inplace
> or appropriate m2eclipse goal launcher.
>
> One issue, after executing war:inplace goal you need refresh your project.
>
> Best regards,
> Alexey Cheremisin.
Nice tip, thanks!
Srgjan Srepfler
Re: Maven2Eclipse and WTP [message #169096 is a reply to message #169082] Thu, 11 May 2006 12:25 Go to previous message
Eclipse UserFriend
Originally posted by: someone_else.autograf.pl

> Use
> mvn war:inplace
> or appropriate m2eclipse goal launcher.
>
> One issue, after executing war:inplace goal you need refresh your project.

Thanks!

--
Regards,
Luk
Previous Topic:How can I update-to 1.0.2 ?
Next Topic:Tutorial on Ajax reusable Java GUI Classes
Goto Forum:
  


Current Time: Fri Apr 19 14:49:54 GMT 2024

Powered by FUDForum. Page generated in 0.01960 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top