Skip to content

Commit

Permalink
Merge pull request #386 from vmware/feature/java-21
Browse files Browse the repository at this point in the history
[all] (#330) Support for Java version 21 LTS
  • Loading branch information
VenelinBakalov committed Aug 19, 2024
2 parents dd57325 + 46543b0 commit 8afde33
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
java: ["17"]
java: ["17","21"]
maven: ["3.9.2"]
node: ["16.20.2"]
node_vmware_samples: ["14.17.1"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.7.0
with:
java-version: '17'
java-version: '21'
java-distribution: 'temurin'
maven-version: '3.9.2'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Java Action
uses: actions/setup-java@v3
with:
java-version: "17"
java-version: "21"
distribution: "temurin"

- name: Super-Linter
Expand Down
6 changes: 3 additions & 3 deletions common/artifact-manager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<version>0.8.12</version>
<executions>
<execution>
<id>prepare-agent</id>
Expand All @@ -48,8 +48,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
</plugins>
Expand Down
2 changes: 1 addition & 1 deletion common/o11n/project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<version>0.8.12</version>
<executions>
<execution>
<id>prepare-agent</id>
Expand Down
10 changes: 1 addition & 9 deletions maven/plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<version>0.8.12</version>
<executions>
<execution>
<id>prepare-agent</id>
Expand Down
2 changes: 1 addition & 1 deletion package-installer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<version>0.8.12</version>
<executions>
<execution>
<id>prepare-agent</id>
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<properties>
<main.basedir>${project.basedir}</main.basedir>
<revision>2.41.1-SNAPSHOT</revision>
<java.version>17</java.version>
</properties>

<licenses>
Expand Down Expand Up @@ -154,8 +155,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 8afde33

Please sign in to comment.