2013-03-29 14:49:42 -04:00
|
|
|
<?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">
|
2013-04-07 01:49:57 -04:00
|
|
|
<!--
|
2013-03-29 14:49:42 -04:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
-->
|
2013-04-07 01:49:57 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
2017-08-19 04:23:52 -04:00
|
|
|
<artifactId>hbase-build-configuration</artifactId>
|
2013-04-07 01:49:57 -04:00
|
|
|
<groupId>org.apache.hbase</groupId>
|
2017-09-14 15:38:46 -04:00
|
|
|
<version>2.0.0-alpha3</version>
|
2017-08-19 04:23:52 -04:00
|
|
|
<relativePath>../hbase-build-configuration</relativePath>
|
2013-04-07 01:49:57 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>hbase-assembly</artifactId>
|
2015-07-15 06:12:36 -04:00
|
|
|
<name>Apache HBase - Assembly</name>
|
2013-04-07 01:49:57 -04:00
|
|
|
<description>
|
|
|
|
Module that does project assembly and that is all that it does.
|
2013-03-29 14:49:42 -04:00
|
|
|
</description>
|
2013-04-07 01:49:57 -04:00
|
|
|
<packaging>pom</packaging>
|
2015-07-15 06:12:36 -04:00
|
|
|
<properties>
|
|
|
|
<license.bundles.dependencies>true</license.bundles.dependencies>
|
|
|
|
</properties>
|
2013-04-07 01:49:57 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2017-06-07 14:55:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- hbase-spark is ok in the assembly -->
|
|
|
|
<execution>
|
|
|
|
<id>banned-hbase-spark</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-07-15 06:12:36 -04:00
|
|
|
<!-- licensing info from our dependencies -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2017-05-18 18:19:21 -04:00
|
|
|
<id>aggregate-licenses</id>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
2015-07-15 06:12:36 -04:00
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<copyright-end-year>${build.year}</copyright-end-year>
|
|
|
|
<debug-print-included-work-info>${license.debug.print.included}</debug-print-included-work-info>
|
|
|
|
<bundled-dependencies>${license.bundles.dependencies}</bundled-dependencies>
|
|
|
|
<bundled-jquery>${license.bundles.jquery}</bundled-jquery>
|
|
|
|
<bundled-logo>${license.bundles.logo}</bundled-logo>
|
|
|
|
<bundled-bootstrap>${license.bundles.bootstrap}</bundled-bootstrap>
|
|
|
|
</properties>
|
|
|
|
<resourceBundles>
|
|
|
|
<resourceBundle>${project.groupId}:hbase-resource-bundle:${project.version}</resourceBundle>
|
|
|
|
</resourceBundles>
|
|
|
|
<supplementalModelArtifacts>
|
|
|
|
<supplementalModelArtifact>${project.groupId}:hbase-resource-bundle:${project.version}</supplementalModelArtifact>
|
|
|
|
</supplementalModelArtifacts>
|
|
|
|
<supplementalModels>
|
|
|
|
<supplementalModel>supplemental-models.xml</supplementalModel>
|
|
|
|
</supplementalModels>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-04-07 01:49:57 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
2013-04-01 15:21:13 -04:00
|
|
|
<!--Else will use hbase-assembly as final name.-->
|
2013-04-07 01:49:57 -04:00
|
|
|
<finalName>hbase-${project.version}</finalName>
|
2013-03-29 14:49:42 -04:00
|
|
|
<skipAssembly>false</skipAssembly>
|
|
|
|
<appendAssemblyId>true</appendAssemblyId>
|
|
|
|
<tarLongFileMode>gnu</tarLongFileMode>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>${assembly.file}</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-04-07 01:49:57 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-07-09 19:09:42 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<!-- generates the file that will be used by the bin/hbase script in the dev env -->
|
|
|
|
<id>create-hbase-generated-classpath</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>build-classpath</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2013-08-21 15:06:33 -04:00
|
|
|
<outputFile>${project.parent.basedir}/target/cached_classpath.txt</outputFile>
|
2017-05-24 02:57:37 -04:00
|
|
|
<excludeArtifactIds>jruby-complete</excludeArtifactIds>
|
2013-07-09 19:09:42 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2017-05-24 02:57:37 -04:00
|
|
|
|
|
|
|
<execution>
|
|
|
|
<!-- Generates a file containing jruby jar.
|
|
|
|
In dev environment, bin/hbase will read the file and add the jar into classpath when jruby is needed
|
|
|
|
-->
|
|
|
|
<id>create-hbase-generated-classpath-jruby</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>build-classpath</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputFile>${project.parent.basedir}/target/cached_classpath_jruby.txt</outputFile>
|
|
|
|
<includeArtifactIds>jruby-complete</includeArtifactIds>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
2015-07-15 06:12:36 -04:00
|
|
|
<!--
|
|
|
|
Build an aggregation of our templated NOTICE file and the NOTICE files in our dependencies.
|
|
|
|
If MASSEMBLY-382 is fixed we could do this in the assembly
|
|
|
|
Currently relies on env, bash, find, and cat.
|
|
|
|
-->
|
|
|
|
<execution>
|
|
|
|
<!-- put all of the NOTICE files out of our dependencies -->
|
|
|
|
<id>unpack-dependency-notices</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
|
|
|
|
<includes>**\/NOTICE,**\/NOTICE.txt</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2013-07-09 19:09:42 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-07-15 06:12:36 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
2017-06-29 09:37:22 -04:00
|
|
|
<version>${exec.maven.version}</version>
|
2015-07-15 06:12:36 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>concat-NOTICE-files</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>env</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>bash</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>cat maven-shared-archive-resources/META-INF/NOTICE \
|
2016-12-21 11:41:34 -05:00
|
|
|
`find ${project.build.directory}/dependency -iname NOTICE -or -iname NOTICE.txt`
|
2015-07-15 06:12:36 -04:00
|
|
|
</argument>
|
|
|
|
</arguments>
|
|
|
|
<outputFile>${project.build.directory}/NOTICE.aggregate</outputFile>
|
|
|
|
<workingDirectory>${project.build.directory}</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- /end building aggregation of NOTICE files -->
|
2013-04-07 01:49:57 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2013-07-09 19:09:42 -04:00
|
|
|
<dependencies>
|
|
|
|
<!-- Intra-project dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-it</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-server</artifactId>
|
|
|
|
</dependency>
|
HBASE-18640 Move mapreduce out of hbase-server into separate module.
- Moves out o.a.h.h.{mapred, mapreduce} to new hbase-mapreduce module which depends
on hbase-server because of classes like *Snapshot{Input,Output}Format.java, WALs, replication, etc
- hbase-backup depends on it for WALPlayer and MR job stuff
- A bunch of tools needed to be pulled into hbase-mapreduce becuase of their dependencies on MR.
These are: CompactionTool, LoadTestTool, PerformanceEvaluation, ExportSnapshot
This is better place of them than hbase-server. But ideal place would be in separate hbase-tools module.
- There were some tests in hbase-server which were digging into these tools for static util funtions or
confs. Moved these to better/easily shared place. For eg. security related stuff to HBaseKerberosUtils.
- Note that hbase-mapreduce has secondPartExecution tests. On my machine they took like 20 min, so maybe
more on apache jenkins. That's basically equal reduction of runtime of hbase-server tests, which is a
big win!
Change-Id: Ieeb7235014717ca83ee5cb13b2a27fddfa6838e8
2017-08-20 17:34:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-mapreduce</artifactId>
|
|
|
|
</dependency>
|
2016-08-29 22:23:09 -04:00
|
|
|
<!-- To dump tools in hbase-procedure into cached_classpath.txt. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-procedure</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-procedure</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-07-09 19:09:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-hadoop-compat</artifactId>
|
2017-07-07 01:43:46 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2013-07-09 19:09:42 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>${compat.module}</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-10-02 17:59:19 -04:00
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-shell</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2013-07-09 19:09:42 -04:00
|
|
|
</dependency>
|
2014-10-07 18:08:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-thrift</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-rest</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2015-08-28 19:13:36 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-external-blockcache</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2013-10-17 17:25:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-testing-util</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2017-01-25 14:47:35 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-metrics-api</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-metrics</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2015-07-15 06:12:36 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-resource-bundle</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2016-02-08 17:13:46 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-spark</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2017-06-15 00:00:12 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
</dependency>
|
2017-07-12 20:12:52 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-spark-it</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2017-08-22 20:14:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-backup</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2013-07-09 19:09:42 -04:00
|
|
|
</dependencies>
|
2016-04-28 20:14:54 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>rsgroup</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!skip-rsgroup</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-rsgroup</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2013-03-29 14:49:42 -04:00
|
|
|
</project>
|