Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FELIX-6744 Configure policy for maven release plugin #360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paulrutter
Copy link
Contributor

@paulrutter paulrutter commented Dec 13, 2024

https://issues.apache.org/jira/browse/FELIX-6744

  • Configure OddEvenVersionPolicy based on the undocumented rule of having even version number for releases, and odd versions for development

- Configure OddEvenVersionPolicy based on the undocumented rule

The reason is the difference in how maven and osgi orders versions with a qualifier. In maven 1.0.19-SNAPSHOT is lower than 1.0.19 while in OSGi it is higher. That sometimes confuses tooling.
For example, in case you have already installed the snapshot version and want to install the final version and use OSGi tooling based on "install the highest version" it will keep the snapshot version installed.
To avoid all of that we decided to just use even numbers for releases.
Its cheap and avoids all these problems.
@paulrutter paulrutter self-assigned this Dec 13, 2024
@paulrutter paulrutter requested a review from cziegeler December 13, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant