[
https://issues.apache.org/jira/browse/TAVERNA-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15284314#comment-15284314
]
Stian Soiland-Reyes commented on TAVERNA-970:
---------------------------------------------
Actually all of these dependencies were needed to make jena-osgi work as a
bundle with Felix:
{code:xml}
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-osgi</artifactId>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.xerces</artifactId>
<version>${servicemix.xerces.version}</version>
</dependency>
<!-- JENA-1178 workaround: Upgrade jsonlld-java -->
<dependency>
<groupId>com.github.jsonld-java</groupId>
<artifactId>jsonld-java</artifactId>
<version>${jsonldjava.version}</version>
</dependency>
<!-- Needed by Jena -->
<dependency>
<groupId>com.github.andrewoma.dexx</groupId>
<artifactId>collection</artifactId>
<version>${dexx.collection.version}</version>
</dependency>
{code}
Rather than repeating those in every taverna-language sub-module that use Jena,
I have put it in the top-level taverna-language pom.xml as a common
{{<dependencies>}} section. (As effectively they will all have Jena on the
classpath).
> Upgrade to Jena 3.1.0
> ---------------------
>
> Key: TAVERNA-970
> URL: https://issues.apache.org/jira/browse/TAVERNA-970
> Project: Apache Taverna
> Issue Type: Task
> Components: Taverna Commandline, Taverna Language, Taverna Maven
> Parent
> Reporter: Stian Soiland-Reyes
> Assignee: Stian Soiland-Reyes
> Priority: Minor
> Fix For: commandline 3.1.0, parent 3
>
>
> Jena 3.1.0 has been released. This fixes the OSGi problem of JENA-1139 &
> TAVERNA-892 which previously meant we couldn't use 3.0.1.
> .. but be aware of JENA-1176 and JENA-1178 which means we need a newer
> jsonld-java and httpclient (which we use anyway in the command line product).
> We also need to now add explicitly a Xerces OSGi bundle, e.g.:
> {code:xml}
> <dependency>
> <groupId>org.apache.servicemix.bundles</groupId>
> <artifactId>org.apache.servicemix.bundles.xerces</artifactId>
> <version>2.11.0_1</version
> </dependency>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)