Skip to content

[MRESOLVER-571] Import o.e.aether packages with the exact same version in OSGi metadata #1239

Closed
@jira-importer

Description

@jira-importer

Hannes Wellmann opened MRESOLVER-571 and commented

The documentation states that only maven-resolver artifacts of the exact same version should be used together:

But currently the OSGi metadata declare version ranges for imported packages up until (excluding) the next major version:
org.eclipse.aether;version="[1.9,2)"

My suggestion is to reflect the requirement for a strict version alignment in the OSGi metadata and change the Package-Imports to (for example for the next 1.9.21 version):
org.eclipse.aether;version="[1.9.21,1.9.21]"

Of course this would make it impossible (without nasty tricks/out of the box) to break that (strong) recommendation in OSGi runtimes if unexpected circumstances would require it.

I'm currently working on providing a PR for the 1.9.xandmaster/2.x branch
 


Affects: 1.9.20, 2.0.0-alpha-11

Remote Links:

Backported to: 1.9.21

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions