[stargate] review Jersey and JSON dependencies
----------------------------------------------

                 Key: HBASE-2436
                 URL: https://issues.apache.org/jira/browse/HBASE-2436
             Project: Hadoop HBase
          Issue Type: Improvement
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell
             Fix For: 0.20.4, 0.21.0


>From Thomas Koch over on HBASE-2383:

{quote}
The stargate lib folder contains:
asm-3.1.jar, jackson-asl-0.9.4.jar, jersey-core-1.1.0-ea.jar, 
jersey-server-1.1.0-ea.jar, persistence-api-1.0.jar, commons-codec-1.3.jar, 
jaxb-impl-2.1.10.jar, jersey-json-1.1.0-ea.jar, jsr311-api-1.1.jar, 
protobuf-java-2.1.0.jar

It seems, that the following jars are either not used or only used for the 
tests:
asm-3.1.jar, jackson-asl-0.9.4.jar, jaxb-impl-2.1.10.jar

The following are already in Debian:
commons-codec-1.3.jar
persistence-api-1.0.jar (libgeronimo-jpa-3.0-spec-java 1.1.1-1)
protobuf-java-2.1.0.jar (libprotobuf-java 2.3.0-1)

Which leaves the following to be packaged:

jersey-core-1.1.0-ea.jar, jersey-server-1.1.0-ea.jar, jersey-json-1.1.0-ea.jar 
( https://jersey.dev.java.net )

jsr311-api-1.1.jar ( https://jsr311.dev.java.net )

Upstream version of jersey is 1.1.5.1. Would stargate work with this version?

java.net doesn't seem to release tarballs, so I could obtain the sources only 
from these jars:

http://download.java.net/maven/2/com/sun/jersey/jersey-bundle/1.1.5.1/jersey-bundle-1.1.5.1-sources.jar
http://download.java.net/maven/2/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1-sources.jar
{quote}

The jars in the Stargate lib directory were added per the getting started 
recipe up on the Jersey wiki.

Tasks:

- Update Jersey to 1.1.5.1.

- Remove json.org JSON dependencies and substitute as required. 

- Prune unnecessary jars.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to