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-07-06 17:13:26 -04:00
|
|
|
<artifactId>hbase-build-configuration</artifactId>
|
2013-04-07 01:49:57 -04:00
|
|
|
<groupId>org.apache.hbase</groupId>
|
2017-06-07 01:04:39 -04:00
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
2017-07-06 17:13:26 -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>
|
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>
|
2018-02-07 18:37:39 -05:00
|
|
|
<descriptor>src/main/assembly/client.xml</descriptor>
|
2013-03-29 14:49:42 -04:00
|
|
|
</descriptors>
|
|
|
|
</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>
|
2018-09-13 05:32:10 -04:00
|
|
|
<excludeArtifactIds>jline,jruby-complete,hbase-shaded-client,hbase-shaded-client-byo-hadoop,hbase-shaded-mapreduce</excludeArtifactIds>
|
2013-07-09 19:09:42 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2017-05-24 02:57:37 -04:00
|
|
|
|
|
|
|
<execution>
|
2018-03-13 11:38:46 -04:00
|
|
|
<!-- generates the file that will be used by the bin/hbase zkcli script in the dev env -->
|
|
|
|
<id>create-hbase-generated-classpath-jline</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>build-classpath</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputFile>${project.parent.basedir}/target/cached_classpath_jline.txt</outputFile>
|
|
|
|
<includeArtifactIds>jline</includeArtifactIds>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<!-- generates the file that will be used by the bin/hbase shell script in the dev env -->
|
2017-05-24 02:57:37 -04:00
|
|
|
<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>
|
2018-05-18 12:11:42 -04:00
|
|
|
<!-- client artifacts for downstream use -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-shaded-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-shaded-client-byo-hadoop</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-shaded-mapreduce</artifactId>
|
|
|
|
</dependency>
|
2013-07-09 19:09:42 -04:00
|
|
|
<!-- Intra-project dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-it</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2018-06-04 19:19:52 -04:00
|
|
|
<!-- Hamcrest is required by hbase-it (via junit), but as long as we're grabbing the hbase-it test-jar,
|
|
|
|
maven dependency resolution won't pick it up for us. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
<!-- Overriding the scope in depMgmt -->
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2013-07-09 19:09:42 -04:00
|
|
|
<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>
|
2017-11-14 05:20:15 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-mapreduce</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</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>
|
2018-02-07 18:37:39 -05:00
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-hadoop-compat</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2013-07-09 19:09:42 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-02-07 18:37:39 -05:00
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>${compat.module}</artifactId>
|
2013-07-09 19:09:42 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-02-07 18:37:39 -05:00
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-shell</artifactId>
|
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>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-rest</artifactId>
|
|
|
|
</dependency>
|
2015-08-28 19:13:36 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-external-blockcache</artifactId>
|
|
|
|
</dependency>
|
2013-10-17 17:25:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-testing-util</artifactId>
|
|
|
|
</dependency>
|
2017-01-25 14:47:35 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-metrics-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-metrics</artifactId>
|
2017-10-25 17:08:19 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-protocol</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-protocol-shaded</artifactId>
|
2017-01-25 14:47:35 -05:00
|
|
|
</dependency>
|
2015-07-15 06:12:36 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-resource-bundle</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-06-14 23:09:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
</dependency>
|
2017-08-22 20:14:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-backup</artifactId>
|
2017-10-25 17:08:19 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-replication</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-http</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-examples</artifactId>
|
2017-08-22 20:14:48 -04:00
|
|
|
</dependency>
|
2017-11-13 14:42:33 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-zookeeper</artifactId>
|
|
|
|
</dependency>
|
2018-02-28 17:11:02 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>jline</groupId>
|
|
|
|
<artifactId>jline</artifactId>
|
|
|
|
</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>
|