I am using Maven (2.0.7) to set up Eclipse with a multi-module project.  Two
of the seven modules are wars and using the following settings I am able to
import into them both into Eclipse as WTP projects:

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-eclipse-plugin</artifactId>
                                <configuration>
                                        <wtpContextName>cart</wtpContextName>
                                        <wtpversion>1.5</wtpversion>
                                </configuration>
                        </plugin>

When I come to run them (Run As/On a Server) I have classpath problems, i.e.
class not found.  If I change the J2EE Module Dependencies (in the
properties for the project) by ticking the the projects that I have just
imported then all will be fine.

The question then is, how do I get the Eclipse plugin to select the peer
projects in the same way that it is selecting all the dependent jars.

Many thanks
Robert Matthews
-- 
View this message in context: 
http://www.nabble.com/Eclipse-project-dependency-no-set-up--on-WTP-project-tp15454841s177p15454841.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to