You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/12/23 15:48:03 UTC

[GitHub] [camel-quarkus] ffang edited a comment on issue #3402: [quarkus-main]crypto test failure in native mode

ffang edited a comment 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 are affected by this because they still depend on BC 1.69
   
   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>
   ```
   to get it work again
   
   
   


-- 
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-unsubscribe@camel.apache.org

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