hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi Ozawa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11468) Remove Findbugs dependency from mvn package -Pdocs command
Date Fri, 20 Mar 2015 08:57:38 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-11468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371006#comment-14371006
] 

Tsuyoshi Ozawa commented on HADOOP-11468:
-----------------------------------------

OK.

> Remove Findbugs dependency from mvn package -Pdocs command
> ----------------------------------------------------------
>
>                 Key: HADOOP-11468
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11468
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 2.6.0
>            Reporter: Akira AJISAKA
>              Labels: build
>         Attachments: HADOOP-11468-001.patch, HADOOP-11468-002.patch, HADOOP-11468-003.patch
>
>
> "mvn package -Pdist,docs,src -DskipTests -Dtar" fails without installing Findbugs.
> {code}
> [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
> {code}
> Maven now automatically downloads Findbugs, so it's better to remove the dependency for
users to build it without installing Findbugs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message