Thanks for the suggestion.

It does not work. No error reported. The build path still does not show
any project dependency. 

-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: August 21, 2008 3:40 PM
To: Maven Users List
Subject: Re: Maven and Eclipse Project

You need to configure the eclipse plugin as Arnaud said:
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html

It will be something like:
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <configuration>
          <workspace>...</workspace>
        </configuration>
      </plugin>

Wayne

On 8/21/08, Lam Hayward <[EMAIL PROTECTED]> wrote:
> I tried setting the following properties in pom.xml or command line:
>
> workspace
> eclipse.workspace
> maven.eclipse.workspace
>
> The command does not report any error. However, the eclipse buildpath 
> of project B or project C still do not reference project A.
>
> Any idea?
>
> -----Original Message-----
> From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> Sent: August 21, 2008 1:55 PM
> To: Maven Users List
> Subject: Re: Maven and Eclipse Project
>
> using the workspace property the eclipse plugin can find references to

> others projects and link them.
> Otherwise without having an inheritence but a reactor pom with 3 
> modules will also link them together.
>
> On Thu, Aug 21, 2008 at 4:51 PM, 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?
> >
> > HL
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> ..........................................................
> 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
> ...........................................................
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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


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

Reply via email to