M2Eclipse and EAR projects on Weblogic

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2009-06-08T22:22:32Z Indexed on 2010/06/06 20:02 UTC
Read the original article Hit count: 459

Filed under:
|
|
|

How can I import a maven EAR project into Eclipse 3.4, and be able to use the IDE (WTP) to deploy the ear successfully to Weblogic (9.2)?

The main issue is that the dependent jars are not being included in the ear (under APP-INF/lib) when it gets deployed through the IDE. When I build from command line, the ear is exactly how I want it.

I am using the APP-INF/lib configuration for the ear plugin, and have included the jarModule sections for all the required jars.

When editing the eclipse EAR project's Java EE components, all the jars are listed, but not in the APP-INF/lib. Only when I open a dependent jar project do those specific jars get set under that subfolder. All the 3rd party jars are showing they will end up in the wrong place.

If you need more info, just let me know. Thanks!

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about maven-2