Maven2Eclipse and WTP [message #168779] |
Mon, 08 May 2006 09:29 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04753 seconds