Skip to content

Commit

Permalink
Add jdk9 build to travis (#562)
Browse files Browse the repository at this point in the history
* Add jdk9 build to travis
* Add jaxb-api dependency for jdk9 compatibility
  • Loading branch information
kiview authored and rnorth committed Jan 28, 2018
1 parent 86718b1 commit 1cbfec6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
env: [ NAME=core ]
script: ./mvnw -pl core test

- stage: test
env: [ NAME=core ]
jdk: oraclejdk9
script:
- ./mvnw -pl core test

- env: [ NAME=selenium ]
script: ./mvnw -pl modules/selenium test

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
All notable changes to this project will be documented in this file.

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

### Changed
- Added JDK9 build and tests to Travis-CI. ([\#562](https://github.com/testcontainers/testcontainers-java/pull/562))
- Added Kafka module ([\#546](https://github.com/testcontainers/testcontainers-java/pull/546))
- 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))
- Environment variables are now stored as Map instead of List ([\#550](https://github.com/testcontainers/testcontainers-java/pull/550))
Expand Down
8 changes: 8 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@
</exclusions>
</dependency>


<!-- Added for JDK9 compatibility since it's missing this package -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>

<dependency>
<!-- docker-java uses SslConfigurator from jersey-common for TLS -->
<groupId>org.glassfish.jersey.core</groupId>
Expand Down

0 comments on commit 1cbfec6

Please sign in to comment.