Skip to content

Commit 1cbfec6

Browse files
kiviewrnorth
authored andcommitted
Add jdk9 build to travis (#562)
* Add jdk9 build to travis * Add jaxb-api dependency for jdk9 compatibility
1 parent 86718b1 commit 1cbfec6

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
env: [ NAME=core ]
3232
script: ./mvnw -pl core test
3333

34+
- stage: test
35+
env: [ NAME=core ]
36+
jdk: oraclejdk9
37+
script:
38+
- ./mvnw -pl core test
39+
3440
- env: [ NAME=selenium ]
3541
script: ./mvnw -pl modules/selenium test
3642

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
All notable changes to this project will be documented in this file.
33

44
### Fixed
5+
- Fixed incompatibility of Docker-Compose container with JDK9. ([\#562](https://github.com/testcontainers/testcontainers-java/pull/562))
56
- Fixed retrieval of Docker host IP when running inside Docker. ([\#479](https://github.com/testcontainers/testcontainers-java/issues/479))
67
- Compose is now able to pull images from private repositories. ([\#536](https://github.com/testcontainers/testcontainers-java/issues/536))
78
- Fixed overriding MySQL image command. ([\#534](https://github.com/testcontainers/testcontainers-java/issues/534))
89

910
### Changed
11+
- Added JDK9 build and tests to Travis-CI. ([\#562](https://github.com/testcontainers/testcontainers-java/pull/562))
1012
- Added Kafka module ([\#546](https://github.com/testcontainers/testcontainers-java/pull/546))
1113
- Added "Death Note" to track & kill spawned containers even if the JVM was "kill -9"ed ([\#545](https://github.com/testcontainers/testcontainers-java/pull/545))
1214
- Environment variables are now stored as Map instead of List ([\#550](https://github.com/testcontainers/testcontainers-java/pull/550))

core/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@
4848
</exclusions>
4949
</dependency>
5050

51+
52+
<!-- Added for JDK9 compatibility since it's missing this package -->
53+
<dependency>
54+
<groupId>javax.xml.bind</groupId>
55+
<artifactId>jaxb-api</artifactId>
56+
<version>2.3.0</version>
57+
</dependency>
58+
5159
<dependency>
5260
<!-- docker-java uses SslConfigurator from jersey-common for TLS -->
5361
<groupId>org.glassfish.jersey.core</groupId>

0 commit comments

Comments
 (0)