hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11468) Remove Findbugs dependency from mvn package -Pdocs command
Date Wed, 04 Feb 2015 22:11:36 GMT

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

Akira AJISAKA updated HADOOP-11468:
    Attachment: HADOOP-11468-001.patch

Attaching a patch.
* Copied findbugs.xsl from findbugs and fixed indents.
* Added a parameter {{hadoop.project.dir}} to pom.xml to specify the xsl file.
I verified "mvn package -Pdist,docs -Dtar -DskipTests" worked without installing findbugs.

> 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
>         Attachments: HADOOP-11468-001.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"
@ 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

View raw message