You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Nick Williams (JIRA)" <ji...@apache.org> on 2013/08/11 00:06:47 UTC

[jira] [Commented] (AVRO-1126) Upgrade to Jackson 2+

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

Nick Williams commented on AVRO-1126:
-------------------------------------

The current version of Jackson is 2.2.2. There have been _many_ improvements, enhancements, and fixes since 1.8.8 that are not available in the 1.9 line, either. For example, 2.2.2 contains support for the JSR-310 Java 8 Date & Time API, which is not and will never be supported by 1.9. I think it is _very_ important that this upgrade happen in Avro 1.8.0.

Furthermore, I'm concerned that we leak a couple of Jackson types in our API. I think we should take this opportunity to address and correct that problem, since this will be an API-breaking change anyway.
                
> Upgrade to Jackson 2+
> ---------------------
>
>                 Key: AVRO-1126
>                 URL: https://issues.apache.org/jira/browse/AVRO-1126
>             Project: Avro
>          Issue Type: Task
>          Components: java
>            Reporter: James Tyrrell
>            Priority: Critical
>
> Quite annoyingly with Jackson 2+ the base package name has changed from org.codehaus.jackson to com.fasterxml.jackson so in addition to changing the dependencies from:
> {code:xml} 
> <dependency>
>     <groupId>org.codehaus.jackson</groupId>
>     <artifactId>jackson-core-asl</artifactId>
>     <version>${jackson.version}</version>
> </dependency>
> <dependency>
>     <groupId>org.codehaus.jackson</groupId>
>     <artifactId>jackson-mapper-asl</artifactId>
>     <version>${jackson.version}</version>
> </dependency>
> {code} 
> to:
> {code:xml} 
> <dependency>
>     <groupId>com.fasterxml.jackson.core</groupId>
>     <artifactId>jackson-core</artifactId>
>     <version>${jackson.version}</version>
> </dependency>
> <dependency>
>     <groupId>com.fasterxml.jackson.core</groupId>
>     <artifactId>jackson-databind</artifactId>
>     <version>${jackson.version}</version>
> </dependency>
> {code} 
> the base package in the code needs to be updated. More info can be found [here|http://wiki.fasterxml.com/JacksonUpgradeFrom19To20], I am happy to do the work just let me know what is preferable i.e. should I just attach a patch to this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira