HBASE-2779 Build a -src tgz to sit beside our -bin tgz when you call maven assembly:assembly

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957351 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-06-23 21:22:21 +00:00
parent 049120cdde
commit 4637114fce
3 changed files with 41 additions and 0 deletions

View File

@ -734,6 +734,8 @@ Release 0.21.0 - Unreleased
permanent storage permanent storage
HBASE-2764 Force all Chore tasks to have a thread name HBASE-2764 Force all Chore tasks to have a thread name
HBASE-2762 Add warning to master if running without append enabled HBASE-2762 Add warning to master if running without append enabled
HBASE-2779 Build a -src tgz to sit beside our -bin tgz when you call
maven assembly:assembly
NEW FEATURES NEW FEATURES
HBASE-1961 HBase EC2 scripts HBASE-1961 HBase EC2 scripts

View File

@ -301,6 +301,7 @@
<tarLongFileMode>gnu</tarLongFileMode> <tarLongFileMode>gnu</tarLongFileMode>
<descriptors> <descriptors>
<descriptor>src/assembly/bin.xml</descriptor> <descriptor>src/assembly/bin.xml</descriptor>
<descriptor>src/assembly/src.xml</descriptor>
</descriptors> </descriptors>
</configuration> </configuration>
</plugin> </plugin>

38
src/assembly/src.xml Normal file
View File

@ -0,0 +1,38 @@
<?xml version="1.0"?>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
<id>src</id>
<formats>
<format>tar.gz</format>
</formats>
<fileSets>
<fileSet>
<includes>
<include>${basedir}/CHANGES*</include>
<include>${basedir}/README*</include>
<include>${basedir}/LICENSE*</include>
<include>${basedir}/NOTICE*</include>
<include>${basedir}/KNOWN*</include>
</includes>
</fileSet>
<fileSet>
<includes>
<include>pom.xml</include>
</includes>
</fileSet>
<fileSet>
<directory>src</directory>
</fileSet>
<fileSet>
<directory>conf</directory>
</fileSet>
<fileSet>
<directory>docs</directory>
</fileSet>
<fileSet>
<directory>bin</directory>
<fileMode>755</fileMode>
</fileSet>
</fileSets>
</assembly>