-
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
jackson-module-jaxb-annotations 2.11.2 has wrong module info (Java 9 instead of Java 11) #126
jackson-module-jaxb-annotations 2.11.2 has wrong module info (Java 9 instead of Java 11) #126
Comments
I think this is due to improvements by @GedMarc -- Java 9 is not a LTS so we probably don't care about it, but seems odd there'd be complaint by Maven enforcer plug-in. Maybe there's need to upgrade version of that plugin? |
closable |
This also happens on java 11 for the record
|
If anyone has ideas of how to address that, I'm all ears. But as of now I don't know what, if anything, to do. |
arg, we can move it to version/9 instead of 11 it is a setting in moditect |
looks like an enforcer minimum jdk version setting actually - just update enforcer to allow versions 9 and up, otherwise we'll compile module-info to version 11 |
i still feel java 9 is the right version of the module-info.class to allow for everyone, |
For JDK 11 your minimum allowable java version should be 8, version 7 is no longer compilable - |
Which is what we have as far as I can tell |
@cowtowncoder happy with me putting the moditect files into META-INF/versions/9 so the enforcer succeeds It is technically correct in validating the class version with the version in the META-INF folder - |
Ok so enforcer setting of which project? If it is mistaken validation by enforcer plugin outside jackson components I am not sure we should change anything. |
Ok - What is happening is for each versions, the plugin is checking for the exact version number, rather than the allowed [min.jdk,max.jdk] class files in these directories This is specific to enforcer in the jenkins-ci pom |
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 FasterXML/jackson-databind#3380 as well, right? I think this change needs to go in 2.13(.2), and the place, I think is in |
Looks 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.
The text was updated successfully, but these errors were encountered: