Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] EclipseLink OSGi manifest exports...

I just thought of something...

We do change "internal API" during patch releases releases (2.3.2, 2.4.1). If it were to change, core and jpa,  or core and moxy, would end up requiring a dependency on a patch release to fulfill an internal API contract. While in most cases we probably don't need the three part version in the export, I think we may in those cases.

Therefore, I'm going to reverse myself, and keep the three part version in the export. It won't hurt to keep it, we may need it, and I don't want to have to go back and fix it. I'll just remove the qualifier.


On 24/11/2011 2:42 PM, Eric Gwin wrote:

Tycho won't do qualifier substitution on any part of the manifest except the bundle-version when building manifest-first. We currently export eclipselink packages using "2.4.0.qualifier" in 2.4. Most eclipse teams simply export using "Major. minor" versions. This seemed imprecise but upon further discussion of the OSGi spec, and how the class/bundle loading works it now appears most concise. Major.minor are the only portions of the three part version that should be used to specify API contract compatibility. Specifying the full three part version is overkill, and should be unnecessary since bundle version (fully four part specified) is used to determine version "age".

As a result, I'm proposing altering all our manifests to both import and export based only upon "Major.minor" versions and to eliminate non-OSGi tags that specify .qualifier.

If you can think of any reason not to do this let me know ASAP. At a minimum I need to remove the exporting of .qualifier.



eclipselink-dev mailing list

Back to the top