You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arnaud HERITIER <ah...@gmail.com> on 2008/02/14 22:45:58 UTC

Re: Eclipse project dependency no set up on WTP project

Do you launch the eclipse:eclipse goal from your master project ? It is
necessary to have in the reactor all your projects to create direct links
between them.

Arnaud

On Wed, Feb 13, 2008 at 12:04 PM, rmatthews <rm...@nakedobjects.org>
wrote:

>
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................