java-driver icon indicating copy to clipboard operation
java-driver copied to clipboard

JAVA-3078: Provide support for building with Java 11 and Java 17

Open hhughes opened this issue 2 years ago • 0 comments

Details:

  • Update to api-plumber-doclet 2.0.0
  • Add org.jetbrains:annotations as additionalDependency for core-shaded
  • Refactor table summary tag as caption element to conform to HTML5
  • Refactor < h3> usage to < h2> to conform to heading tag ordering for HTML5
  • Explicitly define annotationProcessorPaths for mapper-processor, slf4j-nop and gremlin-core
  • [java11+] Upgrade errorprone to 2.19.1
  • [java11+] Update custom javadoc leaks tag to full string: leaks-private-api
  • Add build-java-8 profile for compiling with java 8
  • Add build-java-11 profile for compiling with java 11
  • [java11+] Exclude many new error prone checks enabled by default in the new version (see JAVA-3102)
  • [java11+] Use release=8 instead of source/target=1.8 to automatically select correct bootstrap path
  • [java11+] Use fork=true with maven-compiler-plugin to pick up compilerArgs
  • [java11+] Load error-prone plugin using annotationProcessorPaths, per documentation guidance
  • Refactor Jenkinsfile to compile project with the Java version selected in the pipeline matrix
  • Remove test-jdk profiles and surefire/failsafe JVM overrides added in JAVA-3042
  • Update org.apache.felix.framework to 7.0.1 to support java17 without forking new JVM (FELIX-6287)
  • Update commons-configuration2 in OSGi BundleOptions to 2.9.0 for java11
  • [java11+] Set JAVA_HOME=JAVA8_HOME in CcmBridge if using DSE which only supports java8
  • set --jvm_version when calling ccm start for dse that supports java11 (workaround DSP-23501)
  • update travis config to run full build + test with java 11 + 17

hhughes avatar Aug 21 '23 22:08 hhughes