Do you need all these extra maven params? If all you want is to build a tar ball, have you tried below?
$ mvn package assembly:single -DskipTests Em seg, 15 de jul de 2019 às 10:33, Kang Minwoo <minwoo.k...@outlook.com> escreveu: > I forgot to attach the build command. > I try to build HBase 2.1.5 using below command. > > --- > mvn -Dmaven.test.skip.exec=true -Dslf4j.version=1.7.25 > -Dhadoop.profile=3.0 -Dhadoop-three.version=3.1.2 > -Dzookeeper.version=3.4.14 -Dcheckstyle.skip=true > -Dadditionalparam=-Xdoclint:none install site assembly:single > --- > > ________________________________________ > 보낸 사람: Kang Minwoo <minwoo.k...@outlook.com> > 보낸 날짜: 2019년 7월 15일 월요일 18:31 > 받는 사람: user@hbase.apache.org > 제목: Failed to create assembly > > Hello Users, > > I try to build HBase 2.1.5 but I got a failure on Apache HBase - Assembly > Project. > Error Message is below. > > --- > [INFO] Apache HBase - External Block Cache ................ SUCCESS [ > 1.750 s] > [INFO] Apache HBase - Assembly ............................ FAILURE [ > 11.643 s] > [INFO] Apache HBase Shaded Packaging Invariants ........... SKIPPED > [INFO] Apache HBase Shaded Packaging Invariants (with Hadoop bundled) > SKIPPED > [INFO] Apache HBase - Archetypes .......................... SKIPPED > [INFO] Apache HBase - Exemplar for hbase-client archetype . SKIPPED > [INFO] Apache HBase - Exemplar for hbase-shaded-client archetype SKIPPED > [INFO] Apache HBase - Archetype builder ................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 15:13 min > [INFO] Finished at: 2019-07-15T18:20:54+09:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (default-cli) > on project hbase-assembly: Failed to create assembly: Error adding file > 'org.apache.hbase:hbase-common:test-jar:tests:2.1.5' to archive: > /ws/hbase-2.1.5-src/hbase-common/target/test-classes isn't a file. -> [Help > 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :hbase-assembly > --- > > I didn't know why the assembly plugin tries to add > 'hbase-common/target/test-classes'. > I didn’t know what was wrong. > > Best regards, > Minwoo Kang >