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

JSON descriptors for quarkus-universe-bom missing from the repository

XMLWordPrintable

    • False
    • False
    • +
    • Undefined
    • Hide

      Create a sample project with unzipped RHBQ 1.11.0.ER1 repository:

      mvn io.quarkus:quarkus-maven-plugin:1.11.0.Final-redhat-00002:create \      
          -DprojectGroupId=org.acme \
          -DprojectArtifactId=getting-started \
          -DplatformGroupId=com.redhat.quarkus \
          -DplatformVersion=1.11.0.Final-redhat-00004 \
          -DclassName="org.acme.quickstart.GreetingResource" \
          -Dpath="/hello" -Dmaven.repo.local=${MAVEN_REPO_LOCAL}
      
      Show
      Create a sample project with unzipped RHBQ 1.11.0.ER1 repository: mvn io.quarkus:quarkus-maven-plugin:1.11.0.Final-redhat-00002:create \ -DprojectGroupId=org.acme \ -DprojectArtifactId=getting-started \ -DplatformGroupId=com.redhat.quarkus \ -DplatformVersion=1.11.0.Final-redhat-00004 \ -DclassName= "org.acme.quickstart.GreetingResource" \ -Dpath= "/hello" -Dmaven.repo. local =${MAVEN_REPO_LOCAL}
    • ---

      Upon attempting to create a sample project with RHBQ 1.11.0.ER1, the following error message is produced:

      ➜  Playground mvn io.quarkus:quarkus-maven-plugin:1.11.0.Final-redhat-00002:create \      
          -DprojectGroupId=org.acme \
          -DprojectArtifactId=getting-started \
          -DplatformGroupId=com.redhat.quarkus \
          -DplatformVersion=1.11.0.Final-redhat-00004 \
          -DclassName="org.acme.quickstart.GreetingResource" \
          -Dpath="/hello" -Dmaven.repo.local=/home/mjurc/Downloads/rh-quarkus-1.11.0.GA-maven-repository/maven-repository
      [INFO] Scanning for projects...
      [INFO] 
      [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
      [INFO] Building Maven Stub Project (No POM) 1
      [INFO] --------------------------------[ pom ]---------------------------------
      [INFO] 
      [INFO] --- quarkus-maven-plugin:1.11.0.Final-redhat-00002:create (default-cli) @ standalone-pom ---
      Downloading from central: https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.7.0/junit-bom-5.7.0.pom
      .
      .
      .
      Downloading from central: https://repo.maven.apache.org/maven2/com/redhat/quarkus/quarkus-universe-bom-quarkus-platform-descriptor/1.11.0.Final-redhat-00002/quarkus-universe-bom-quarkus-platform-descriptor-1.11.0.Final-redhat-00002-1.11.0.Final-redhat-00002.json
      Downloading from central: https://repo.maven.apache.org/maven2/com/redhat/quarkus/quarkus-universe-bom/1.11.0.Final-redhat-00002/quarkus-universe-bom-1.11.0.Final-redhat-00002.json
      Downloading from central: https://repo.maven.apache.org/maven2/com/redhat/quarkus/quarkus-universe-bom-descriptor-json/1.11.0.Final-redhat-00002/quarkus-universe-bom-descriptor-json-1.11.0.Final-redhat-00002.json
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  12.840 s
      [INFO] Finished at: 2021-02-10T09:11:25+01:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.11.0.Final-redhat-00002:create (default-cli) on project standalone-pom: Execution default-cli of goal io.quarkus:quarkus-maven-plugin:1.11.0.Final-redhat-00002:create failed: Failed to resolve Quarkus platform using the requested BOM groupId com.redhat.quarkus -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
      

              hamadhan@redhat.com Harsh Madhani (Inactive)
              mjurc@redhat.com Michal Jurc
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: