Bug#875353: FTBFS with Java 9: (mvn) javadoc classpath

Chris West debian at fau.xxx
Sun Sep 10 20:18:23 UTC 2017


Source: commons-vfs
Version: 2.1
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

This fails to find the right classpath during the javadoc build, despite
being a maven project. This is unusual. See the wiki.

Build log:

[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ commons-vfs2 ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.4:jar (default-cli) @ commons-vfs2 ---
[INFO] 
71 errors
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache Commons VFS
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Commons VFS ................................. SUCCESS [  3.312 s]
[INFO] Apache Commons VFS Core ............................ FAILURE [ 30.852 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34.995 s
[INFO] Finished at: 2017-08-30T21:11:52Z
[INFO] Final Memory: 23M/80M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (default-cli) on project commons-vfs2: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - /build/commons-vfs-2.1/core/src/main/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileObject.java:32: error: package org.apache.hadoop.fs does not exist
[ERROR] import org.apache.hadoop.fs.FileStatus;
[ERROR]                            ^
[ERROR] /build/commons-vfs-2.1/core/src/main/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileObject.java:33: error: package org.apache.hadoop.fs does not exist
[ERROR] import org.apache.hadoop.fs.FileSystem;
[ERROR]                            ^



Cheers,
Chris.



More information about the pkg-java-maintainers mailing list