Skip to content

Commit 0c109e6

Browse files
committed
Update to Java source/target version 6.
Enable testing on JDK 9. To aid this, updated jacoco plugin dependency to latest version which is JDK9-compatible.
1 parent f9cc3b2 commit 0c109e6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jdk:
55
# - openjdk6 # No longer supported by Travis
66
- openjdk7
77
- oraclejdk8
8-
# - oraclejdk9 # Not testable on JDK9. Something maybe related to Jacoco mucking with the bootclasspaht
8+
- oraclejdk9
99

1010
# Additionally pass -Dgpg.skip to suppress signing instead of trying to provision
1111
# Travis's containers with keys.

parent/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ application while protecting against XSS.
177177
<artifactId>maven-compiler-plugin</artifactId>
178178
<version>3.3</version>
179179
<configuration>
180-
<source>1.5</source>
181-
<target>1.5</target>
180+
<source>6</source>
181+
<target>6</target>
182182
</configuration>
183183
</plugin>
184184
<plugin>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<plugin>
2424
<groupId>org.jacoco</groupId>
2525
<artifactId>jacoco-maven-plugin</artifactId>
26-
<version>0.7.5.201505241946</version>
26+
<version>0.7.9</version>
2727
<configuration>
2828
<destFile>${basedir}/target/coverage-reports/jacoco-unit.exec</destFile>
2929
<dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile>

0 commit comments

Comments
 (0)