-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jakarta.mail fails to resolve due to required org.glassfish.hk2.osgiresourcelocator dependency #87
Comments
All this renaming makes things difficult and I'm not sure if I'm right, but... I think you shouldn't use I have just successfully tested this combination:
So I had the latest specification (jakarta) bundles and the work-in-progress implementation (angus) bundles. Worked and didn't require org.glassfish.hk2.osgiresourcelocator any more. |
…assfish.hk2.osgiresourcelocator dependency Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
|
…osgiresourcelocator dependency Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
Describe the bug
org.eclipse.angus/jakarta.mail/2.0.1 has a required dependency on org.glassfish.hk2.osgiresourcelocator which according to several discussion, the dependency should be optional or removed as it is used by jakarta.mail/jakarta.mail-api/2.1.1
To Reproduce
In a clean OSGi 8 environment, Install and start the following bundles:
Using Karaf, the feature scr is also required.
Expected behavior
If osgiresourcelocator is used by angus-mail, then then the import dependency should be marked as optional.
org.glassfish.hk2.osgiresourcelocator;resolution:=optional
Otherwise the entry should be removed
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: