2013-03-29 14:49:42 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-05-21 15:34:25 -04:00
|
|
|
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://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>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2017-08-19 04:23:52 -04:00
|
|
|
<artifactId>hbase-build-configuration</artifactId>
|
2022-10-24 00:15:18 -04:00
|
|
|
<version>${revision}</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>
|
|
|
|
<packaging>pom</packaging>
|
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.</description>
|
2015-07-15 06:12:36 -04:00
|
|
|
<properties>
|
|
|
|
<license.bundles.dependencies>true</license.bundles.dependencies>
|
|
|
|
</properties>
|
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-11-09 17:36:03 -05: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-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-11-09 17:36:03 -05:00
|
|
|
<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>
|
2019-09-07 01:02:52 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-hbtop</artifactId>
|
|
|
|
</dependency>
|
2021-10-06 16:17:18 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-compression-aircompressor</artifactId>
|
|
|
|
</dependency>
|
2022-04-22 19:42:12 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-compression-brotli</artifactId>
|
|
|
|
</dependency>
|
2021-10-06 16:17:18 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-compression-lz4</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-compression-snappy</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-compression-xz</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-compression-zstd</artifactId>
|
|
|
|
</dependency>
|
2018-02-28 17:11:02 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>jline</groupId>
|
|
|
|
<artifactId>jline</artifactId>
|
|
|
|
</dependency>
|
2019-06-12 17:42:34 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.ws</groupId>
|
|
|
|
<artifactId>jaxws-ri</artifactId>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
2020-05-13 05:59:21 -04:00
|
|
|
<!--
|
|
|
|
Include the log framework here.
|
|
|
|
For other sub modules, we only declare slf4j-api as a compile dependency,
|
|
|
|
so here we must pull in the real logging framework to actually log to log4j.
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-03-11 14:17:43 -05:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
2020-05-13 05:59:21 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-03-11 14:17:43 -05:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
2020-05-13 05:59:21 -04:00
|
|
|
</dependency>
|
2021-08-03 12:54:37 -04:00
|
|
|
<!-- Include OpenTelemetry agent -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.opentelemetry.javaagent</groupId>
|
|
|
|
<artifactId>opentelemetry-javaagent</artifactId>
|
|
|
|
</dependency>
|
2022-03-11 14:17:43 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-1.2-api</artifactId>
|
|
|
|
</dependency>
|
2013-07-09 19:09:42 -04:00
|
|
|
</dependencies>
|
2022-05-01 10:52:40 -04:00
|
|
|
<build>
|
2013-04-07 01:49:57 -04:00
|
|
|
<plugins>
|
2015-07-15 06:12:36 -04:00
|
|
|
<!-- licensing info from our dependencies -->
|
2022-05-01 10:52:40 -04:00
|
|
|
<plugin>
|
2015-07-15 06:12:36 -04:00
|
|
|
<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>
|
2022-05-01 10:52:40 -04:00
|
|
|
<goals>
|
2017-05-18 18:19:21 -04:00
|
|
|
<goal>process</goal>
|
2022-05-01 10:52:40 -04:00
|
|
|
</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>
|
HBASE-25896 Implement a Region Visualization on Master WebUI (#4228)
This is a demonstration of visualization of regions on the cluster. The visualization is a stacked
bar chart showing total storefile size per table per region server, with the x-axis being server
names, the y-axis being storfile size, and the bars stacked per table. The visualization is
generated entirely on the fly from within the browser, implemented using Vega Lite. So far, Vega
appears to handle rendering this visualization for a cluster of over 700 region servers with
approximately 300,000 regions.
Per [0], include an update to the top-level LICENSE.txt. Also update LICENSE files in all binary
distributions (i.e., jars), by way of LICENSE.vm. Vega uses a BSD 3-clause variant without
advertising clause, and as such is a "Category A" license, per [1].
No changes are made to the NOTICE files, as per the existing example of bundling the minified
JQuery, which is also a Category A license.
[0]: https://infra.apache.org/licensing-howto.html
[1]: https://www.apache.org/legal/resolved.html#category-a
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-15 16:01:57 -04:00
|
|
|
<bundled-vega>${license.bundles.vega}</bundled-vega>
|
2015-07-15 06:12:36 -04:00
|
|
|
<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>
|
2022-05-01 10:52:40 -04:00
|
|
|
<plugin>
|
2013-04-07 01:49:57 -04:00
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2015-07-15 06:12:36 -04:00
|
|
|
<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>
|
2019-08-13 02:36:35 -04:00
|
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
2013-03-29 14:49:42 -04:00
|
|
|
<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>
|
2015-07-15 06:12:36 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-05-01 10:52:40 -04:00
|
|
|
<plugin>
|
2013-07-09 19:09:42 -04:00
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2015-07-15 06:12:36 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2018-03-13 11:38:46 -04:00
|
|
|
<!-- generates the file that will be used by the bin/hbase script in the dev env -->
|
2013-07-09 19:09:42 -04:00
|
|
|
<id>create-hbase-generated-classpath</id>
|
2022-05-01 10:52:40 -04:00
|
|
|
<goals>
|
2017-05-24 02:57:37 -04:00
|
|
|
<goal>build-classpath</goal>
|
2022-05-01 10:52:40 -04:00
|
|
|
</goals>
|
2017-05-24 02:57:37 -04:00
|
|
|
<phase>test</phase>
|
2015-07-15 06:12:36 -04:00
|
|
|
<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>
|
2015-07-15 06:12:36 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2022-05-01 10:52:40 -04:00
|
|
|
|
2015-07-15 06:12:36 -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>
|
2022-05-01 10:52:40 -04:00
|
|
|
<goals>
|
2017-05-24 02:57:37 -04:00
|
|
|
<goal>build-classpath</goal>
|
2022-05-01 10:52:40 -04:00
|
|
|
</goals>
|
2017-05-24 02:57:37 -04:00
|
|
|
<phase>test</phase>
|
2015-07-15 06:12:36 -04:00
|
|
|
<configuration>
|
2018-03-13 11:38:46 -04:00
|
|
|
<outputFile>${project.parent.basedir}/target/cached_classpath_jline.txt</outputFile>
|
|
|
|
<includeArtifactIds>jline</includeArtifactIds>
|
2015-07-15 06:12:36 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2022-05-01 10:52:40 -04:00
|
|
|
|
2015-07-15 06:12:36 -04:00
|
|
|
<execution>
|
2018-03-13 11:38:46 -04:00
|
|
|
<!-- 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>
|
2022-05-01 10:52:40 -04:00
|
|
|
<goals>
|
2017-05-24 02:57:37 -04:00
|
|
|
<goal>build-classpath</goal>
|
2022-05-01 10:52:40 -04:00
|
|
|
</goals>
|
2017-05-24 02:57:37 -04:00
|
|
|
<phase>test</phase>
|
2015-07-15 06:12:36 -04:00
|
|
|
<configuration>
|
2017-05-24 02:57:37 -04:00
|
|
|
<outputFile>${project.parent.basedir}/target/cached_classpath_jruby.txt</outputFile>
|
|
|
|
<includeArtifactIds>jruby-complete</includeArtifactIds>
|
2015-07-15 06:12:36 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2022-05-01 10:52:40 -04:00
|
|
|
|
|
|
|
<!--
|
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.
|
2022-05-01 10:52:40 -04:00
|
|
|
-->
|
2015-07-15 06:12:36 -04:00
|
|
|
<execution>
|
|
|
|
<!-- put all of the NOTICE files out of our dependencies -->
|
|
|
|
<id>unpack-dependency-notices</id>
|
2022-05-01 10:52:40 -04:00
|
|
|
<goals>
|
2015-07-15 06:12:36 -04:00
|
|
|
<goal>unpack-dependencies</goal>
|
2022-05-01 10:52:40 -04:00
|
|
|
</goals>
|
2015-07-15 06:12:36 -04:00
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<configuration>
|
2019-01-30 03:20:33 -05:00
|
|
|
<excludeTypes>pom</excludeTypes>
|
2015-07-15 06:12:36 -04:00
|
|
|
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
|
|
|
|
<includes>**\/NOTICE,**\/NOTICE.txt</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-05-01 10:52:40 -04:00
|
|
|
<plugin>
|
2015-07-15 06:12:36 -04:00
|
|
|
<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>
|
2022-05-01 10:52:40 -04:00
|
|
|
<goals>
|
2015-07-15 06:12:36 -04:00
|
|
|
<goal>exec</goal>
|
2022-05-01 10:52:40 -04:00
|
|
|
</goals>
|
2015-07-15 06:12:36 -04:00
|
|
|
<phase>package</phase>
|
|
|
|
<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`</argument>
|
2015-07-15 06:12:36 -04:00
|
|
|
</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>
|
2022-05-01 10:52:40 -04:00
|
|
|
</build>
|
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>
|
|
|
|
</dependency>
|
2022-03-31 16:22:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<!-- Making it compile here so that it can be downloaded during packaging. -->
|
|
|
|
<!-- All other modules scope it as test or inherit test scope from parent pom. -->
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2016-04-28 20:14:54 -04:00
|
|
|
</profile>
|
|
|
|
</profiles>
|
2013-03-29 14:49:42 -04:00
|
|
|
</project>
|