tycho
tycho copied to clipboard
Bug 382482 - Allow auto-qualified OSGi versions in releases
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.
See also
- #603