Hi *,

I recently got a PR for the jclouds-plugin which claims to establish java11 
compatibility.
Knowing that jclouds-2.2.x is NOT java11-ready yet, I postponed this until 
jclouds-2.3.0 is out.
Well, yesterday they released 2.3.0 and I started working on that PR. 
Unfortunately, it turns out
that jclouds-2.3.0 depends on guice-4.2.3. Apparently they did this because of 
java11 compatibility issues.
A short search for java11 compatibility of guice-4.0 shows, that it is 
definitively *NOT* java11-ready.

The maven-enforcer blocks this currently:

[WARNING] Rule 4: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps 
failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for com.google.inject:guice:4.0 paths to 
dependency are:
+-org.jenkins-ci.plugins:jclouds-shaded:2.21-SNAPSHOT
  +-org.apache.jclouds:jclouds-core:2.3.0
    +-com.google.inject:guice:4.0 (managed) <-- com.google.inject:guice:4.2.3
and
+-org.jenkins-ci.plugins:jclouds-shaded:2.21-SNAPSHOT
  +-org.apache.jclouds:jclouds-core:2.3.0
    +-com.google.inject:guice:4.0 (managed) <-- com.google.inject:guice:4.2.3
and
+-org.jenkins-ci.plugins:jclouds-shaded:2.21-SNAPSHOT
  +-org.jenkins-ci.main:jenkins-core:2.263.1
    +-com.google.inject:guice:4.0 (managed) <-- com.google.inject:guice:4.2.3
and
+-org.jenkins-ci.plugins:jclouds-shaded:2.21-SNAPSHOT
  +-org.apache.jclouds:jclouds-core:2.3.0
    +-com.google.inject.extensions:guice-assistedinject:4.2.3
      +-com.google.inject:guice:4.0 (managed) <-- com.google.inject:guice:4.2.3

This raises the question:
If jenkins claims to be java11-compatible, should it not bump up it's 
dependency on guice to 4.2.3 as well?

Thanks
 -Fritz


--
You received this message because you are subscribed to the Google Groups "Jenkins 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/f3ecc679-6de5-dc0c-4033-b56005042128%40fritz-elfert.de.

Attachment: OpenPGP_0x6E8338980332A6B0.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to