Permalink
Browse files

HBASE-8187 trunk/0.95 tarball packaging

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1462606 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent bb8dbf8 commit b344613520f32b327b263c7dc85c3708bd6c7f0a @saintstack saintstack committed Mar 29, 2013
Showing with 616 additions and 323 deletions.
  1. +211 −0 hbase-assembly/pom.xml
  2. +33 −39 { → hbase-assembly}/src/assembly/components.xml
  3. +4 −33 { → hbase-assembly}/src/assembly/hadoop-one-compat.xml
  4. +4 −34 { → hbase-assembly}/src/assembly/hadoop-two-compat.xml
  5. +83 −0 hbase-assembly/src/assembly/src.xml
  6. 0 { → hbase-assembly}/src/docbkx/book.xml
  7. 0 { → hbase-assembly}/src/docbkx/case_studies.xml
  8. 0 { → hbase-assembly}/src/docbkx/community.xml
  9. 0 { → hbase-assembly}/src/docbkx/configuration.xml
  10. 0 { → hbase-assembly}/src/docbkx/customization.xsl
  11. 0 { → hbase-assembly}/src/docbkx/developer.xml
  12. 0 { → hbase-assembly}/src/docbkx/external_apis.xml
  13. 0 { → hbase-assembly}/src/docbkx/getting_started.xml
  14. 0 { → hbase-assembly}/src/docbkx/ops_mgt.xml
  15. 0 { → hbase-assembly}/src/docbkx/performance.xml
  16. 0 { → hbase-assembly}/src/docbkx/preface.xml
  17. 0 { → hbase-assembly}/src/docbkx/rpc.xml
  18. 0 { → hbase-assembly}/src/docbkx/security.xml
  19. 0 { → hbase-assembly}/src/docbkx/shell.xml
  20. 0 { → hbase-assembly}/src/docbkx/troubleshooting.xml
  21. 0 { → hbase-assembly}/src/docbkx/upgrading.xml
  22. 0 { → hbase-assembly}/src/docbkx/zookeeper.xml
  23. 0 { → hbase-assembly}/src/site/resources/css/freebsd_docbook.css
  24. 0 { → hbase-assembly}/src/site/resources/css/site.css
  25. 0 { → hbase-assembly}/src/site/resources/doap_Hbase.rdf
  26. 0 { → hbase-assembly}/src/site/resources/images/big_h_logo.svg
  27. 0 { → hbase-assembly}/src/site/resources/images/hbase_logo.svg
  28. 0 { → hbase-assembly}/src/site/site.vm
  29. 0 { → hbase-assembly}/src/site/site.xml
  30. 0 { → hbase-assembly}/src/site/xdoc/acid-semantics.xml
  31. 0 { → hbase-assembly}/src/site/xdoc/bulk-loads.xml
  32. 0 { → hbase-assembly}/src/site/xdoc/cygwin.xml
  33. 0 { → hbase-assembly}/src/site/xdoc/index.xml
  34. 0 { → hbase-assembly}/src/site/xdoc/metrics.xml
  35. 0 { → hbase-assembly}/src/site/xdoc/old_news.xml
  36. 0 { → hbase-assembly}/src/site/xdoc/pseudo-distributed.xml
  37. 0 { → hbase-assembly}/src/site/xdoc/replication.xml
  38. 0 { → hbase-assembly}/src/site/xdoc/resources.xml
  39. 0 { → hbase-assembly}/src/site/xdoc/sponsors.xml
  40. 0 { → hbase-assembly}/src/xslt/configuration_to_docbook_section.xsl
  41. +40 −19 hbase-client/pom.xml
  42. +24 −3 hbase-common/pom.xml
  43. +9 −9 hbase-common/src/main/resources/hbase-default.xml
  44. +21 −1 hbase-examples/pom.xml
  45. +23 −4 hbase-hadoop-compat/pom.xml
  46. +24 −4 hbase-hadoop1-compat/pom.xml
  47. +40 −4 hbase-hadoop2-compat/pom.xml
  48. +22 −1 hbase-it/pom.xml
  49. +22 −1 hbase-prefix-tree/pom.xml
  50. +22 −1 hbase-protocol/pom.xml
  51. +19 −7 hbase-server/pom.xml
  52. +15 −163 pom.xml
  53. BIN src/site/resources/images/architecture.gif
  54. BIN src/site/resources/images/big_h_logo.png
  55. BIN src/site/resources/images/favicon.ico
  56. BIN src/site/resources/images/hadoop-logo.jpg
  57. BIN src/site/resources/images/hbase_logo.png
  58. BIN src/site/resources/images/hfile.png
  59. BIN src/site/resources/images/hfilev2.png
  60. BIN src/site/resources/images/replication_overview.png
