This command works for me (similar to Eric's): mvn clean && mvn install package -Pdist -Dtar -DskipTests -DskipShade -Dmaven.javadoc.skip
$ mvn -v Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00) Maven home: /Users/jzhuge/apache-maven-3.3.9 Java version: 1.8.0_66, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.12.4", arch: "x86_64", family: "mac" On Mon, Apr 17, 2017 at 10:46 AM, Zhe Zhang <z...@apache.org> wrote: > Thanks Eric. Same build command failed for me. > > On Mon, Apr 17, 2017 at 10:38 AM Eric Badger <ebad...@yahoo-inc.com> > wrote: > > > For what it's worth, I successfully built trunk just now on macOS Sierra > > using mvn install -Pdist -Dtar -DskipTests -DskipShade -Dmaven > > .javadoc.skip > > > > > > > > On Monday, April 17, 2017 12:32 PM, Zhe Zhang <z...@apache.org> wrote: > > > > > > Starting from last week, building trunk on my local Mac has been flaky. I > > haven't tried Linux yet. The error is: > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (clean) on > > project hadoop-assemblies: Some Enforcer rules have failed. Look above > for > > specific messages explaining why the rule failed. -> [Help 1] > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > execute > > goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce > (clean) > > on project hadoop-assemblies: Some Enforcer rules have failed. Look above > > for specific messages explaining why the rule failed. > > at > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute( > MojoExecutor.java:217) > > ... > > > > Anyone else seeing the same issue? > > > > Thanks, > > > > -- > > Zhe Zhang > > Apache Hadoop Committer > > http://zhe-thoughts.github.io/about/ | @oldcap > > > > > > -- > Zhe Zhang > Apache Hadoop Committer > http://zhe-thoughts.github.io/about/ | @oldcap > -- John