Skip to content

S219 : prep next version#93

Merged
jlorper merged 4 commits intorc-0.13from
s219-prep-next-version
Feb 27, 2026
Merged

S219 : prep next version#93
jlorper merged 4 commits intorc-0.13from
s219-prep-next-version

Conversation

@eschultink
Copy link
Member

@eschultink eschultink commented Feb 25, 2026

Features

  • upgrade to Java 21
  • new mvn plugins
  • bump version number for next release

Change implications

  • breaking change to API? no
  • changes dependencies? yes

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Prepares the Java library for the next release by moving the build/tooling baseline to Java 21 and incrementing the Maven revision used for publishing artifacts.

Changes:

  • Bump Maven revision from 0.3+worklytics.12 to 0.3+worklytics.13.
  • Update Maven compiler settings from Java 17 to Java 21.
  • Update GitHub Actions Java test workflow to run on Java 21; remove the old version-specific POM file.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
java/pom.xml Version bump via revision property and compiler source/target updated to 21.
java/appengine-pipeline-0.3+worklytics.12-pom.xml Removes the old, version-pinned POM file from the repo.
.github/workflows/test-java.yml CI compilation/test jobs now run using Java 21.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 39 to 46
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>17</source>
<target>17</target>

<source>21</source>
<target>21</target>
</configuration>
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

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

PR description mentions "new mvn plugins", but the only Maven-related change in this diff is updating compiler source/target to 21. If additional plugin updates were intended, they may be missing from the PR description or from the actual changes—please align the description with what’s being shipped.

Copilot uses AI. Check for mistakes.
Comment on lines +44 to +45
<source>21</source>
<target>21</target>
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

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

Consider using the maven-compiler-plugin <release>21</release> setting instead of <source>/<target>. <release> ensures the correct JDK API level is used during compilation (and avoids accidental linkage against newer JDK classes when building on newer toolchains).

Suggested change
<source>21</source>
<target>21</target>
<release>21</release>

Copilot uses AI. Check for mistakes.
Comment on lines +19 to +20
distribution: 'adopt'
java-version: '17' # maven won't accept --release argument with java < 8; and 11 is next LTS
java-version: '21' # maven won't accept --release argument with java < 8; and 11 is next LTS
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

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

The inline comment about the Java version is outdated/misleading now that this is set to 21 (e.g., it mentions Java 11 being the next LTS and discusses --release, which this workflow doesn't use). Please update or remove the comment to reflect the current setup.

Copilot uses AI. Check for mistakes.
Comment on lines 58 to +59
distribution: 'adopt'
java-version: '17' # maven won't accept --release argument with java < 8; and 11 is next LTS
java-version: '21' # maven won't accept --release argument with java < 8; and 11 is next LTS
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

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

The inline comment about the Java version is outdated/misleading now that this is set to 21 (e.g., it mentions Java 11 being the next LTS and discusses --release, which this workflow doesn't use). Please update or remove the comment to reflect the current setup.

Copilot uses AI. Check for mistakes.
@jlorper jlorper merged commit a6375f0 into rc-0.13 Feb 27, 2026
7 checks passed
@jlorper jlorper deleted the s219-prep-next-version branch February 27, 2026 16:54
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.

3 participants