Description
"mvn package -Pdist,docs,src -DskipTests -Dtar" fails without installing Findbugs.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (site) on project hadoop-common: An Ant BuildException has occured: stylesheet /Users/aajisaka/git/hadoop/hadoop-common-project/hadoop-common/${env.FINDBUGS_HOME}/src/xsl/default.xsl doesn't exist. [ERROR] around Ant part ...<xslt style="${env.FINDBUGS_HOME}/src/xsl/default.xsl" in="/Users/aajisaka/git/hadoop/hadoop-common-project/hadoop-common/target/findbugsXml.xml" out="/Users/aajisaka/git/hadoop/hadoop-common-project/hadoop-common/target/site/findbugs.html"/>... @ 44:245 in /Users/aajisaka/git/hadoop/hadoop-common-project/hadoop-common/target/antrun/build-main.xml
Maven now automatically downloads Findbugs, so it's better to remove the dependency for users to build it without installing Findbugs.
Attachments
Attachments
Issue Links
- contains
-
HADOOP-11471 The version of the Findbugs in Hadoop QA's comment is wrong
- Resolved
- is depended upon by
-
HADOOP-11457 Correction to BUILDING.txt: Update FindBugs to 3.0.0
- Open
- relates to
-
HADOOP-11377 jdiff failing on java 7 and java 8, "Null.java" not found
- Closed