Skip to content

Conversation

@lhotari
Copy link
Member

@lhotari lhotari commented May 9, 2022

Motivation

After PIP-156 PR #15264 changes, Java JDK 17 is required for building Pulsar.
The previous solution to support building with Java 8 and Java 11 had added jdk11 profile. This can be removed now.

Modifications

  • remove obsolete jdk11, errorprone-jdk8 and errorprone-jdk11 profiles
  • add Maven Enforcer plugin to stop the build when JDK is not Java 17+

@lhotari lhotari added area/build doc-not-needed Your PR changes do not impact docs labels May 9, 2022
@lhotari lhotari added this to the 2.11.0 milestone May 9, 2022
Copy link
Contributor

@nicoloboschi nicoloboschi left a comment

Choose a reason for hiding this comment

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

LGTM

lhotari added 4 commits May 9, 2022 15:09
…lease setting

- it's not possible to clear maven.compiler.release property in a profile and that's
  why it's better to not use maven.compiler.release property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants