Thanks Marshall, for notifying this, I missed that.
The possible solutions are: build Clerezza with Java 5 (no code change) or
use directly Jena which should be Java 5 compatible from 0.8.2 onwards (need
some basic code improvement).
I'm going to test the first option now and let you know soon.
Cheers,
Tommaso

2011/1/21 Marshall Schor <[email protected]>

> 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