From ddc688dcd8875467bf7202def4676635e7d84b99 Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Mon, 8 Oct 2018 14:22:06 -0400 Subject: [PATCH 1/2] travis: test on openjdk11 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 09703d46..431503c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: java jdk: + - openjdk11 - openjdk10 - openjdk9 - openjdk8 From 6744acf3335802b3c04a062155543ad9300f9f52 Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Mon, 8 Oct 2018 14:35:46 -0400 Subject: [PATCH 2/2] update org.apache.maven:maven-archiver to resolve Java 11 issue see https://github.com/spotify/dockerfile-maven/issues/77#issuecomment-331531574 - for some reason org.codehaus.plexus.archiver.zip.AbstractZipArchiver (which comes from a transitive dependency of maven-archiver) is throwing an exception on Java 11 when maven-archiver is at v3.0.0. Updated to latest (3.2.0) to pull in newer transitive dependencies. Also upgraded a bunch of other dependencies that caused requireUpperBoundsDep problems once maven-archiver was at 3.2.0 --- CHANGELOG.md | 5 +++++ plugin/pom.xml | 22 ++++++++++++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 572ef3f7..57f87ed7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog ## 1.4.6 (release TBD) +- Fix an ExceptionInInitializerError when plugin is used on Java 11 ([230][]) + +[230]: https://github.com/spotify/dockerfile-maven/pull/230 + +## 1.4.6 (released October 5 2018) - Support for Java 9 and 10 diff --git a/plugin/pom.xml b/plugin/pom.xml index 8632750d..caa4b445 100644 --- a/plugin/pom.xml +++ b/plugin/pom.xml @@ -25,6 +25,16 @@ jsr305 2.0.1 + + org.apache.commons + commons-compress + 1.14 + + + org.codehaus.plexus + plexus-interpolation + 1.24 + @@ -43,7 +53,7 @@ com.google.guava guava - 20.0 + 23.6.1-jre com.spotify @@ -54,18 +64,18 @@ org.apache.maven maven-plugin-api - 3.3.9 + 3.5.4 org.apache.maven maven-core - 3.3.9 + 3.5.4 org.apache.maven maven-archiver - 3.0.0 + 3.2.0 @@ -83,7 +93,7 @@ org.apache.maven.plugin-tools maven-plugin-annotations - 3.4 + 3.5.2 provided @@ -117,7 +127,7 @@ org.apache.maven.plugins maven-plugin-plugin - 3.4 + 3.5.2 dockerfile true