Skip to content

Only Compile module-info.java in intermediate compile#29701

Merged
alzimmermsft merged 6 commits intoAzure:mainfrom
alzimmermsft:AzEng_SimplifyJava11Compile
Jun 29, 2022
Merged

Only Compile module-info.java in intermediate compile#29701
alzimmermsft merged 6 commits intoAzure:mainfrom
alzimmermsft:AzEng_SimplifyJava11Compile

Conversation

@alzimmermsft
Copy link
Member

Description

Updates the compile phases configured in the client parent POM to only compile module-info.java when compiling for the base module support. Also, this changes that compilation to use Java 9 to support the widest audience available even though most users using Java 9+ will be targeting Java 11 or 17 as they're the LTS versions.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@alzimmermsft alzimmermsft added the EngSys This issue is impacting the engineering system. label Jun 29, 2022
@alzimmermsft alzimmermsft requested a review from joshfree as a code owner June 29, 2022 16:33
@alzimmermsft alzimmermsft self-assigned this Jun 29, 2022
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

<configuration>
<release>11</release>
<!-- Use Java 9 to compile the module-info as we should support the lowest version above 8 available though most commonly this will be Java 11 as it's LTS -->
<release>9</release>
Copy link
Member

Choose a reason for hiding this comment

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

This will change the versions we support. All our previous releases (for a long time) have been to support 8 or 11+. With this change, it'll be 8+. It's good but we just want to make sure we make note of it in our policy.

@alzimmermsft alzimmermsft requested a review from srnagar June 29, 2022 19:59
@alzimmermsft alzimmermsft merged commit 6199e19 into Azure:main Jun 29, 2022
@alzimmermsft alzimmermsft deleted the AzEng_SimplifyJava11Compile branch June 29, 2022 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants