Workaround for getting maven to work with wtp [message #3588] |
Mon, 03 December 2007 06:07 |
Eclipse User |
|
|
|
Originally posted by: yeechut.gmail.com
As I see - the thing that is missing with deploying a maven project with
wtp is that the WEB-INF/lib is empty - i.e. wtp doesn't know how to
extract maven's dependencies.
I tested with the following workaround - and it seems to work:
- get maven to generate the war file.
- extract the WEB-INF/lib folder from the war file and copy to
src/main/webapp/WEB-INF/lib.
- repeat the above if proejct dependencies changes (which is not too
often).
I am new to maven. Can someone comment whether this approach works?
Many thanks
Yee
|
|
|
|
Re: Workaround for getting maven to work with wtp [message #3651 is a reply to message #3620] |
Tue, 04 December 2007 04:58 |
Eclipse User |
|
|
|
Originally posted by: yeechut.gmail.com
Thanks. That's a good enough workaround for now.
Keep up with the good work for Q4E. I find it very remarkable that there
is no proper integration of mavan and Eclipse yet. I wanted to get started
on maven very much - but took me one whole week of trying all sorts of
things to get to this point. I almost gave up on Eclipse.
Best regards,
Yee
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02545 seconds