maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wayne Fay" <wayne...@gmail.com>
Subject Re: Maven and Eclipse Project
Date Thu, 21 Aug 2008 19:40:21 GMT
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 <Hayward.Lam@lac-bac.gc.ca> 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:aheritier@gmail.com]
> 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
> <Hayward.Lam@lac-bac.gc.ca>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: 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
> ...........................................................
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message