UIMA components are spec'd to require Java 5.  However, the RDFCASConsumer
project depends on classes from the clerezza project (here's one:
org/apache/clerezza/rdf/core/MGraph.class) which are compiled with Java 6.

Because of this, when building RDFCASConsumer, I get a compile failure:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.704s
[INFO] Finished at: Fri Jan 21 17:11:31 EST 2011
[INFO] Final Memory: 10M/18M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile)
on project RDFCASConsumer: Compilation failure
[ERROR]
\mavenAlign\sandbox-trunk-data\RDFCASConsumer\src\main\java\org\apache\uima\rdf\RDFCASConsumer.java:[21,-1]
cannot access org.apache.clerezza.rdf.core.MGraph
[ERROR] bad class file: C:\Documents and
Settings\Administrator\.m2\repository\org\apache\clerezza\org.apache.clerezza.rdf.core\0.12-incubating-SNAPSHOT\org.apache.clerezza.rdf.core-0.12-incubating-SNAPSHOT.jar(org/apache/clerezza/rdf/core/MGraph.class)
[ERROR] class file has wrong version 50.0, should be 49.0

How should we fix this?  Does Clezerra really require Java 6? Can we depend on
something else?

-Marshall

Reply via email to