#360 - Add TravisCI and Maven profiles for Java 9 build.
This commit is contained in:
@@ -2,6 +2,7 @@ language: java
|
||||
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
- oraclejdk9
|
||||
|
||||
addons:
|
||||
apt:
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<name>Spring Data JPA - EclipseLink setup example</name>
|
||||
|
||||
<properties>
|
||||
<eclipselink.version>2.6.4</eclipselink.version>
|
||||
<eclipselink.version>2.7.1</eclipselink.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
||||
32
pom.xml
32
pom.xml
@@ -17,7 +17,6 @@
|
||||
|
||||
<modules>
|
||||
<module>bom</module>
|
||||
<module>cassandra</module>
|
||||
<module>couchbase</module>
|
||||
<module>elasticsearch</module>
|
||||
<module>jdbc</module>
|
||||
@@ -56,6 +55,37 @@
|
||||
<spring-data-releasetrain.version>Lovelace-M2</spring-data-releasetrain.version>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>java8</id>
|
||||
|
||||
<activation>
|
||||
<jdk>1.8</jdk>
|
||||
</activation>
|
||||
|
||||
<modules>
|
||||
|
||||
<!-- Embedded Cassandra (cassandra-all) is not compatible with Java runtime 9 and higher.
|
||||
See https://issues.apache.org/jira/browse/CASSANDRA-9608 -->
|
||||
<module>cassandra</module>
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>java9</id>
|
||||
|
||||
<activation>
|
||||
<jdk>9</jdk>
|
||||
</activation>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
<developers>
|
||||
|
||||
Reference in New Issue
Block a user