Open ia3andy opened 4 months ago
Currently update uses DefaultArtifactVersion where 1.0.0.SP1-redhat-00001 < 1.0.0.Final-redhat-00001
See https://github.com/quarkusio/quarkus/blob/main/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/rewrite/QuarkusUpdatesRepository.java#L131-L133
Instead we should use https://github.com/quarkusio/quarkus/blob/main/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/BootstrapArtifactVersion.java
There is also smallrye-common-version.
smallrye-common-version
Describe the bug
Currently update uses DefaultArtifactVersion where 1.0.0.SP1-redhat-00001 < 1.0.0.Final-redhat-00001
See https://github.com/quarkusio/quarkus/blob/main/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/update/rewrite/QuarkusUpdatesRepository.java#L131-L133
Instead we should use https://github.com/quarkusio/quarkus/blob/main/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/BootstrapArtifactVersion.java