Hi,

 

I'm trying out maven 2 and the eclipse plugin in combination with Eclipse
WTP.

 

Everything works fine, although I do not manage to generate the 'dependent
modules' section in the .wtpmodules file, like below:

 

            <dependent-module deploy-path="/WEB-INF/lib"

 
handle="module:/classpath/var/M2_REPO/struts/struts/1.2.4/struts-1.2.4.jar">

                  <dependency-type>uses</dependency-type>

            </dependent-module>

 

The 'wb-resource' sections are generated successfully like below:

 

<wb-resource deploy-path="/WEB-INF/classes"

                  source-path="src/main/java" />

 

The struts jar-file is appended to the .classpath file, so I presume that I
have configured my dependencies correctly.

 

I checked the source code of the eclipse plugin, but I can't figure out what
I'm doing wrong.

 

Can anyone offer some help?

Thanks,

Franck

Reply via email to