Hi Jukka,
On Sun, Sep 27, 2009 at 10:17 PM, Ken Krugler
<kkrugler_li...@transpac.com> wrote:
I just sync'd to trunk, ran mvn eclipse:clean eclipse:eclipse, and
refreshed
my three Tika projects.
tika-app and tika-core were fine, but tika-parsers had 6 errors.
Mostly
things like:
XMLConstants.NULL_NS_URI cannot be resolved
It looks like the geronimo-stax-api_1.0_spec-1.0.jar contains some
of these
classes, and is slightly out of date.
So I had to edit the Eclipse Java Build Path/Order and Export list
to move
the JRE above the geronimo jar.
No idea if this is something that's controllable from Maven.
Hmm, no idea about that either. I'm using the m2ecplise plugin [1] and
I've never seen such issues.
Since it's a library ordering issue, and there's no explicit
specification for ordering in the pom.xml, I don't think it's an issue
of the default Maven Eclipse plugin.
Though perhaps m2eclipse always puts the JRE first in the resulting
list - what's the relative position of the JRE vs. Geronimo in your
project's properties?
You may want to try upgrading the geronimo-stax_api dependency version
to 1.0.1. though I'm not sure if that helps.
It does - thanks for pointing out the update. Though since it was
released in 2007-12-23, it makes me wonder what other dependencies are
way out of date.
I filed https://issues.apache.org/jira/browse/TIKA-299 just to track
this.
-- Ken