This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 4efe04568a7 CAMEL-19062: openapi-rest-dsl-generator - Add jackson 
databind (#9586)
4efe04568a7 is described below

commit 4efe04568a79197cedc6eb8c16e135cf53ad75b8
Author: Nicolas Filotto <[email protected]>
AuthorDate: Mon Mar 20 19:31:59 2023 +0100

    CAMEL-19062: openapi-rest-dsl-generator - Add jackson databind (#9586)
    
    ## Motivation
    
    There are some failing tests that seem to be related to the pom cleanup 
https://ci-builds.apache.org/job/Camel/job/Camel%20JDK17/job/main/688/testReport/org.apache.camel.generator.openapi/
    
    ## Modifications
    
    * Add `jackson-databind`
    * Exclude `jackson-core` from `apicurio-data-models` to prevent version 
conflicts
---
 tooling/openapi-rest-dsl-generator/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tooling/openapi-rest-dsl-generator/pom.xml 
b/tooling/openapi-rest-dsl-generator/pom.xml
index 953ea0f271d..e1b5e4b2a10 100644
--- a/tooling/openapi-rest-dsl-generator/pom.xml
+++ b/tooling/openapi-rest-dsl-generator/pom.xml
@@ -52,6 +52,12 @@
             <groupId>io.apicurio</groupId>
             <artifactId>apicurio-data-models</artifactId>
             <version>${apicurio-version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>jackson-core</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.apache.commons</groupId>
@@ -59,6 +65,11 @@
             <version>${commons-lang3-version}</version>
         </dependency>
         <!-- yaml dsl (via xml) -->
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-databind</artifactId>
+            <version>${jackson2-version}</version>
+        </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.dataformat</groupId>
             <artifactId>jackson-dataformat-xml</artifactId>

Reply via email to