Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17' # maven won't accept --release argument with java < 8; and 11 is next LTS
distribution: 'temurin'
java-version: '21'
- id: 'read-cache-maven-packages'
name: Read Cached Maven packages
uses: actions/cache@v4
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- uses: actions/setup-java@v4
with:
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
Comment on lines 58 to +59
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.
- id: 'read-cache-maven-packages'
name: Read Cached Maven packages
uses: actions/cache@v4
Expand Down
258 changes: 0 additions & 258 deletions java/appengine-pipeline-0.3+worklytics.12-pom.xml

This file was deleted.

37 changes: 25 additions & 12 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</license>
</licenses>
<properties>
<revision>0.3+worklytics.12</revision>
<revision>0.3+worklytics.13</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jackson.version>[2.18.2, 2.18.3)</jackson.version> <!-- 2.18.2+ (stable) -->
<dagger.version>2.55</dagger.version> <!-- 2.55+ adds support for injecting jakarta.inject.Provider -->
Expand All @@ -39,18 +39,31 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<version>3.15.0</version>
<configuration>
<source>17</source>
<target>17</target>

<source>21</source>
<target>21</target>
Comment on lines +44 to +45
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.
<useIncrementalCompilation>false</useIncrementalCompilation>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>com.google.dagger</groupId>
<artifactId>dagger-compiler</artifactId>
<version>${dagger.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<version>3.5.2</version>
<configuration>

<environmentVariables>
<!-- allows DatastoreOptions.getDefaultInstance() to work in tests -->
<GOOGLE_CLOUD_PROJECT>test-project</GOOGLE_CLOUD_PROJECT>
Expand All @@ -61,7 +74,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.1</version>
<version>3.5.0</version>
<configuration>
<archive>
<manifest>
Expand Down Expand Up @@ -137,11 +150,6 @@
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.googlecode.charts4j</groupId>
<artifactId>charts4j</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
Expand All @@ -167,6 +175,11 @@


<!-- to support Pipelines UX -->
<dependency>
<groupId>com.googlecode.charts4j</groupId>
<artifactId>charts4j</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
Expand Down
Loading