Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11468

Remove Findbugs dependency from mvn package -Pdocs command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.6.0
    • None
    • build

    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

        1. HADOOP-11468-003.patch
          39 kB
          Akira Ajisaka
        2. HADOOP-11468-002.patch
          28 kB
          Akira Ajisaka
        3. HADOOP-11468-001.patch
          28 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: