tycho icon indicating copy to clipboard operation
tycho copied to clipboard

Bug 382482 - Allow auto-qualified OSGi versions in releases

Open sratz opened this issue 4 years ago • 1 comments

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.

sratz avatar Aug 16 '21 14:08 sratz

See also

  • #603

laeubi avatar Feb 04 '22 06:02 laeubi