On Fri, 22 Aug 2008 08:28:36 Andrew Close wrote:
> On Thu, Aug 21, 2008 at 9:51 AM, Lam Hayward <[EMAIL PROTECTED]> 
wrote:
> > Hi there,
> >
> > I have an issue with maven classpath generation ("mvn eclipse:eclipse")
> > for eclipse.
> >
> > I have 3 independent projects (say A, B and C) with no common root.
> > Project A is the common project (jar) which project B and C will
> > include.
> >
> > In pom.xml in project B and project C, there is a dependency defined for
> > A. However, in eclipse, I'd like to have project B and project C to
> > include the project A as reference project instead of the jar.
> >
> > Is this possible without using the project hierarchy approach?
>
> maybe you want to look into this:  http://code.google.com/p/mvnlink/
> it sounds like it does what you're looking for.
use the m2eclipse.codehaus.org plugin and then run mvn eclipse:m2eclipse

far better solution... there is one caveat make sure that maven and eclipse 
have different output folders... eclipse generates class are not meant to be 
packaged up...


-- 
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]

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

Reply via email to