Radim Kolar created HADOOP-8317: ----------------------------------- Summary: Update maven-assembly-plugin to 2.3 - fix build on FreeBSD Key: HADOOP-8317 URL: https://issues.apache.org/jira/browse/HADOOP-8317 Project: Hadoop Common Issue Type: Bug Components: build Affects Versions: 0.23.3, 2.0.0 Environment: FreeBSD 8.2, AMD 64, OPENJDK 6, ZFS Reporter: Radim Kolar
There is bug in hadoop-assembly plugin which makes builds fail on FreeBSD because its chmod do not understand nonstgandard linux parameters. Unless you do mvn clean before every build it fails with: [INFO] --- maven-assembly-plugin:2.2.1:single (dist) @ hadoop-common --- [WARNING] The following patterns were never triggered in this artifact exclusion filter: o 'org.apache.ant:*:jar' o 'jdiff:jdiff:jar' [INFO] Copying files to /usr/local/jboss/.jenkins/jobs/Hadoop-0.23/workspace/hadoop-common-project/hadoop-common/target/hadoop-common-0.23.3-SNAPSHOT [WARNING] ------------------------------- [WARNING] Standard error: [WARNING] ------------------------------- [WARNING] [WARNING] ------------------------------- [WARNING] Standard output: [WARNING] ------------------------------- [WARNING] chmod: /usr/local/jboss/.jenkins/jobs/Hadoop-0.23/workspace/hadoop-common-project/hadoop-common/target/hadoop-common-0.23.3-SNAPSHOT/share/hadoop/common/lib/hadoop-auth-0.23.3-SNAPSHOT.jar: Inappropriate file type or format [WARNING] ------------------------------- mojoFailed org.apache.maven.plugins:maven-assembly-plugin:2.2.1(dist) projectFailed org.apache.hadoop:hadoop-common:0.23.3-SNAPSHOT sessionEnded -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira