-
Notifications
You must be signed in to change notification settings - Fork 77
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
Missing MANIFEST.MF
in jakarta
-classifier artifacts of JAX-RS providers
, JAXB annotations
module
#160
Comments
That is unfortunate, and obviously not something that was intended. But first one question: links you include are for JAX-RS, NOT Jakarta version. Plus one for JAXB annotations module. So which artifacts actually have the problem? Right now I am swamped will all kinds of issues so help here would be appreciated: I think in the past OSGi felix bundle plug-in has had some issues once or twice, but I do not remember details unfortunately. As to republishing: Maven does not allow replacement of artifacts, they are considered immutable. |
Ohhhhhh. It's the
So I would actually recommend trying out 2.13 upgrade instead. Given that 2.12.x is the end of |
Oh and this is wrong repo since |
MANIFEST.MF
in jakarta
-classifier artifacts of JAX-RS providers
, JAXB annotations
module
Thanks for moving the issue to the correct repository and thanks for responding so quckly. Unfortunately we can not switch to version 2.13 at the moment. In short it's because Jackson is pulled in as a transitive dependency of RESTeasy, which currently does not support the new jackson-jakarta-rs-json-provider and the adapted jakarta namespace. I'll get a runtime error saying that I fully understand that solving an issue that is actually not relevant anymore, since as you mentioned the classifier solution is not existing in newer versions, has not a high prio to you, but it would be really appreciated if you could anyway try to fix it. A micro patch as version 2.12.7.1 would be perfect. Thanks for taking the time so far. |
@EldoronTheMighty Ah. Yes, transitive dependencies are tricky. That does complicate things. I would not mind patch release (and matching bom), but I would need help in figuring out how to resolve the underlying issue. One thing that I find odd, however, is that it seems to me that RESTeasy should NOT be using |
Sure thing, I'll try to help where I can. Just need to know what to check, or to do. So I had a look at the source code from RESTeasy, especially their Jackson-JSON-Provder, especially their pom-File. They specifiy jackson-jaxrs-json-provider as a dependency with the jakarta classifier. Which makes sense I guess since they also had to make the switch to the new jakarta namespace. If I'm not completely wrong newer versions of RESTeasy are not supporting javax anymore (I had a look at the newese release Additionally they even exclude the non jakarta version of jackson https://github.com/resteasy/resteasy/blob/main/providers/jackson2/pom.xml#L51 For now they rely on version 2.12.6 of Jackson as can be found here https://github.com/resteasy/resteasy/blob/main/resteasy-dependencies-bom/pom.xml#L19. |
If they do need Jakarta-dependant versions, they should switch dependency to |
See the otherwise tangentially related FasterXML/jackson-jaxrs-providers#160 for the discussion which informed me what the problem was. The JEE upgrade is a mess.
I don't think there is much to be done here, closing. Please re-file with up-to-date issue information if and as necessary. |
I just tried installing the following Jackson OSGi Bundles on Karaf (4.4.1)
com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.12.2/jar/jakarta
com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.12.2/jar/jakarta
com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.12.2/jar/jakarta
Which resulted in the following error message:
java.io.FileNotFoundException: META-INF/MANIFEST.MF
install-jackson-on-karaf-error.log
So I checked out the following jars hosted at maven central,
which indeed did not include a MANIFEST.MF. The last version I found to have a MANIFEST.MF included was 2.12.2. So my guess here is, that's a bug. Is there any chance an updated jar, at least of version 2.12.7, could be republished?
Please note that this only concerns the Jakarta version. The Javax versions do have a MANIFEST.MF file.
The text was updated successfully, but these errors were encountered: