Hi all, when we build hadoop-common 2.0.4-alpha with a local maven repository while specifying -Pdocs (docs profile) option (mvn clean package -Pdocs -DskipTests -s ../../settings.xml), we get following error messages:
[WARNING] The POM for org.codehaus.gmaven:gmaven-plugin:jar:1.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] ****** FindBugsMojo execute ******* [INFO] canGenerate is true [INFO] ****** FindBugsMojo executeFindbugs ******* [INFO] Temp File is /home/sanjar/development/BI/hadoop-2.0.4/hadoop-common-project/hadoop-common/target/findbugsTemp.xml [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.152s [INFO] Finished at: Sat Jul 27 18:39:32 CDT 2013 [INFO] Final Memory: 36M/60M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:2.3.2:findbugs (default) on project hadoop-common: Execution default of goal org.codehaus.mojo:findbugs-maven-plugin:2.3.2:findbugs failed: A required class was missing while executing org.codehaus.mojo:findbugs-maven-plugin:2.3.2:findbugs: org.apache.tools.ant.input.InputHandler [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.codehaus.mojo:findbugs-maven-plugin:2.3.2 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/home/sanjar/development/BI/hadoop-2.0.4/m2_repo/org/codehaus/mojo/findbugs-maven-plugin/2.3.2/findbugs-maven-plugin-2.3.2.jar [ERROR] urls[1] = file:/home/sanjar/development/BI/hadoop-2.0.4/m2_repo/com/google/code/findbugs/bcel/1.3.9/bcel-1.3.9.jar Build completes successfully without a -Pdocs option. What is the missing class? we have verified class InputHandler is included in ant**.jar file within the local maven repository. Any help would be greatly appreciated.. Best Regards Amir Sanjar System Management Architect PowerLinux Open Source Hadoop development lead IBM Senior Software Engineer Phone# 512-286-8393 Fax# 512-838-8858