Skip to content

Commit 17b702d

Browse files
authored
Upgrade to Java 11 (#743)
1 parent ba18e77 commit 17b702d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ before_install:
99
install: true
1010
dist: trusty
1111
jdk:
12-
- oraclejdk8
12+
- oraclejdk11
1313
script:
1414
- mvn clean package appassembler:assemble
1515
- find target/appassembler/bin/ -type f -exec sed -i 's/-Xmx.*G/-Xmx2G/g' {} \;

pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@
7676
<plugin>
7777
<groupId>org.apache.maven.plugins</groupId>
7878
<artifactId>maven-compiler-plugin</artifactId>
79-
<version>3.7.0</version>
79+
<version>3.8.1</version>
8080
<configuration>
81-
<source>1.8</source>
82-
<target>1.8</target>
83-
<testSource>1.8</testSource>
84-
<testTarget>1.8</testTarget>
81+
<source>11</source>
82+
<target>11</target>
83+
<testSource>11</testSource>
84+
<testTarget>11</testTarget>
8585
<showDeprecation>true</showDeprecation>
8686
<compilerArgument>-Xlint:unchecked</compilerArgument>
8787
</configuration>
@@ -123,7 +123,7 @@
123123
<plugin>
124124
<groupId>org.apache.maven.plugins</groupId>
125125
<artifactId>maven-javadoc-plugin</artifactId>
126-
<version>3.0.1</version>
126+
<version>3.1.0</version>
127127
<executions>
128128
<execution>
129129
<id>attach-javadocs</id>
@@ -139,7 +139,7 @@
139139
<plugin>
140140
<groupId>org.apache.maven.plugins</groupId>
141141
<artifactId>maven-shade-plugin</artifactId>
142-
<version>3.1.0</version>
142+
<version>3.2.1</version>
143143
<executions>
144144
<execution>
145145
<!-- default is to bind to package phase: we override and not create fatjar unless explicitly
@@ -179,12 +179,12 @@
179179
<plugin>
180180
<groupId>org.apache.maven.plugins</groupId>
181181
<artifactId>maven-source-plugin</artifactId>
182-
<version>3.0.1</version>
182+
<version>3.1.0</version>
183183
</plugin>
184184
<plugin>
185185
<groupId>org.apache.maven.plugins</groupId>
186186
<artifactId>maven-deploy-plugin</artifactId>
187-
<version>2.8.2</version>
187+
<version>3.0.0-M1</version>
188188
</plugin>
189189
<plugin>
190190
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)