Skip to content
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

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

Closed
wants to merge 3 commits into from

Conversation

hhughes
Copy link
Contributor

@hhughes hhughes commented Jul 29, 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

@hhughes hhughes force-pushed the JAVA-3078 branch 7 times, most recently from 59f3d76 to 3f71d7d Compare July 29, 2023 06: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
@hhughes hhughes force-pushed the JAVA-3078 branch 2 times, most recently from e9e7ded to 6710ac1 Compare August 16, 2023 19:06
@hhughes
Copy link
Contributor Author

hhughes commented Aug 16, 2023

com.datastax.dse.driver.api.core.graph.ClassicGraphGeoSearchIndexIT
com.datastax.dse.driver.api.core.graph.ClassicGraphTextSearchIndexIT
com.datastax.dse.driver.api.core.graph.CoreGraphGeoSearchIndexIT
com.datastax.dse.driver.api.core.graph.CoreGraphTextSearchIndexIT

A few DSE integration tests failing with jdk17 due to https://datastax.jira.com/browse/DSP-23506

@hhughes
Copy link
Contributor Author

hhughes commented Aug 21, 2023

Reopened from fork. See #1712

@hhughes hhughes closed this Aug 21, 2023
@hhughes hhughes deleted the JAVA-3078 branch August 21, 2023 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant