Version 8059 shows as the newest on Maven Central repository

0 votes
asked Jan 31, 2021 in Bug by Jezor (120 points)

Take a look at the current latest version page: https://mvnrepository.com/artifact/net.sourceforge.plantuml/plantuml/1.2021.0

You will notice the following message:

A screenshot of page saying "Note: There is a new version for this artifact. New Version | 8059"

According to this page the versioning scheme changed in 2017, so this version is very out of date.

It is even more confusing because of the amazing backwards compatibility. All of the features I was using worked perfectly fine, except they had tiny quirks e.g. stereotype could not be separated with a space from the component name.

1 Answer

0 votes
answered Feb 1, 2021 by plantuml (294,960 points)
This is very unfortunate, but there is nothing we can do here (well, I think).

We've posted some message ( https://twitter.com/PlantUML/status/1356239003507372032 )

Let's see if it changes something :-)
commented Feb 2, 2021 by karfau
My guess: they are sorted by biggest major/minor/... version. Since v1.20xx is "lower" then v809x it's more a problem that newer versions have have "smaller" version than older ones.
Maybe there is a way to deprecate those "older versions" to unlist them? Might break some things.

This is how I deal with it:
https://github.com/karfau/plantuml-docker/blob/4c7fdddd004f7c4b63350fd11ccd4f97b8050b31/renovate.json#L19-L24

(only allowing versions starting with `1.`)
...