Have assembly produce one tgz with source that is buildable rather than a bin and src.

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1034559 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-11-12 20:36:26 +00:00
parent 7195bff0c2
commit 547562f240
4 changed files with 14 additions and 39 deletions

View File

@ -11,14 +11,14 @@
pom not being found. To fix, I've downloaded apache's pom pom not being found. To fix, I've downloaded apache's pom
from here https://repository.apache.org/content/repositories/releases/org/apache/apache/7/apache-7.pom from here https://repository.apache.org/content/repositories/releases/org/apache/apache/7/apache-7.pom
saving it as 'pom.xml' into a directory named 'apache-7.pom'. I then uncommented the below. saving it as 'pom.xml' into a directory named 'apache-7.pom'. I then uncommented the below.
<relativePath>../apache-7.pom/</relativePath>
--> -->
<relativePath>../apache-7.pom/</relativePath>
</parent> </parent>
<groupId>org.apache.hbase</groupId> <groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId> <artifactId>hbase</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>0.90.0-SNAPSHOT</version> <version>0.90.0</version>
<name>HBase</name> <name>HBase</name>
<description> <description>
HBase is the &amp;lt;a href="http://hadoop.apache.org"&amp;rt;Hadoop&lt;/a&amp;rt; database. Use it when you need HBase is the &amp;lt;a href="http://hadoop.apache.org"&amp;rt;Hadoop&lt;/a&amp;rt; database. Use it when you need
@ -307,8 +307,7 @@
<configuration> <configuration>
<tarLongFileMode>gnu</tarLongFileMode> <tarLongFileMode>gnu</tarLongFileMode>
<descriptors> <descriptors>
<descriptor>src/assembly/bin.xml</descriptor> <descriptor>src/assembly/all.xml</descriptor>
<descriptor>src/assembly/src.xml</descriptor>
</descriptors> </descriptors>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -2,7 +2,7 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1" <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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>bin</id> <id>all</id>
<formats> <formats>
<format>tar.gz</format> <format>tar.gz</format>
</formats> </formats>
@ -12,6 +12,14 @@
<include>${basedir}/*.txt</include> <include>${basedir}/*.txt</include>
</includes> </includes>
</fileSet> </fileSet>
<fileSet>
<includes>
<include>pom.xml</include>
</includes>
</fileSet>
<fileSet>
<directory>src</directory>
</fileSet>
<fileSet> <fileSet>
<directory>conf</directory> <directory>conf</directory>
</fileSet> </fileSet>
@ -29,7 +37,6 @@
<includes> <includes>
<include>hbase-${project.version}.jar</include> <include>hbase-${project.version}.jar</include>
<include>hbase-${project.version}-tests.jar</include> <include>hbase-${project.version}-tests.jar</include>
<include>hbase-${project.version}-sources.jar</include>
</includes> </includes>
</fileSet> </fileSet>
<fileSet> <fileSet>

View File

@ -1,31 +0,0 @@
<?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}/*.txt</include>
</includes>
</fileSet>
<fileSet>
<includes>
<include>pom.xml</include>
</includes>
</fileSet>
<fileSet>
<directory>src</directory>
</fileSet>
<fileSet>
<directory>conf</directory>
</fileSet>
<fileSet>
<directory>bin</directory>
<fileMode>755</fileMode>
</fileSet>
</fileSets>
</assembly>

View File

@ -5,11 +5,11 @@
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
<bannerLeft> <bannerLeft>
<name>HBase</name> <name>HBase</name>
<src>http://hbase.apache.org/images/hbase_logo_med.gif</src> <src>images/hbase_logo_med.gif</src>
<href>http://hbase.apache.org/</href> <href>http://hbase.apache.org/</href>
</bannerLeft> </bannerLeft>
<bannerRight> <bannerRight>
<src>http://hbase.apache.org/images/asf_logo_wide.png</src> <src>images/asf_logo_wide.png</src>
<href>http://www.apache.org/</href> <href>http://www.apache.org/</href>
</bannerRight> </bannerRight>
<version position="right" /> <version position="right" />