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

mvn quarkus:add-extension imports additionally quarkus-bom

XMLWordPrintable

    • Hide

      mvn io.quarkus:quarkus-maven-plugin:1.11.3.Final-redhat-00004:create \
      -DprojectGroupId=org.acme -DprojectArtifactId=getting-started \
      -DplatformGroupId=com.redhat.quarkus \
      -DplatformVersion=1.11.3.Final-redhat-00004 \
      -DclassName="org.acme.quickstart.GreetingResource" \
      -Dpath="/hello" \
      -Dmaven.repo.local=<path_to_local_11.1.3.ER5_maven_repo>

      cd getting-started/

      mvn quarkus:add-extension -Dextensions=hibernate-orm -Dmaven.repo.local=<path_to_local_11.1.3.ER5_maven_repo>

      Show
      mvn io.quarkus:quarkus-maven-plugin:1.11.3.Final-redhat-00004:create \ -DprojectGroupId=org.acme -DprojectArtifactId=getting-started \ -DplatformGroupId=com.redhat.quarkus \ -DplatformVersion=1.11.3.Final-redhat-00004 \ -DclassName="org.acme.quickstart.GreetingResource" \ -Dpath="/hello" \ -Dmaven.repo.local=<path_to_local_11.1.3.ER5_maven_repo> cd getting-started/ mvn quarkus:add-extension -Dextensions=hibernate-orm -Dmaven.repo.local=<path_to_local_11.1.3.ER5_maven_repo>
    • Undefined
    • ---

      While adding extensions via 'mvn quarkus:add-extension -Dextensions=<extension_name>',
      beside selected extension it also appends 'quarkus-bom'.

      ```
      <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-bom</artifactId>
      <version>1.11.3.Final-redhat-00004</version>
      <type>pom</type>
      <scope>import</scope>
      </dependency>
      ```

      So we ended up, with two BOMs: quarkus-universe-bom and quarkus-bom, which seems redundatnt

      ***Different behavior comparing to 1.7
      ***Different behavior comparing to 1.11.3.Final

            olubyans@redhat.com Alexey Loubyansky
            kshpak Kyrylo Shpak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: