Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2385

Platform BOM generator strips transitive extension dependencies from Camel BOM

XMLWordPrintable

    • ---

      Camel Quarkus depends transitively on several third party extensions. We manage them in camel-quarkus-bom to make sure that the right version is present in end user apps.
      Some of those extensions come from Quarkiverse repositories:

      $ grep -A 2 'io.quarkiverse' camel-quarkus-bom-2.7.1.redhat-00016.pom 
              <groupId>io.quarkiverse.freemarker</groupId>
              <artifactId>quarkus-freemarker</artifactId>
              <version>0.3.0</version>
      --
              <groupId>io.quarkiverse.freemarker</groupId>
              <artifactId>quarkus-freemarker-deployment</artifactId>
              <version>0.3.0</version>
      --
              <groupId>io.quarkiverse.jgit</groupId>
              <artifactId>quarkus-jgit</artifactId>
              <version>1.1.0</version>
      --
              <groupId>io.quarkiverse.jgit</groupId>
              <artifactId>quarkus-jgit-deployment</artifactId>
              <version>1.1.0</version>
      --
              <groupId>io.quarkiverse.jsch</groupId>
              <artifactId>quarkus-jsch</artifactId>
              <version>2.0.0.redhat-00001</version>
      --
              <groupId>io.quarkiverse.jsch</groupId>
              <artifactId>quarkus-jsch-deployment</artifactId>
              <version>2.0.0.redhat-00001</version>
      --
              <groupId>io.quarkiverse.minio</groupId>
              <artifactId>quarkus-minio</artifactId>
              <version>2.3.0</version>
      --
              <groupId>io.quarkiverse.minio</groupId>
              <artifactId>quarkus-minio-deployment</artifactId>
              <version>2.3.0</version>
      --
              <groupId>io.quarkiverse.tika</groupId>
              <artifactId>quarkus-tika</artifactId>
              <version>1.0.3</version>
      --
              <groupId>io.quarkiverse.tika</groupId>
              <artifactId>quarkus-tika-deployment</artifactId>
              <version>1.0.3</version>
      

      I'd expect to find all these in the corresponding Platform BOM, but for some reason, none of them is there:

      $ curl -s https://maven.repository.redhat.com/ga/com/redhat/quarkus/platform/quarkus-camel-bom/2.7.6.Final-redhat-00006/quarkus-camel-bom-2.7.6.Final-redhat-00006.pom | grep -A 2 'io.quarkiverse'
      # no output :-(
      

      Observation: extensions from non-quarkiverse orgs are there as expected:

      $ curl -s https://maven.repository.redhat.com/ga/com/redhat/quarkus/platform/quarkus-camel-bom/2.7.6.Final-redhat-00006/quarkus-camel-bom-2.7.6.Final-redhat-00006.pom | grep -P -B 1 -A 2 '<artifactId>(?!camel).*-deployment'
              <groupId>com.datastax.oss.quarkus</groupId>
              <artifactId>cassandra-quarkus-client-deployment</artifactId>
              <version>1.1.2.redhat-00004</version>
            </dependency>
      --
              <groupId>com.hazelcast</groupId>
              <artifactId>quarkus-hazelcast-client-deployment</artifactId>
              <version>3.0.0</version>
            </dependency>
      --
              <groupId>org.amqphub.quarkus</groupId>
              <artifactId>quarkus-qpid-jms-deployment</artifactId>
              <version>0.32.0</version>
            </dependency>
      --
              <groupId>org.optaplanner</groupId>
              <artifactId>optaplanner-quarkus-deployment</artifactId>
              <version>8.17.0.Final</version>
            </dependency>
      --
              <groupId>org.optaplanner</groupId>
              <artifactId>optaplanner-quarkus-jackson-deployment</artifactId>
              <version>8.17.0.Final</version>
            </dependency>
      

            olubyans@redhat.com Alexey Loubyansky
            ppalaga Peter Palaga
            Lucia Drozdova Lucia Drozdova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: