Skip to content

Upgrade project from Java 8 to Java 17 - #2

Open
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1784331016-java17-upgrade
Open

Upgrade project from Java 8 to Java 17#2
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1784331016-java17-upgrade

Conversation

@devin-ai-integration

Copy link
Copy Markdown

Summary

Upgrades the build target from Java 8 to Java 17.

pom.xml:

  • Replaced the two maven.compiler.source/maven.compiler.target = 1.8 properties with a single maven.compiler.release = 17 (the modern, preferred approach).
  • Bumped the javadoc plugin <source>8</source> to 17.
  • Pinned maven-compiler-plugin to 3.13.0. This was required: the parent POM (oss-parent:9) inherits maven-compiler-plugin:3.1, which ignores maven.compiler.release and fell back to source/target 5, failing under JDK 17 with Source option 5 is no longer supported.

Dockerfile:

  • Base image maven:3.6.3-jdk-8maven:3.9.9-eclipse-temurin-17 (CI builds/runs tests from this image).

No other plugins needed changes — maven-surefire-plugin/maven-failsafe-plugin (2.19.1) run fine under JDK 17, and cobertura-maven-plugin has no lifecycle-bound execution so it never runs during verify.

Verification

JAVA_HOME=<jdk17> mvn clean package → BUILD SUCCESS: 2069 main + 63 test sources compile with javac [release 17]; jar, sources jar, and javadoc jar all build.

mvn clean verify fails locally only on the integration tests, which require PLAID_CLIENT_ID/PLAID_SECRET (supplied via env in CI) — unrelated to the JDK upgrade.

Link to Devin session: https://app.devin.ai/sessions/0f802bfb417f498db0468d240cd58f6c
Requested by: @DS2853

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@DS2853 DS2853 self-assigned this Jul 17, 2026
@devin-ai-integration

Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

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