You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsuyoshi Ozawa (JIRA)" <ji...@apache.org> on 2015/03/19 01:39:39 UTC

[jira] [Commented] (HADOOP-11468) Remove Findbugs dependency from mvn package -Pdocs command

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

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

[~ajisakaa] thank you for taking this issue. Let me clarify one point: where did you get convertXmlToText.sh, setBugDatabaseInfo.sh, filterBugs.sh from? If the source code are from findbugs, its license is LGPL, and it can causes license problem.

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