Skip to content

Commit 09c4b1c

Browse files
committed
Upgrade && add github ci
1 parent 8911e06 commit 09c4b1c

File tree

2 files changed

+30
-5
lines changed

2 files changed

+30
-5
lines changed

.github/workflows/java8.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Java 8 CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
with:
19+
fetch-depth: 1
20+
- name: Set up JDK 1.8
21+
uses: actions/setup-java@v1
22+
with:
23+
java-version: 1.8
24+
- name: Build with Maven
25+
run: mvn --batch-mode --update-snapshots verify

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1313
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
14-
<kotlin.version>1.4.10</kotlin.version>
14+
<kotlin.version>1.4.31</kotlin.version>
1515
<lucene.version>8.5.2</lucene.version>
1616
<word.version>1.3</word.version>
1717
<gson.version>2.8.6</gson.version>
@@ -47,7 +47,7 @@
4747
<dependency>
4848
<groupId>mysql</groupId>
4949
<artifactId>mysql-connector-java</artifactId>
50-
<version>5.1.38</version>
50+
<version>8.0.16</version>
5151
<scope>test</scope>
5252
</dependency>
5353

@@ -111,7 +111,7 @@
111111
<plugin>
112112
<groupId>org.apache.maven.plugins</groupId>
113113
<artifactId>maven-compiler-plugin</artifactId>
114-
<version>3.2</version>
114+
<version>3.8.1</version>
115115
<configuration>
116116
<source>1.8</source>
117117
<target>1.8</target>
@@ -141,7 +141,7 @@
141141
<plugin>
142142
<groupId>org.apache.maven.plugins</groupId>
143143
<artifactId>maven-source-plugin</artifactId>
144-
<version>2.2.1</version>
144+
<version>3.2.1</version>
145145
<executions>
146146
<execution>
147147
<phase>package</phase>
@@ -154,7 +154,7 @@
154154
<plugin>
155155
<groupId>org.apache.maven.plugins</groupId>
156156
<artifactId>maven-resources-plugin</artifactId>
157-
<version>2.7</version>
157+
<version>3.2.0</version>
158158
</plugin>
159159
<plugin>
160160
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)