Mick Killianey provided me with the following patch to the Java package
(version 1.46) which restricts the junit dependency to testing scope.
This will be incorporated in version 1.47.
diff --git a/java/pom.xml b/java/pom.xml index 65ab122..1a11ff1 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -172,6 +172,7 @@ <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> + <scope>test</scope> </dependency> </dependencies>