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

Bug 382482 - Allow auto-qualified OSGi versions in releases #220

Open
sratz opened this issue Aug 16, 2021 · 1 comment
Open

Bug 382482 - Allow auto-qualified OSGi versions in releases #220

sratz opened this issue Aug 16, 2021 · 1 comment

Comments

@sratz
Copy link
Contributor

sratz commented Aug 16, 2021

https://bugs.eclipse.org/bugs/show_bug.cgi?id=382482

OSGi and Maven have different semantics for release versions:

  • In Maven, releases typically have only three segments, like 1.2.3 (and 1.2.3 > 1.2.3-SNAPSHOT)
  • In OSGi/p2, releases typically also have a qualifier segment, like 1.2.3.v20120613. The qualifier is needed in order to ensure that the version number is larger than snapshots/milestones of the same release; in OSGi/p2 1.2.3 < 1.2.3.v20120613.

Tycho makes it hard to meet both conventions because it enforces that for an 1.2.3 Maven version, the OSGi/p2 version is also 1.2.3.

IMHO this should be changed, i.e. Tycho should allow builds that have a 1.2.3 Maven (release) version in the POM and 1.2.3.qualifier versions in MANIFEST/feature.xml/etc.

@laeubi
Copy link
Member

laeubi commented Feb 4, 2022

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

No branches or pull requests

2 participants