Hi Igor,

the problem is, that eclipse is complaining that it cannot resolve the classes. 
To the best of my knowledge, the j2ee module dependency is just to package the 
war and ear files and set the classpath entries in the manifest correctly, for 
correct compilation it still has to be on the build path. At least this is how 
it worked with RAD up to version 6.1 (haven't used the 7 yet)

Andreas

> -----Ursprüngliche Nachricht-----
> Von: Igor Fedorenko [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 26. September 2008 01:43
> An: user@m2eclipse.codehaus.org
> Betreff: Re: [m2eclipse-user] dependencies are not added to build path for
> web projects
> 
> Andreas,
> 
> This is how it is supposed to work, i.e. utility jar projects should not
> appear in Maven Dependencies classpath container, only in J2EE Module
> dependencies. What is the problem exactly?
> 
> Andreas Ebbert-Karroum wrote:
> > Hi,
> >
> >
> >
> > is it a known bug (or is it even a bug), that if I have a multi-module
> > project with a pom, some utility jars and a web project (so pretty
> > standard), the utility projects are listed in the Java EE module
> > dependencies, but not in the Maven Libraries in the Java Build Path. It
> > works sometimes for some projects, but not everytime, but I could not
> > figure out the pattern yet to fix it. Any ideas?
> >
> >
> >
> > Andreas [EMAIL PROTECTED] <mailto:ebbert-
> [EMAIL PROTECTED]>
> >
> > *  mobile:* +49 (175) 2664109; *office:* +49 (212) 2494 331; *fax:* +49
> > (212) 2494 334
> >
> >   Grünewalder Str. 29-31; 42657 Solingen
> >
> >
> >
> > Geschäftsführer: Peter Gierse, Mirko Novakovic und Rainer Vehns - Sitz
> > der Gesellschaft: Solingen
> > Registergericht: Amtsgericht Wuppertal, HRB 19214
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to