You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Stian Soiland-Reyes (JIRA)" <ji...@apache.org> on 2015/10/01 00:53:04 UTC

[jira] [Commented] (JENA-1038) Update the jsonld-java dependency

    [ https://issues.apache.org/jira/browse/JENA-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14939011#comment-14939011 ] 

Stian Soiland-Reyes commented on JENA-1038:
-------------------------------------------

Looks easy this time.

Suggested changes on https://github.com/stain/jena/tree/JENA-1038
(I'll raise pull request after confirming build)

Update to jena-parent/pom.xml

{code}
    <ver.jsonldjava>0.7.0</ver.jsonldjava>
    <!-- Used by jena-osgi and must be in-step with jsonldjava -->
    <ver.jackson>2.3.3</ver.jackson>
{code}

Corresponding to 

http://repo1.maven.org/maven2/com/github/jsonld-java/jsonld-java-parent/0.7.0/jsonld-java-parent-0.7.0.pom

so jackson version stays the same, and their httpclient dependency is still 4.2.5 - while I think  we can safely continue to use 4.2.6.


Related perhaps - we have also:

{code}
    <!-- These are connected because solr4j depends on httpclient as well -->
    <ver.httpclient>4.2.6</ver.httpclient>
    <ver.httpcore>4.2.6</ver.httpcore>
    <!-- Normally, these are the same as the above
         In the case of 4.2.6, there isn't a httpcore-osgi.
    -->
    <ver.httpcore-osgi>4.2.5</ver.httpcore-osgi>
    <ver.httpclient-osgi>4.2.6</ver.httpclient-osgi>
{code}

It would be good to remove duplication here, as the httpcore and httpclient versions are basically never in sync, osgi or non-osgi.

I would remove the -osgi properties as they are just duplicating here. HTTP Components always release -osgi modules at the same time as the regular modules.


Compare:

http://central.maven.org/maven2/org/apache/httpcomponents/httpcore/  (4.2.5, latest 4.4.3)
http://central.maven.org/maven2/org/apache/httpcomponents/httpcore-osgi/ (4.2.5, latest 4.4.3)

http://central.maven.org/maven2/org/apache/httpcomponents/httpclient/ (4.2.6, latest 4.5.1)
http://central.maven.org/maven2/org/apache/httpcomponents/httpclient-osgi/ (4.2.6, latest 4.5.1)

httpclient 4.5.1 depends on httpcore 4.4.3.
httpclient 4.2.6 depends on httpcore 4.2.5

http://central.maven.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.2.6/httpcomponents-client-4.2.6.pom



Note that the (unused) ver.httpcore shouldn't stay at 4.2.6 as it does not exist either: http://central.maven.org/maven2/org/apache/httpcomponents/httpcore/ and should go down to 4.2.5.


> Update the jsonld-java dependency
> ---------------------------------
>
>                 Key: JENA-1038
>                 URL: https://issues.apache.org/jira/browse/JENA-1038
>             Project: Apache Jena
>          Issue Type: Task
>          Components: Jena
>    Affects Versions: Jena 3.0.0
>            Reporter: Andy Seaborne
>
> Version 0.7.0 (and 0.6.0) has been released since Jena 3.0.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)