HBASE-13598 Make hbase assembly attach to the project

This commit is contained in:
Jerry He 2015-04-30 23:01:11 -07:00
parent 6399cd2c45
commit 1d26d26407
3 changed files with 10 additions and 5 deletions

View File

@ -42,9 +42,6 @@
<finalName>hbase-${project.version}</finalName>
<skipAssembly>false</skipAssembly>
<appendAssemblyId>true</appendAssemblyId>
<!--We do not want assembly attached; run on command-line explicitly
if you want to do an assembly-->
<attach>false</attach>
<tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
<descriptor>${assembly.file}</descriptor>

View File

@ -772,8 +772,6 @@
<!--Defer to the hbase-assembly sub-module. It
does all assembly-->
<skipAssembly>true</skipAssembly>
<!--Do not attach assembly to project.-->
<attach>false</attach>
</configuration>
</plugin>
<plugin>

View File

@ -401,6 +401,16 @@ mvn -DskipTests clean install && mvn -DskipTests package assembly:single
The distribution tarball is built in _hbase-assembly/target/hbase-<version>-bin.tar.gz_.
You can install or deploy the tarball by having the assembly:single goal before install or deploy in the maven command:
----
mvn -DskipTests package assembly:single install
----
----
mvn -DskipTests package assembly:single deploy
----
[[build.gotchas]]
==== Build Gotchas