Skip to content

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

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

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

Conversation

hhughes
Copy link
Contributor

@hhughes hhughes commented Aug 21, 2023

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant