Hi,

you might have a better chance that get in working with m2eclipse plugin....

Get the development version..

Regards,

Mehmet 




T-Mobile Deutschland GmbH
Aufsichtsrat: Hamid Akhavan (Vorsitzender)
Geschäftsführung: Dr. Georg Pölzl (Sprecher), Thomas Berlemann, Jiri 
Dvorjancansky, Philipp Humm,
Dr. Peter Körner, Dr. Raphael Kübler, Günther Ottendorfer, Dr. Steffen Roehn 
Handelsregister: Amtsgericht Bonn, HRB 59 19
Sitz der Gesellschaft: Bonn
WEEE-Reg.-Nr.: DE60800328



-----Ursprüngliche Nachricht----- 
Von: Janne Rantala [mailto:[email protected]] 
Gesendet: Donnerstag, 22. Januar 2009 21:21
An: [email protected]
Betreff: Problem with WTP,Maven2 and Eclipse

Hi all,

I've just recently started using Maven2 and I there are still lots of things 
that I'm puzzled about. The scenario is that I have M2 project which has 2 
modules (A & B) which both build jar. Then there's a web application (C) which 
depends on other of those jars (A).

So my directory structure looks like this;

Parent
 - module A
 - module B
 - module C (web app)

What I'm trying to do is to run and test web application with WTP. I've ran 
eclipse:eclipse with -Dwtpversion=2.0 on my project, but the problem is, that 
module A jar is not included in Tomcat in web app's WEB-INF/lib directory and 
that causes ClassNotFoundException when application runs. All third party jars 
that web app depends on are located where they should.

In web app's properties module A is listed in Projects -tab in Required 
projects on the build path, but it has this yellow sign saying "Build path 
entry is missing: module A". How can I fix this?

Hope you get the idea what I'm trying to say, like I said, I'm not that 
experienced with Maven yet.

Best regards,

Janne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to