Skip to content

AVRO-XXXX: [Build] Modernize build system: parallel builds, Maven 3.9.15, drop Java 8 from CI#3762

Draft
iemejia wants to merge 3 commits into
apache:mainfrom
iemejia:AVRO-XXXX-build
Draft

AVRO-XXXX: [Build] Modernize build system: parallel builds, Maven 3.9.15, drop Java 8 from CI#3762
iemejia wants to merge 3 commits into
apache:mainfrom
iemejia:AVRO-XXXX-build

Conversation

@iemejia
Copy link
Copy Markdown
Member

@iemejia iemejia commented May 5, 2026

Summary

  • Enable Maven build cache extension and configure parallel builds (-T1C) for faster CI
  • Upgrade Maven from 3.9.6/3.9.8/3.9.9/3.9.11 to 3.9.15 across all build configurations (enforcer rule, maven-core dependency, Dockerfile, CI workflows, and docs)
  • Replace pinned SHA references for stCarolas/setup-maven with the cleaner @v5 tag
  • Remove Java 8 from setup-java version lists in CI workflows since it is no longer a supported target

Ubuntu and others added 2 commits May 5, 2026 01:43
Update Maven version from 3.9.6/3.9.8/3.9.9/3.9.11 to 3.9.15 across all
build configurations (pom.xml enforcer rule, maven-core dependency,
Dockerfile, CI workflows, and docs).
Replace pinned SHA references for stCarolas/setup-maven with the @v5 tag.
Remove Java 8 from setup-java version lists since it is no longer supported.
Update maven 4 to RC 5 version
- name: 'Setup Maven 3.9.11'
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
- name: 'Setup Maven 3.9.15'
uses: stCarolas/setup-maven@v5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My understanding is that the hash is the correct way to go from a security perspective since it cannot silently update to a newer version.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Even better would be to avoid a third-party action

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we really need this, it looks like the setup-java one comes with Maven: https://docs.github.com/en/actions/tutorials/build-and-test-code/java-with-maven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants