jackson-module-jaxb-annotations 2.11.2 has wrong module info (Java 9 instead of Java 11)
See original GitHub issueLooks like there are some minor issues in jackson-module-jaxb-annotations 2.12.1 multi-release JAR. It looks like Java 9 - focused class is used instead. Not a big deal, but there is a warning generated by Maven Enforcer Plugin.
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (display-info) @ MY_PROJECT ---
[INFO] Ignoring requireUpperBoundDeps in com.google.guava:guava
[INFO] Adding ignore: module-info
[WARNING] Invalid bytecodeVersion for com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.1:compile : META-INF/versions/11/module-info.class: expected 55, but was 53
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (12 by maintainers)
Top Results From Across the Web
Compilation error package com.fasterxml.jackson.annotation ...
I checked the maven repository for this component, and it seems it does not have any dependency. I tried changing the version to...
Read more >Jackson Dependency Issue in Spring Boot with Maven Build
This error occurs due to Jackson dependency conflict. We are working on a Spring Boot project and it's inheriting from the Spring Boot...
Read more >Advanced Modular Development - OpenJDK
src/jackson.databind/module-info.java module jackson.databind { requires transitive jackson.annotations; requires transitive jackson.core;.
Read more >Jackson Dependency Issue in Spring Boot with Maven Build
Jackson is currently the leading option for parsing JSON in Java. The Jackson library is composed of three components: Jackson Databind, Core, ...
Read more >SUSE-SU-2022:1678-1: important: Security update for jackson ...
(bsc#1182481) Non security fixes: jackson-annotations - update from ... back + Fix for [modules-java8#207]: prevent fail on secondary Java 8 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok @cowtowncoder
For moditect –
I’ll start with the jakarta module base, i’ve spoken with the moditect guys (luke hutch), the module info must be compiled as version 9 (not 11), but for sniffers and accuracy, it should be placed under version 9 directory in META-INF, not 11
So, this is wrt https://github.com/FasterXML/jackson-databind/issues/3380 as well, right?
I think this change needs to go in 2.13(.2), and the place, I think is in
base/pom.xml
ofjackson-bom
project? If so, all actual Jackson repos should start using it.