[ 
https://issues.apache.org/jira/browse/HADOOP-11468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira AJISAKA resolved HADOOP-11468.
------------------------------------
          Resolution: Won't Fix
            Assignee:     (was: Akira AJISAKA)
    Target Version/s:   (was: 2.7.0)

> 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)

Reply via email to