Skip to content

Commit 3c08ddb

Browse files
authored
Update maven.yml (#35)
* Update maven.yml * Update maven-publish.yml * Update pom.xml * Update maven.yml * Update maven-publish.yml
1 parent 6b16cce commit 3c08ddb

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 8 for Maven Central Repository
19+
- name: Set up JDK 11 for Maven Central Repository
2020
uses: actions/setup-java@v2
2121
with:
22-
java-version: '8'
22+
java-version: '11'
2323
distribution: 'temurin'
2424
server-id: ossrh
2525
server-username: MAVEN_USERNAME

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v2
16-
- name: Set up JDK 8
16+
- name: Set up JDK 11
1717
uses: actions/setup-java@v2
1818
with:
19-
java-version: '8'
19+
java-version: '11'
2020
distribution: 'temurin'
2121
cache: maven
2222
- name: Build with Maven

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
<artifactId>maven-compiler-plugin</artifactId>
5656
<version>3.13.0</version>
5757
<configuration>
58-
<source>9</source>
59-
<target>9</target>
58+
<source>11</source>
59+
<target>11</target>
6060
</configuration>
6161
</plugin>
6262
<plugin>
@@ -120,4 +120,4 @@
120120
<version>1.5.3</version>
121121
</dependency>
122122
</dependencies>
123-
</project>
123+
</project>

0 commit comments

Comments
 (0)