BetonQuest / BetonQuest/PomMapperReposilitePlugin

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

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
0
Forks
1
Avg merge
3h 51m
Merged PRs (30d)
3

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.