View
@@ -0,0 +1,211 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <!--
+ /**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>hbase</artifactId>
+ <groupId>org.apache.hbase</groupId>
+ <version>0.97.0-SNAPSHOT</version>
+ <relativePath>..</relativePath>
+ </parent>
+
+ <artifactId>hbase-assembly</artifactId>
+ <name>HBase - Assembly</name>
+ <description>
+ Module that does project assembly and site.
+ </description>
+ <packaging>pom</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>${maven.assembly.version}</version>
+ <configuration>
+ <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>
+ </descriptors>
+ </configuration>
+ </plugin>
+ <!--The below plugins are about site generation.
+ They are all marked as not to be in herited by child
+ modules. The plugins are meant to run here in this
+ module only
+ -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ <version>1.0</version>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+ <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
+ <goals>
+ <goal>transform</goal>
+ </goals>
+ <phase>pre-site</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <transformationSets>
+ <transformationSet>
+ <!--Reaching up and over into common sub-module for hbase-default.xml-->
+ <dir>${basedir}/../hbase-common/src/main/resources/</dir>
+ <includes>
+ <include>hbase-default.xml</include>
+ </includes>
+ <stylesheet>${basedir}/src/xslt/configuration_to_docbook_section.xsl</stylesheet>
+ <outputDir>${basedir}/target/docbkx</outputDir>
+ </transformationSet>
+ </transformationSets>
+ </configuration>
+ </plugin>
+ <!--Build the documentation. We build it twice. Once as a single page and then
+ again as multipage.-->
+ <plugin>
+ <groupId>com.agilejava.docbkx</groupId>
+ <artifactId>docbkx-maven-plugin</artifactId>
+ <version>2.0.14</version>
+ <inherited>false</inherited>
+ <dependencies>
+ <dependency>
+ <groupId>org.docbook</groupId>
+ <artifactId>docbook-xml</artifactId>
+ <version>4.4</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <xincludeSupported>true</xincludeSupported>
+ <useIdAsFilename>true</useIdAsFilename>
+ <sectionAutolabelMaxDepth>100</sectionAutolabelMaxDepth>
+ <sectionAutolabel>true</sectionAutolabel>
+ <sectionLabelIncludesComponentLabel>true</sectionLabelIncludesComponentLabel>
+ <htmlCustomization>${basedir}/src/docbkx/customization.xsl</htmlCustomization>
+ <tocMaxDepth>2</tocMaxDepth>
+ <insertXrefPageNumber>yes</insertXrefPageNumber>
+ <targetDirectory>${basedir}/target/docbkx</targetDirectory>
+ <chunkerOutputEncoding>UTF-8</chunkerOutputEncoding>
+ </configuration>
+ <executions>
+ <execution>
+ <id>multipage</id>
+ <goals>
+ <goal>generate-html</goal>
+ </goals>
+ <phase>pre-site</phase>
+ <configuration>
+ <navigShowtitles>true</navigShowtitles>
+ <chunkedOutput>true</chunkedOutput>
+ <imgSrcPath>../images/</imgSrcPath>
+ <htmlStylesheet>../css/freebsd_docbook.css</htmlStylesheet>
+ </configuration>
+ </execution>
+ <execution>
+ <id>onepage</id>
+ <goals>
+ <goal>generate-html</goal>
+ </goals>
+ <phase>pre-site</phase>
+ <configuration>
+ <imgSrcPath>images/</imgSrcPath>
+ <htmlStylesheet>css/freebsd_docbook.css</htmlStylesheet>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>${maven.resources.plugin.version}</version>
+ <!--$NO-MVN-MAN-VER$ -->
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+ <id>copy-javadocs</id>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <phase>site</phase>
+ <configuration>
+ <outputDirectory>target/site/apidocs</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${basedir}/target/apidocs</directory>
+ <includes>
+ <include>**/**</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-docbkx</id>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <phase>site</phase>
+ <configuration>
+ <outputDirectory>target/site</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${basedir}/target/docbkx</directory>
+ <includes>
+ <include>**/**</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <escapeString>\</escapeString>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>${maven.site.version}</version>
+ <inherited>false</inherited>
+ <dependencies>
+ <dependency>
+ <!-- add support for ssh/scp -->
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh</artifactId>
+ <version>2.2</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <inputEncoding>UTF-8</inputEncoding>
+ <outputEncoding>UTF-8</outputEncoding>
+ <templateFile>${basedir}/src/site/site.vm</templateFile>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ </dependencies>
+</project>
@@ -1,3 +1,4 @@
+<?xml version="1.0"?>
<!--
/**
* Licensed to the Apache Software Foundation (ASF) under one
@@ -17,108 +18,101 @@
* limitations under the License.
*/
-->
+
+<!--Shared by hadoop-one-compat.xml and hadoop-two-compat.xml.
+ Does common copying-->
<component>
<fileSets>
<!--Copy over the site if built as docs dir -->
<fileSet>
<directory>target/site</directory>
<outputDirectory>docs</outputDirectory>
</fileSet>
- <!-- Include top level text files -->
+ <!--Copy over the javadoc if built-->
<fileSet>
- <outputDirectory>/</outputDirectory>
+ <directory>${project.basedir}/../target/apidocs</directory>
+ <outputDirectory>docs/apidocs</outputDirectory>
+ </fileSet>
+ <!-- Include top level text files-->
+ <fileSet>
+ <directory>${project.basedir}/..</directory>
+ <outputDirectory>.</outputDirectory>
<includes>
- <include>*.txt</include>
- <include>pom.xml</include>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
+ <include>CHANGES.txt</include>
+ <include>README.txt</include>
</includes>
+ <fileMode>0644</fileMode>
</fileSet>
<!-- Include the top level conf directory -->
<fileSet>
- <directory>conf</directory>
+ <directory>${project.basedir}/../conf</directory>
<outputDirectory>conf</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<!-- Include top level bin directory -->
<fileSet>
- <directory>bin</directory>
+ <directory>${project.basedir}/../bin</directory>
<outputDirectory>bin</outputDirectory>
<fileMode>0755</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
- <fileSet>
- <directory>conf</directory>
- <outputDirectory>conf</outputDirectory>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <!--Include top-level src. Module src done down below -->
- <fileSet>
- <directory>src</directory>
- <outputDirectory>src</outputDirectory>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <!-- Include dev-support directory -->
- <fileSet>
- <directory>dev-support</directory>
- <outputDirectory>dev-support</outputDirectory>
- <fileMode>0755</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
<!-- Move the ruby code over -->
<fileSet>
- <directory>hbase-server/src/main/ruby</directory>
+ <directory>${project.basedir}/../hbase-server/src/main/ruby</directory>
<outputDirectory>lib/ruby</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<!-- Move the webapps to the webapp dir -->
<fileSet>
- <directory>hbase-server/target/hbase-webapps</directory>
+ <directory>${project.basedir}/../hbase-server/target/hbase-webapps</directory>
<outputDirectory>hbase-webapps</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<!-- Include native libraries -->
<fileSet>
- <directory>hbase-server/target/native</directory>
- <outputDirectory>native</outputDirectory>
+ <directory>${project.basedir}/../hbase-server/target/native</directory>
+ <outputDirectory>lib/native</outputDirectory>
<fileMode>0755</fileMode>
<directoryMode>0755</directoryMode>
<includes>
<include>*.so</include>
+ <include>*.dylib</include>
</includes>
</fileSet>
- <!-- This is only necessary until maven fixes the intra-project dependency bug
- in maven 3.0. Until then, we have to include the test jars for sub-projects. When
- fixed, the below dependencySet stuff is sufficient for pulling in the test jars as
- well, as long as they are added as dependencies in this project. Right now, we only
- have 1 submodule to accumulate, but we can copy/paste as necessary until maven is
+ <!-- This is only necessary until maven fixes the intra-project dependency bug
+ in maven 3.0. Until then, we have to include the test jars for sub-projects. When
+ fixed, the below dependencySet stuff is sufficient for pulling in the test jars as
+ well, as long as they are added as dependencies in this project. Right now, we only
+ have 1 submodule to accumulate, but we can copy/paste as necessary until maven is
fixed. -->
<fileSet>
- <directory>hbase-server/target/</directory>
+ <directory>${project.basedir}/../hbase-server/target/</directory>
<outputDirectory>lib</outputDirectory>
<includes>
<include>${server.test.jar}</include>
</includes>
<fileMode>0644</fileMode>
</fileSet>
<fileSet>
- <directory>hbase-it/target/</directory>
+ <directory>${project.basedir}/../hbase-it/target/</directory>
<outputDirectory>lib</outputDirectory>
<includes>
<include>${it.test.jar}</include>
</includes>
<fileMode>0644</fileMode>
</fileSet>
<fileSet>
- <directory>hbase-common/target/</directory>
+ <directory>${project.basedir}/../hbase-common/target/</directory>
<outputDirectory>lib</outputDirectory>
<includes>
<include>${common.test.jar}</include>
</includes>
<fileMode>0644</fileMode>
</fileSet>
</fileSets>
-</component>
+</component>
Oops, something went wrong.

0 comments on commit b344613

Please sign in to comment.