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

Missing dependency "com.google.guava:failureaccess:jar:1.0.1.redhat-00001"

    XMLWordPrintable

Details

    • Undefined
    • +
    • ---

    Description

      This version "1.0.1.redhat-00001" is not present in the Maven repository for 1.11.3.ER5.

      The root cause of this issue is that the "guava" and "failureaccess" dependencies are both declared in "quarkus-product-bom":

      <dependency>
              <groupId>com.google.guava</groupId>
              <artifactId>guava</artifactId>
              <version>30.1.0.jre-redhat-00001</version>
              <exclusions>
                <exclusion>
                  <artifactId>j2objc-annotations</artifactId>
                  <groupId>com.google.j2objc</groupId>
                </exclusion>
              </exclusions>
            </dependency>
      
      <dependency>
              <groupId>com.google.guava</groupId>
              <artifactId>failureaccess</artifactId>
              <version>1.0.1.redhat-00002</version>
            </dependency>
      

      However, the "guava" dependency overwrites the "failureaccess" dependency version to use "1.0.1.redhat-00001":

      <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>failureaccess</artifactId>
            <version>1.0.1.redhat-00002</version>
          </dependency>
      

      In the end, only the version "com.google.guava:failureaccess:jar:1.0.1.redhat-00002" is present in the final maven repository zip.

      Attachments

        Activity

          People

            hamadhan@redhat.com Harsh Madhani
            jcarvaja@redhat.com Jose Carvajal Hilario
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: