Skip to content

Commit

Permalink
Support JDK9 on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuki43zoo committed Oct 28, 2017
1 parent a3d2809 commit d8cfee6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ install: true
script:
- mvn xml:check-format -P xml-check-format
- mvn formatter:validate -P common-libs
- mvn -U clean install -X
- mvn -U clean install
- mvn -U -P common-libs jacoco:report coveralls:report
26 changes: 26 additions & 0 deletions terasoluna-gfw-common-libraries/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,32 @@
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>jdk9</id>
<activation>
<jdk>9</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<property>
<name>java.version</name>
<value>9.0</value>
</property>
</systemProperties>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
<properties>
<!-- == Maven Plugin Versions == -->
<maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version>
Expand Down

0 comments on commit d8cfee6

Please sign in to comment.