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

Platform Quarkus Maven Plugin requires upstream dependencies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 2.2.5.GA
    • 2.2.3.CR5
    • team/prod
    • Hide

      1. Use the Maven plugin:

      mvn dependency:tree -V -B -Dquarkus.platform.group-id=com.redhat.quarkus.platform -Dquarkus.platform.artifact-id=quarkus-bom -Dquarkus.platform.version=2.2.3.Final-redhat-00013 -Dquarkus-plugin.version=2.2.3.Final-redhat-00013
      

      2. No upstream dependencies should be downloaded, for example:

      [INFO] Downloading from central: https://repo.maven.apache.org/maven2/io/quarkus/quarkus-core/2.2.3.Final/quarkus-core-2.2.3.Final.pom
      [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/io/quarkus/quarkus-core/2.2.3.Final/quarkus-core-2.2.3.Final.pom (14 kB at 16 kB/s)
      
      Show
      1. Use the Maven plugin: mvn dependency:tree -V -B -Dquarkus.platform.group-id=com.redhat.quarkus.platform -Dquarkus.platform.artifact-id=quarkus-bom -Dquarkus.platform.version=2.2.3.Final-redhat-00013 -Dquarkus-plugin.version=2.2.3.Final-redhat-00013 2. No upstream dependencies should be downloaded, for example: [INFO] Downloading from central: https: //repo.maven.apache.org/maven2/io/quarkus/quarkus-core/2.2.3.Final/quarkus-core-2.2.3.Final.pom [INFO] Downloaded from central: https: //repo.maven.apache.org/maven2/io/quarkus/quarkus-core/2.2.3.Final/quarkus-core-2.2.3.Final.pom (14 kB at 16 kB/s)
    • +

    Description

      When using the Quarkus Maven plugin "com.redhat.quarkus.platform:quarkus-maven-plugin", the upstream dependencies like "quarkus-core" are always pulled:

      [INFO] Downloading from central: https://repo.maven.apache.org/maven2/io/quarkus/quarkus-core/2.2.3.Final/quarkus-core-2.2.3.Final.pom
      [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/io/quarkus/quarkus-core/2.2.3.Final/quarkus-core-2.2.3.Final.pom (14 kB at 16 kB/s)
      

      This is because the pom file for "com.redhat.quarkus.platform:quarkus-maven-plugin" is using upstream dependencies:

      <groupId>com.redhat.quarkus.platform</groupId>
        <artifactId>quarkus-maven-plugin</artifactId>
        <version>2.2.3.Final-redhat-00013</version>
        <packaging>maven-plugin</packaging>
        <name>Quarkus Platform - Quarkus Maven Plugin</name>
        <dependencies>
          <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-bootstrap-core</artifactId>
            <version>2.2.3.Final</version>
          </dependency>
          <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-core-deployment</artifactId>
            <version>2.2.3.Final</version>
            <exclusions>
              <exclusion>
                <artifactId>quarkus-ide-launcher</artifactId>
                <groupId>io.quarkus</groupId>
              </exclusion>
            </exclusions>
          </dependency>
      

      It should use the productised version "2.2.3.Final-redhat-00013".

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            jcarvaja@redhat.com Jose Carvajal Hilario
            Fedor Dudinskii Fedor Dudinskii
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: