Cephfs mvn build doc command error out
See original GitHub issueAlluxio Version: Alluxio master 2.6.0-SNAPSHOT-c6582b0cdcb83e41209cf00b809690588434a106
Describe the bug
Doc generation failed after PR https://github.com/Alluxio/alluxio/commit/3ef4728df196c17e4eb397f6612e41b68fe26791 merged.
After removing the whole underfs/cephfs, the mvn javadoc:aggregate
command passed.
To Reproduce In linux environment, git clone https://github.com/alluxio/alluxio git init git fetch origin git checkout origin/master mvn clean install --no-transfer-progress -T 2C -DskipTests -Dmaven.javadoc.skip -Dcheckstyle.skip -Dlicense.skip -Dfindbugs.skip mvn javadoc:aggregate --no-transfer-progress -T 2C -Dcheckstyle.skip -Dlicense.skip -Dfindbugs.skip
the javadoc:aggregate command error out
[INFO] Forking Alluxio Shaded Libraries - cephfs-hadoop 2.6.0-SNAPSHOT
[WARNING] Invalid POM for com.ceph.fs:cephfs-hadoop:jar:0.80.6, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Forking Alluxio Under File System - CephFS 2.6.0-SNAPSHOT
02:24:43 [WARNING] The POM for com.ceph:libcephfs:jar:0.80.5 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Forking Alluxio UI 2.6.0-SNAPSHOT
[WARNING] Invalid POM for com.ceph.fs:cephfs-hadoop:jar:0.80.6, transitive dependencies (if any) will not be available, enable debug logging for more details
02:27:14 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:aggregate (default-cli) on project alluxio-parent: Execution default-cli of goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:aggregate failed: For artifact {com.ceph:libcephfs:null:jar}: The version cannot be empty. -> [Help 1]
Expected behavior Expect the cephfs not affecting the docs publish mvn build.
Urgency High, it blocks the alluxio doc generation
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
@tieujason330 FYI
@LuQQiu After some reproduction, I found that there are a unspecified variable within the pom.xml of libcephfs.
https://repo1.maven.org/maven2/com/ceph/libcephfs/0.80.5/libcephfs-0.80.5.pom