Skip to content

Commit

Permalink
Merge pull request #66 from slachiewicz/java12
Browse files Browse the repository at this point in the history
Compile and test with Java 12-ea
  • Loading branch information
batmat authored Nov 26, 2018
2 parents 854bac3 + 67fc232 commit 2b26c75
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jdk:
- openjdk7
- openjdk8
- openjdk11
- openjdk-ea
install:
- "mvn --show-version --errors --batch-mode validate dependency:go-offline"
script: "mvn --show-version --errors --batch-mode clean verify"
Expand Down
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down Expand Up @@ -241,4 +245,17 @@
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>java12</id>
<activation>
<jdk>[12,)</jdk>
</activation>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.release>7</maven.compiler.release>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 2b26c75

Please sign in to comment.