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

Luca Burgazzoli commented on CAMEL-9587:
----------------------------------------

As Jackson/Gson should be optional should the dependencies be added to 
camel-restlet or in theirs own feature like camel-restlet-jackson/json or let 
the user install required bundles ?

btw, Jackson extensions has quite a few "outdated" dependencies:

{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.restlet.osgi</groupId>
                <artifactId>org.restlet.parent</artifactId>
                <version>2.3.6</version>
        </parent>

        <artifactId>org.restlet.ext.jackson</artifactId>
        <name>Restlet Extension - Jackson</name>
        <description>Integration with Jackson.</description>

        <dependencies>
                <dependency>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-core</artifactId>
                        <version>2.4.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-annotations</artifactId>
                        <version>2.4.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-databind</artifactId>
                        <version>2.4.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.dataformat</groupId>
                        <artifactId>jackson-dataformat-csv</artifactId>
                        <version>2.4.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.dataformat</groupId>
                        <artifactId>jackson-dataformat-smile</artifactId>
                        <version>2.4.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.dataformat</groupId>
                        <artifactId>jackson-dataformat-xml</artifactId>
                        <version>2.4.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.dataformat</groupId>
                        <artifactId>jackson-dataformat-yaml</artifactId>
                        <version>2.4.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.module</groupId>
                        <artifactId>jackson-module-jaxb-annotations</artifactId>
                        <version>2.4.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.module</groupId>
                        <artifactId>jackson-module-jsonSchema</artifactId>
                        <version>2.4.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>org.codehaus.woodstox</groupId>
                        <artifactId>woodstox-core-asl</artifactId>
                        <version>4.3.0</version>
                                
                </dependency>
                <dependency>
                        <groupId>org.codehaus.woodstox</groupId>
                        <artifactId>stax2-api</artifactId>
                        <version>3.1.4</version>
                                
                </dependency>
                <dependency>
                        <groupId>org.yaml</groupId>
                        <artifactId>snakeyaml</artifactId>
                        <version>1.13</version>
                                
                </dependency>
                <dependency>
                        <groupId>org.restlet.osgi</groupId>
                        <artifactId>org.restlet</artifactId>
                        <version>2.3.6</version>
                        
                </dependency>
        </dependencies>
</project>
{code}


> camel-restlet - Make it easy to turn on gson or jackson
> -------------------------------------------------------
>
>                 Key: CAMEL-9587
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9587
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jackson
>            Reporter: Claus Ibsen
>            Assignee: Luca Burgazzoli
>             Fix For: 2.18.0
>
>
> We should make it easy to turn on jackson or gson as the json library. You 
> need to do this by adding those jackson type converters from those 
> restlet.ext JAR files.
> https://restlet.com/technical-resources/restlet-framework/javadocs/snapshot/jse/ext/
> Then we can add some options on the component to turn this on|off.



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

Reply via email to