You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Aaron Bell <aa...@clockworklogic.co.uk> on 2005/04/13 14:23:50 UTC
best practice with Eclipse?
I am just getting started with Maven. Can anyone advise a practical way
to use Eclipse on a Maven project with multiple subprojects?
For example, are people using a separate Eclipse Java project for each
subproject, or a single Java project for the whole hierarchy?
The former is implied as the 'eclipse:eclipse' goal (run on the top
level) generates .classpath and .project files for each subproject.
If I use a single Eclipse project for the whole lot, I then have the
problems of:
a. merging the .classpath dependencies from each subproject into the
top level .classpath
b. managing *many* source locations in the Build Path
Thanks
- Aaron
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: best practice with Eclipse?
Posted by Thomas Recloux <th...@gmail.com>.
> I am just getting started with Maven. Can anyone advise a practical way
> to use Eclipse on a Maven project with multiple subprojects?
I'am using an eclipse project for each maven project. I'm using the
$ maven -Dgoal=eclipse multiproject:goal for generating all project's
eclipse files.
I'm also using the "eclipse.dependency" dependency for a faster development.
--
Thomas Recloux
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: best practice with Eclipse?
Posted by Jamie Bisotti <jb...@gmail.com>.
I'm currently doing the latter...though I'd love to hear of a better way.
Jamie
On 4/13/05, Aaron Bell <aa...@clockworklogic.co.uk> wrote:
> I am just getting started with Maven. Can anyone advise a practical way
> to use Eclipse on a Maven project with multiple subprojects?
>
> For example, are people using a separate Eclipse Java project for each
> subproject, or a single Java project for the whole hierarchy?
>
> The former is implied as the 'eclipse:eclipse' goal (run on the top
> level) generates .classpath and .project files for each subproject.
>
> If I use a single Eclipse project for the whole lot, I then have the
> problems of:
> a. merging the .classpath dependencies from each subproject into the
> top level .classpath
> b. managing *many* source locations in the Build Path
>
> Thanks
> - Aaron
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Jamie Bisotti
Software Engineer
Lexmark International, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org