You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicola Ferraro (JIRA)" <ji...@apache.org> on 2017/10/02 16:17:00 UTC

[jira] [Commented] (CAMEL-11873) Exclude validation-api from Salesforce component

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

Nicola Ferraro commented on CAMEL-11873:
----------------------------------------

Zoran, if a validation API impl is not needed anymore by salesforce, can we safely remove the dependency on the starter? https://github.com/apache/camel/blob/68d791244b1522451611be7b30711a1716a548bd/platforms/spring-boot/components-starter/camel-salesforce-starter/pom.xml#L42-L45

> Exclude validation-api from Salesforce component
> ------------------------------------------------
>
>                 Key: CAMEL-11873
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11873
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>    Affects Versions: 2.20.0
>            Reporter: Zoran Regvart
>            Assignee: Zoran Regvart
>             Fix For: 2.20.0
>
>
> With the addition of Metadata support, a dependency {{jackson-module-jsonSchema}} pulled in {{validation-api}}. The Metadata support doesn't use it and if it's declared then at runtime it's detected by Spring Boot auto-configuration that tries to instantiate a default implementation of Validation API (such as hibernate-validator). We should exclude this dependency.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)