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

Multiple extensions matching 'amazon-lambda' in product

XMLWordPrintable

    • False
    • None
    • False
    • +
    • Hide

      1. This fails

      mvn -Dmaven.repo.local=$REPO -Dquarkus-plugin.version=3.8.1.temporary-redhat-00008 -Dquarkus.platform.group-id=com.redhat.quarkus.platform -Dquarkus.platform.artifact-id=quarkus-bom -DquarkusRegistryClient=false com.redhat.quarkus.platform:quarkus-maven-plugin:3.8.1.temporary-redhat-00008:create -DprojectGroupId=io.quarkus.qe -DprojectArtifactId=amazon-lambda -DprojectVersion=1.0.0-SNAPSHOT -DplatformGroupId=com.redhat.quarkus.platform -DplatformArtifactId=quarkus-bom -Dextensions=amazon-lambda
      

      2. The same command works when using upstream binaries:

       mvn -Dquarkus-plugin.version=3.8.1  -DquarkusRegistryClient=false io.quarkus:quarkus-maven-plugin:3.8.1:create -DprojectGroupId=io.quarkus.qe -DprojectArtifactId=reproducer -DprojectVersion=1.0.0-SNAPSHOT  -Dextensions=amazon-lambda
      
      Show
      1. This fails mvn -Dmaven.repo. local = $REPO -Dquarkus-plugin.version=3.8.1.temporary-redhat-00008 -Dquarkus.platform.group-id=com.redhat.quarkus.platform -Dquarkus.platform.artifact-id=quarkus-bom -DquarkusRegistryClient=false com.redhat.quarkus.platform:quarkus-maven-plugin:3.8.1.temporary-redhat-00008:create -DprojectGroupId=io.quarkus.qe -DprojectArtifactId=amazon-lambda -DprojectVersion=1.0.0-SNAPSHOT -DplatformGroupId=com.redhat.quarkus.platform -DplatformArtifactId=quarkus-bom -Dextensions=amazon-lambda 2. The same command works when using upstream binaries: mvn -Dquarkus-plugin.version=3.8.1 -DquarkusRegistryClient= false io.quarkus:quarkus-maven-plugin:3.8.1:create -DprojectGroupId=io.quarkus.qe -DprojectArtifactId=reproducer -DprojectVersion=1.0.0-SNAPSHOT -Dextensions=amazon-lambda
    • ---

      Then I use quarkus-maven-plugin to generate application with amazon-lambda extension it fails with the following error:

      [INFO] [ERROR] ❗  Multiple extensions matching 'amazon-lambda'
           - io.quarkus:quarkus-amazon-lambda
           - io.quarkiverse.amazonservices:quarkus-amazon-lambda
           - io.quarkus:quarkus-amazon-lambda-http
           - io.quarkus:quarkus-amazon-lambda-rest
           - io.quarkus:quarkus-amazon-lambda-xray
           - io.quarkus:quarkus-funqy-amazon-lambda
           try using the exact name or the full GAV (group id, artifact id, and version).
      

      When I use upstream version, the app is generated successfully

              paul.robinson@redhat.com Paul Robinson
              rhn-support-fdudinsk Fedor Dudinskii
              Fedor Dudinskii Fedor Dudinskii
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: