oleg_nenashev I just switched to Java 11 (using Jenkins in Docker; heavily inspired by your great https://github.com/oleg-nenashev/demo-jenkins-config-as-code) and stumbled over "JAXB" Jenkins plugin being shown as "installed v2.3.0" and "available update v2.3.0.1".
Env:
- Jenkins in Docker
- OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)
- Jenkins core v2.270
According tot https://plugins.jenkins.io/jaxb/#documentation:
As an end user, you should generally never have to install this plugin yourself. It is designed to be automatically installed as a dependency for plugins needing to access the JAXB API that has been removed from the JDK in Java 9+.
So it is not in plugins reference folder:
And is getting installed in v2.3.0 automagically:
... during each startup:
And a manual update will therefore never become active:
... as it is overridden with reference folder during every restart (because our $JENKINS_HOME/plugins folder is cleared completely on purpose)
Do you therefore recommend to add this jaxb plugin to the "plugins.txt"?
Or do you think adding the jenkins core
– or however this jaxb plugin dependency is defined – should actually get a jaxb plugin v2.3.0.1 dependency instead of v2.3.0?
Oh, I have just seen https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/#javax-xml-bind-libraries
However, if you manage your plugins outside Jenkins (for example, if you use plugins.txt in your Docker images), you might need to explicitly install the plugin.
=> Is therefore adding this jaxb plugin to the "plugins.txt" with v2.3.0.1 the right thing?
oleg_nenashev I just switched to Java 11 (using Jenkins in Docker; heavily inspired by your great https://github.com/oleg-nenashev/demo-jenkins-config-as-code) and stumbled over "JAXB" Jenkins plugin being shown as "installed v2.3.0" and "available update v2.3.0.1".
Env:
According tot https://plugins.jenkins.io/jaxb/#documentation:
So it is not in plugins reference folder:
And is getting installed in v2.3.0 automagically:
... during each startup:
And a manual update will therefore never become active:
... as it is overridden with reference folder during every restart (because our $JENKINS_HOME/plugins folder is cleared completely on purpose)
Do you therefore recommend to add this jaxb plugin to the "plugins.txt"?
– or however this jaxb plugin dependency is defined – should actually get a jaxb plugin v2.3.0.1 dependency instead of v2.3.0?
Or do you think adding the jenkins core
Oh, I have just seen https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/#javax-xml-bind-libraries
=> Is therefore adding this jaxb plugin to the "plugins.txt" with v2.3.0.1 the right thing?