Skip to content

Conversation

@devin-ai-integration
Copy link

Update Core Java & Build Configuration for Java 11 Migration

Summary

This PR implements Component 1 of the Java 8 to Java 11 migration plan by updating only the Maven build configuration to target Java 11. No dependencies or application code have been modified.

Changes:

  • Updated java.version property from 1.8 to 11 (pom.xml line 18)
  • Added Maven compiler plugin configuration with source, target, and release all set to 11 (pom.xml lines 82-90)
  • Verified Maven wrapper files (mvnw, mvnw.cmd) exist in repository root

Verification performed:

  • ✅ Compilation successful with Java 11 (mvn clean compile)
  • ✅ Tests pass with Java 11 (mvn test - 1 test, 0 failures)

Review & Testing Checklist for Human

Critical items to verify before merging:

  • CI/CD environments use Java 11+ - The --release flag requires Maven to run with JDK 9 or higher. Builds will fail with "invalid flag: --release" if Maven is running on Java 8. Update CI/CD configurations accordingly.

  • Test full application functionality - Only basic context loading was tested. Run the application with Java 11 and verify all banking operations work correctly:

  • Deployment environment readiness - Confirm staging/production environments are configured to use Java 11 runtime (not just build time)

  • Scope alignment - Verify this matches expected scope: build configuration only, NO dependency upgrades (Spring Boot 2.1.4 remains unchanged as intended for separate task)

Notes

  • Spring Boot 2.1.4.RELEASE was designed for Java 8 but appears compatible with Java 11 based on testing. Dependency upgrades will be handled in a separate component.
  • Maven wrapper exists but wasn't explicitly tested with Java 11
  • Limited test coverage (1 context load test) - functional testing recommended before production deployment

Link to Devin run: https://app.devin.ai/sessions/e6399634e33243f68ed962bafb659f83
Requested by: Jaime Mizrachi (@jaime-leo)

- Update java.version property from 1.8 to 11
- Add Maven compiler plugin configuration with source, target, and release set to 11
- Verified Maven wrapper files (mvnw, mvnw.cmd) exist in repository root
- Compilation and tests pass successfully with Java 11

Co-Authored-By: Jaime Mizrachi <jaime@cognition.ai>
@devin-ai-integration
Copy link
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 and CI monitoring

@devin-ai-integration devin-ai-integration bot changed the base branch from dependabot/maven/io.springfox-springfox-swagger-ui-2.10.0 to master October 13, 2025 23:42
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