Skip to content

since parameter does not work correctly when maven SNAPSHOT versions are sued #7

@Wolf2323

Description

@Wolf2323

The since parameter should show all versions, that are more recent then the given version.

This means:

  • For a given release 2.2.0 only snapshots for more recent versions and releases are shown.
  • For snapshots 2.2.0-SNAPSHOT the current snapshot version is shown, as we don't know if it is more recent or not, and the release is shown
  • For a full qualified version like 2.2.0-20241201.180321-107 the compare with the current snapshot version can be done and correctly be shown, while a release is also shown as it is more recent.

The Issue

A full qualified version does not show the corresponding release, as the Artifact version library we use sees this as a more recent version as a release

Possible solution

BetonQuest already have a Version class, that can compare such versions correctly. Once BetonQuest expose this functions as a api and lib it can simply be used to compare versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions