Skip to content

Upgrade JUnit to 6.1.3, Maven plugins, and target Java 17 - #1

Merged
oraclefoo merged 1 commit into
masterfrom
devin/1790377808-upgrade-maven-deps
Sep 25, 2026
Merged

oraclefoo merged 1 commit into
masterfrom
devin/1790377808-upgrade-maven-deps

Conversation

@devin-ai-integration

Copy link
Copy Markdown

Summary

Modernizes the build. The pom previously declared only junit-jupiter-api with no engine and pinned no surefire version, so tests were silently not runnable on a current toolchain; it now imports the junit-bom and depends on the junit-jupiter aggregate, with surefire pinned.

  • JUnit 5.9.2 → 6.1.3 via org.junit:junit-bom import + junit-jupiter aggregate (brings the engine)
  • Plugins: compiler 3.11.0 → 3.16.0, jar 3.3.0 → 3.5.1, enforcer 3.2.1 → 3.6.3; pinned surefire 3.6.0, install 3.2.0, help 3.5.2 (the latter two used by jenkins/scripts/deliver.sh)
  • Added maven.compiler.release=17; enforcer now requires Maven [3.9.0,) and Java [17,) (JUnit 6 requires Java 17+)
  • Jenkinsfile agent image maven:3.9.0 → maven:3.9-eclipse-temurin-17

Verified locally with Maven 3.9.9 / JDK 17: mvn clean verify passes (2 tests), the executable jar prints Hello World!, and jenkins/scripts/deliver.sh runs end to end.

Link to Devin session: https://app.devin.ai/sessions/8913315af198494dab7ed91724147f96
Open in Devin Desktop: https://app.devin.ai/desktop/session/8913315af198494dab7ed91724147f96?variant=devin
Requested by: @oraclefoo

Co-Authored-By: oraclefoo@yahoo.com <oraclefoo@yahoo.com>
@devin-ai-integration

Copy link
Copy Markdown
Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • 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 bugs or issues to report.

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