Elliot Metsger wrote:
I use m2eclipse version 0.0.12.20071107-2300. I believe the update site is http://m2eclipse.codehaus.org/update/ Works pretty good.
Thanks for the info Elliot.

I've tried m2eclipse quite some time ago and at that time found it unreliable 
and buggy.
Maybe things have improved now so I'll try it out again one of of these days.

Regards,

Ate


If you install it correctly you should see an "m2" option when right clicking on a project in the navigator.

So install the m2 eclipse plugin. Get a fresh checkout of Pluto. Don't configure the source folders or the library paths.

Then - this is ugly (maven does get confused about a nested resource in the pluto-container POM) - edit pluto-container/pom.xml:

    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
      <resource>
        <directory>src/main/resources/META-INF</directory>
        <targetPath>/META-INF</targetPath>
      </resource>
    </resources>

You have to comment out the second <resource>.  Save the change.

In the Navigator right click on the root of the project, you should see an m2 menu. Select "Enable dependency management"

Then right click again -> m2 menu -> enabled nested modules

Eclipse shoudl chug for a while

Then right click again -> m2 menu -> update source

Then switch to Package Explorer.

You should see something like the attached screen shot. All the source folders configured, with a "Maven Dependency" thing with all the deps from maven.

HTH,
E



[EMAIL PROTECTED] wrote:

+1 to svn:ignore

I'd also like to see .classpath in the Pluto root and would not object to
analagous files for IDEA and Netbeans IDEs. I cannot get the maven 2
eclipse plugin to create a single .classpath in my Eclipse project's root
dir. I have to run 'mvn eclipse:eclipse' in the root dir, and then in all
the module subdirs and then manually combine the resulting .classpath
entries into the root one. That is a pain.
/Craig




Ate Douma <[EMAIL PROTECTED]> To 01/24/2008 11:53 [email protected] AM cc Subject Please respond to svn:ignore Eclipse metadata files [EMAIL PROTECTED] .apache.org



As I'm primarily use Eclipse for Java development, I'd like to add
svn:ignore properties to Pluto trunk for all the Eclipse metadata generated
by both Eclipse
(plugins) and the maven eclipse plugin.

If nobody objects, I intend to do so later this evening or sometime
tomorrow.

Regards,

Ate

------------------------------------------------------------------------


------------------------------------------------------------------------


Reply via email to