Skip to content

Commit 488076b

Browse files
committed
Use JDK 11 with release option for JDK 8
1 parent 556ecb7 commit 488076b

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.github/workflows/tests-ce.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,19 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
tarantool-version: [ "1.x", "2.10.6"]
17+
tarantool-version: [ "1.x", "2.11.6"]
1818
fail-fast: false
1919
steps:
2020
- uses: actions/checkout@v2
2121

22-
- name: Set up JDK 1.8
23-
uses: actions/setup-java@v1
22+
- name: Set up JDK 11
23+
uses: actions/setup-java@v5
2424
with:
25-
java-version: 1.8
25+
java-version: 11
26+
distribution: zulu
2627

2728
- name: Cache Maven packages
28-
uses: actions/cache@v2
29+
uses: actions/cache@v4.2.0
2930
with:
3031
path: ~/.m2
3132
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/tests-ee.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717

18-
- name: Set up JDK 1.8
19-
uses: actions/setup-java@v1
18+
- name: Set up JDK 11
19+
uses: actions/setup-java@v5
2020
with:
21-
java-version: 1.8
21+
java-version: 11
22+
distribution: zulu
2223

2324
- name: Cache Maven packages
24-
uses: actions/cache@v2
25+
uses: actions/cache@v4.2.0
2526
with:
2627
path: ~/.m2
2728
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

pom.xml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,14 @@
6868
<plugin>
6969
<groupId>org.apache.maven.plugins</groupId>
7070
<artifactId>maven-compiler-plugin</artifactId>
71-
<version>3.8.0</version>
71+
<version>3.8.1</version>
7272
<configuration>
73-
<compilerVersion>1.8</compilerVersion>
7473
<fork>true</fork>
7574
<debug>true</debug>
7675
<optimize>true</optimize>
7776
<showDeprecation>true</showDeprecation>
7877
<showWarnings>true</showWarnings>
79-
<source>8</source>
80-
<target>8</target>
78+
<release>8</release>
8179
<excludes>
8280
<exclude>**/package-info.java</exclude>
8381
</excludes>
@@ -96,8 +94,8 @@
9694
<configuration>
9795
<rules>
9896
<requireJavaVersion>
99-
<!-- Enforce JDK 1.8+ for compilation. -->
100-
<version>[1.8.0,)</version>
97+
<!-- Enforce JDK 1.11+ for compilation. -->
98+
<version>[1.11.0,)</version>
10199
</requireJavaVersion>
102100
<requireMavenVersion>
103101
<version>[3.1.1,)</version>
@@ -502,11 +500,11 @@
502500
<distributionManagement>
503501
<snapshotRepository>
504502
<id>sonatype-nexus-snapshots</id>
505-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
503+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
506504
</snapshotRepository>
507505
<repository>
508506
<id>sonatype-nexus-staging</id>
509-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
507+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
510508
</repository>
511509
</distributionManagement>
512510
</project>

0 commit comments

Comments
 (0)