Build with Java 8

This commit is contained in:
Jochen Schalanda 2017-03-09 00:09:40 +01:00
parent f0974029ec
commit 437a9d39ee
No known key found for this signature in database
GPG Key ID: 2FC1B61A8D1F4BB0
2 changed files with 2 additions and 7 deletions

View File

@ -2,9 +2,6 @@ sudo: required
dist: trusty dist: trusty
language: java language: java
jdk: jdk:
# - openjdk6
# - openjdk7
- oraclejdk7
- oraclejdk8 - oraclejdk8
addons: addons:
# Fix OpenJDK builds # Fix OpenJDK builds

View File

@ -49,6 +49,8 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties> </properties>
<distributionManagement> <distributionManagement>
@ -120,10 +122,6 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version> <version>3.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>