-
Notifications
You must be signed in to change notification settings - Fork 357
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
3.1.7 OSGi bundle issue #5661
Comments
Maybe this instruction could help, i will try: https://bnd.bndtools.org/instructions/jpms-multi-release.html |
There seems to be support for this, so probably not a jersey issue. See bndtools/bnd#2227 I will close it for now and try to fix it with bnd instructions in the maven bundle plugin first. |
Created apache/felix-dev#322 |
You are right, |
Right, as in, it's an issue in the maven-bundle-plugin? Or right, it's an issue in Jersey (as well)? Because using bndlib 7.0.0 seems to work, as it supports MR jars. |
It may be an issue in Jersey for certain environments depending on the |
Ok, when upgrading bndlib to 7.0.0 i didn’t notice any build errors anymore though, so not sure what the issue would be then. I will try 3.1.7 in our application and let you know if it works properly or not. We're running java 21, with Apache Felix as osgi container and Jetty 12 EE 10 btw. |
@jansupol I ran the feature build containing 3.1.7 this morning and although compiling and building went fine, the application doesn't start properly due to an OSGi bundle not being able to start.
I would have expected the OSGi bundle containing Jersey would fail (that one just starts properly). |
No, this looks like some other issue, |
Ok, i will investigate it further and let you know. |
Sorry for the confusion @jansupol, that OSGi error is indeed unrelated. |
When trying to bundle Jersey 3.1.7 as compile dependency in an OSGi bundle via the maven-bundle-plugin (5.1.9, latest), the following error occurs. This didn’t happen with 3.1.6.
Maven version 3.9.x
Command:
mvn clean install
Java version 21.1 (corretto)
Did anything change in this regard or would this be an issue in the maven bundle plugin from Apache Felix?
Thanks!
The text was updated successfully, but these errors were encountered: