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

Non-resolvable artefacts when building from code.quarkus.redhat.com

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • team/eng
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ---

      When building a default project from https://code.quarkus.redhat.com/, it fails when resolving com.redhat artefacts. Presumably the MMRC repository is missing in the POM file.

      To reproduce:

      1. Visit https://code.quarkus.redhat.com/
      2. Click "Generate Your Application"
      3. Click "DOWNLOAD THE ZIP"
      4. Extract the zip
      5. Open a terminal and cd to the extracted content
      6. Run: ./mvnw quarkus:dev

      Observe:

      probinso@probinso-mac code-with-quarkus % ./mvnw quarkus:dev
      [INFO] Scanning for projects...
      [INFO] Artifact com.redhat.quarkus.platform:quarkus-maven-plugin:pom:3.27.0.redhat-00002 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
      [INFO] Artifact com.redhat.quarkus.platform:quarkus-maven-plugin:pom:3.27.0.redhat-00002 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
      Downloading from central: https://repo.maven.apache.org/maven2/com/redhat/quarkus/platform/quarkus-maven-plugin/3.27.0.redhat-00002/quarkus-maven-plugin-3.27.0.redhat-00002.pom
      [WARNING] The POM for com.redhat.quarkus.platform:quarkus-maven-plugin:jar:3.27.0.redhat-00002 is missing, no dependency information available
      Downloading from central: https://repo.maven.apache.org/maven2/com/redhat/quarkus/platform/quarkus-maven-plugin/3.27.0.redhat-00002/quarkus-maven-plugin-3.27.0.redhat-00002.jar
      [INFO] Artifact com.redhat.quarkus.platform:quarkus-bom:pom:3.27.0.redhat-00002 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
      [INFO] Artifact com.redhat.quarkus.platform:quarkus-bom:pom:3.27.0.redhat-00002 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases)]
      Downloading from central: https://repo.maven.apache.org/maven2/com/redhat/quarkus/platform/quarkus-bom/3.27.0.redhat-00002/quarkus-bom-3.27.0.redhat-00002.pom
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] Unresolveable build extension: Plugin com.redhat.quarkus.platform:quarkus-maven-plugin:3.27.0.redhat-00002 or one of its dependencies could not be resolved:
      	Could not find artifact com.redhat.quarkus.platform:quarkus-maven-plugin:jar:3.27.0.redhat-00002 in central (https://repo.maven.apache.org/maven2)
       @
      [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.redhat.quarkus.platform:quarkus-bom:pom:3.27.0.redhat-00002 (present, but unavailable): Could not find artifact com.redhat.quarkus.platform:quarkus-bom:pom:3.27.0.redhat-00002 in central (https://repo.maven.apache.org/maven2) @ line 22, column 25
      [ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-arc:jar is missing. @ line 33, column 21
      [ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-rest:jar is missing. @ line 37, column 21
      [ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-junit5:jar is missing. @ line 41, column 21
      [ERROR] 'dependencies.dependency.version' for io.rest-assured:rest-assured:jar is missing. @ line 46, column 21
       @
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR]   The project org.acme:code-with-quarkus:1.0.0-SNAPSHOT (/Users/probinso/Downloads/code-with-quarkus/pom.xml) has 6 errors
      [ERROR]     Unresolveable build extension: Plugin com.redhat.quarkus.platform:quarkus-maven-plugin:3.27.0.redhat-00002 or one of its dependencies could not be resolved:
      [ERROR]     	Could not find artifact com.redhat.quarkus.platform:quarkus-maven-plugin:jar:3.27.0.redhat-00002 in central (https://repo.maven.apache.org/maven2)
      [ERROR]     -> [Help 2]
      [ERROR]     Non-resolvable import POM: The following artifacts could not be resolved: com.redhat.quarkus.platform:quarkus-bom:pom:3.27.0.redhat-00002 (present, but unavailable): Could not find artifact com.redhat.quarkus.platform:quarkus-bom:pom:3.27.0.redhat-00002 in central (https://repo.maven.apache.org/maven2) @ line 22, column 25 -> [Help 3]
      [ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-arc:jar is missing. @ line 33, column 21
      [ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-rest:jar is missing. @ line 37, column 21
      [ERROR]     'dependencies.dependency.version' for io.quarkus:quarkus-junit5:jar is missing. @ line 41, column 21
      [ERROR]     'dependencies.dependency.version' for io.rest-assured:rest-assured:jar is missing. @ line 46, column 21
      [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/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
      [ERROR] [Help 3] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
      

              adamevin andy damevin
              paul.robinson@redhat.com Paul Robinson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: