ffang commented on issue #3402:
URL: https://github.com/apache/camel-quarkus/issues/3402#issuecomment-1000385703


   Thanks @zbendhiba! And I ran into this conflict on quarkus-main 
branch(quarkus upgraded to use bouncycastle 1.70 very recently)
   
   Actually I found more CQ components affected by this 
   
   pulsar, and we need change like
   ```
   --- a/extensions-jvm/pulsar/runtime/pom.xml
   +++ b/extensions-jvm/pulsar/runtime/pom.xml
   @@ -59,12 +59,20 @@
                        <groupId>com.sun.activation</groupId>
                        <artifactId>javax.activation</artifactId>
                    </exclusion>
   +                <exclusion>
   +                    <groupId>org.bouncycastle</groupId>
   +                    <artifactId>bcutil-jdk15on</artifactId>
   +                </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.sun.activation</groupId>
                <artifactId>jakarta.activation</artifactId>
            </dependency>
   +        <dependency>
   +            <groupId>org.bouncycastle</groupId>
   +            <artifactId>bcutil-jdk15on</artifactId>
   +        </dependency>
        </dependencies>
   ```
   and tika, we need change like
   ```
   diff --git a/extensions/tika/runtime/pom.xml 
b/extensions/tika/runtime/pom.xml
   index aa3788872..749617f8d 100644
   --- a/extensions/tika/runtime/pom.xml
   +++ b/extensions/tika/runtime/pom.xml
   @@ -73,6 +73,16 @@
            <dependency>
                <groupId>io.quarkiverse.tika</groupId>
                <artifactId>quarkus-tika</artifactId>
   +            <exclusions>
   +                <exclusion>
   +                    <groupId>org.bouncycastle</groupId>
   +                    <artifactId>bcmail-jdk15on</artifactId>
   +                </exclusion>
   +            </exclusions>
   +        </dependency>
   +        <dependency>
   +            <groupId>org.bouncycastle</groupId>
   +            <artifactId>bcmail-jdk15on</artifactId>
            </dependency>
        </dependencies>
   ```
   
   Also we need to add bcmail-jdk15on and bcutil-jdk15on to the dependency 
management
   ```
   --- a/poms/bom/pom.xml
   +++ b/poms/bom/pom.xml
   @@ -6145,6 +6145,16 @@
                    <artifactId>bcpg-jdk15on</artifactId>
                    <version>${bouncycastle.version}</version>
                </dependency>
   +            <dependency>
   +                <groupId>org.bouncycastle</groupId>
   +                <artifactId>bcmail-jdk15on</artifactId>
   +                <version>${bouncycastle.version}</version>
   +            </dependency>
   +            <dependency>
   +                <groupId>org.bouncycastle</groupId>
   +                <artifactId>bcutil-jdk15on</artifactId>
   +                <version>${bouncycastle.version}</version>
   +            </dependency>
   ```
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to