I tried using Eclipse 3.7, with the m2e plugin from the main Eclipse update site.
This is a different plugin than m2eclipse at 0.12.xxx. It does quite a few things differently, it seems, and we'll need to investigate. It installed some other plugins, like one call m2e connector for build-helper-maven-plugin, and "Tycho Project Configurators". I don't know what these do. I then tried a brand-new unzipped Eclipse 3.7, and installed into it m2eclipse from http://m2eclipse.sonatype.org/installing-m2eclipse.html (not m2e) . With that version, I had the same behavior as 3.6.2 - after importing, it compiled everything except uimaj-core, and it compiled that after I did (right-click on uimaj-core) -Maven -Update project configuration. So - I think until we figure this out, we have to say that the m2e plugin doesn't do the job - continue to use m2eclipse from that url above, in 3.7. -Marshall On 8/5/2011 9:06 PM, Richard Eckart de Castilho wrote: > I am still trying to get an UIMA workspace set up in Eclipse with m2eclipse > and still fail - mostly. I feel a bit odd here about why it's so non-trivial > to get a proper Eclipse workspace for UIMA with m2eclipse. Probably I'm just > plain stubborn because I believe that I should not have to run external tools > (like mvn eclipse:eclipse or even clean install) when developing software in > an IDE... I mean it should be an "integrated development environment", right? > > Anyway... > > One problem seems to be the uimaj-ep-runtime module. It uses a > "unpack-depencendies" goal which throws an error in Eclipse 3.6.2 and which > is completely unsupported in Eclipse 3.7 (m2e). > > I finally managed to "run" the uima-ep-cas-editor" module from Eclispe (3.7), > but only after I had turned uimaj-core itself into an Eclipse plugin project > by adding the "marker-file-identifying-eclipse-plugin", adding a > "plugin.xml", and adding a minimal maven-bundle-plugin configuration in the > POM. > > I wonder, is there a special reason to unpack and re-package the core UIMA > JARs into a single "UIMA Runtime" plugin? Since OSGi bundles are just like > regular jars plus a bit of meta-data, how about not having uimaj-ep-runtime > and add the OSGi metadata directly to uimaj-core and friends? > > I also did disable the uima-helper-maven-plugin because it produced error > markers all over the place with m2e(lipse) from Eclipse 3.7. > > Also m2e produces a number of Maven-related warnings about managed dependency > versions being overridden in modules and superfluous groupIds and versions. > > Cheers, > > Richard >
