Details
Description
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.x{{ and }}master/2.x{{ branch