quarkusio / registry.quarkus.io

Quarkus Extension Registry application
https://registry.quarkus.io
Apache License 2.0
10 stars 11 forks source link

Missing version in metadata.xml #28

Closed gastaldi closed 3 years ago

gastaldi commented 3 years ago

I have a very similar issue - try to add container-image-jib by the following command mvnw quarkus:add-extension -Dextensions="container-image-jib" and see the

[DEBUG] Using mirror lnexus (http://localhost:8081/repository/public) for registry.quarkus.io (https://registry.quarkus.io/maven).
[DEBUG] Could not find metadata io.quarkus.registry:quarkus-registry-descriptor:1.0-SNAPSHOT/maven-metadata.xml in local (D:\Development\repository)
[DEBUG] io.quarkus.registry:quarkus-registry-descriptor:1.0-SNAPSHOT/maven-metadata.xml was not found in http://localhost:8081/repository/public

If I check this artifact in my Nexus (http://localhost:8081/repository/registry.quarkus.io/io/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/maven-metadata.xml) I see

Invalid maven-metadata.xml GAV io.quarkus.registry, quarkus-registry-descriptor, null does not match request path io/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/maven-metadata.xml

If I check this artifact on your side (https://registry.quarkus.io/maven/io/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/maven-metadata.xml) I see a missing version

<metadata>
<groupId>io.quarkus.registry</groupId>
<artifactId>quarkus-registry-descriptor</artifactId>
--> missing <version>1.0-SNAPSHOT<version>
<versioning>
...
</versioning>
</metadata>

quarkus.platform.version: 2.1.3.Final

Originally posted by @foal in https://github.com/quarkusio/quarkus/issues/19612#issuecomment-904671430