2 <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">
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements. See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership. The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License. You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
22 <modelVersion>4.0.0</modelVersion>
24 <artifactId>hbase</artifactId>
25 <groupId>org.apache.hbase</groupId>
26 <version>2.0.0-SNAPSHOT</version>
27 <relativePath>..</relativePath>
29 <artifactId>hbase-assembly</artifactId>
30 <name>Apache HBase - Assembly</name>
32 Module that does project assembly and that is all that it does.
34 <packaging>pom</packaging>
36 <license.bundles.dependencies>true</license.bundles.dependencies>
40 <!-- licensing info from our dependencies -->
42 <groupId>org.apache.maven.plugins</groupId>
43 <artifactId>maven-remote-resources-plugin</artifactId>
44 <version>1.5</version>
50 <copyright-end-year>${build.year}</copyright-end-year>
51 <debug-print-included-work-info>${license.debug.print.included}</debug-print-included-work-info>
52 <bundled-dependencies>${license.bundles.dependencies}</bundled-dependencies>
53 <bundled-jquery>${license.bundles.jquery}</bundled-jquery>
54 <bundled-logo>${license.bundles.logo}</bundled-logo>
55 <bundled-bootstrap>${license.bundles.bootstrap}</bundled-bootstrap>
58 <resourceBundle>${project.groupId}:hbase-resource-bundle:${project.version}</resourceBundle>
60 <supplementalModelArtifacts>
61 <supplementalModelArtifact>${project.groupId}:hbase-resource-bundle:${project.version}</supplementalModelArtifact>
62 </supplementalModelArtifacts>
64 <supplementalModel>supplemental-models.xml</supplementalModel>
71 <artifactId>maven-assembly-plugin</artifactId>
72 <version>${maven.assembly.version}</version>
74 <!--Else will use hbase-assembly as final name.-->
75 <finalName>hbase-${project.version}</finalName>
76 <skipAssembly>false</skipAssembly>
77 <appendAssemblyId>true</appendAssemblyId>
78 <tarLongFileMode>gnu</tarLongFileMode>
80 <descriptor>${assembly.file}</descriptor>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-site-plugin</artifactId>
92 <artifactId>maven-dependency-plugin</artifactId>
95 <!-- generates the file that will be used by the bin/hbase script in the dev env -->
96 <id>create-hbase-generated-classpath</id>
99 <goal>build-classpath</goal>
102 <outputFile>${project.parent.basedir}/target/cached_classpath.txt</outputFile>
106 Build an aggregation of our templated NOTICE file and the NOTICE files in our dependencies.
107 If MASSEMBLY-382 is fixed we could do this in the assembly
108 Currently relies on env, bash, find, and cat.
111 <!-- put all of the NOTICE files out of our dependencies -->
112 <id>unpack-dependency-notices</id>
113 <phase>prepare-package</phase>
115 <goal>unpack-dependencies</goal>
118 <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
119 <includes>**\/NOTICE,**\/NOTICE.txt</includes>
125 <groupId>org.codehaus.mojo</groupId>
126 <artifactId>exec-maven-plugin</artifactId>
127 <version>1.4.0</version>
130 <id>concat-NOTICE-files</id>
131 <phase>package</phase>
136 <executable>env</executable>
138 <argument>bash</argument>
139 <argument>-c</argument>
140 <argument>cat maven-shared-archive-resources/META-INF/NOTICE \
141 `find ${project.build.directory}/dependency -iname NOTICE -or -iname NOTICE.txt`
144 <outputFile>${project.build.directory}/NOTICE.aggregate</outputFile>
145 <workingDirectory>${project.build.directory}</workingDirectory>
150 <!-- /end building aggregation of NOTICE files -->
154 <!-- Intra-project dependencies -->
156 <groupId>org.apache.hbase</groupId>
157 <artifactId>hbase-it</artifactId>
158 <type>test-jar</type>
161 <groupId>org.apache.hbase</groupId>
162 <artifactId>hbase-server</artifactId>
164 <!-- To dump tools in hbase-procedure into cached_classpath.txt. -->
166 <groupId>org.apache.hbase</groupId>
167 <artifactId>hbase-procedure</artifactId>
170 <groupId>org.apache.hbase</groupId>
171 <artifactId>hbase-procedure</artifactId>
172 <type>test-jar</type>
176 <groupId>org.apache.hbase</groupId>
177 <artifactId>hbase-hadoop-compat</artifactId>
180 <groupId>org.apache.hbase</groupId>
181 <artifactId>${compat.module}</artifactId>
182 <version>${project.version}</version>
185 <groupId>org.apache.hbase</groupId>
186 <artifactId>hbase-shell</artifactId>
187 <version>${project.version}</version>
190 <groupId>org.apache.hbase</groupId>
191 <artifactId>hbase-thrift</artifactId>
192 <version>${project.version}</version>
195 <groupId>org.apache.hbase</groupId>
196 <artifactId>hbase-rest</artifactId>
197 <version>${project.version}</version>
200 <groupId>org.apache.hbase</groupId>
201 <artifactId>hbase-external-blockcache</artifactId>
202 <version>${project.version}</version>
205 <groupId>org.apache.hbase</groupId>
206 <artifactId>hbase-testing-util</artifactId>
207 <version>${project.version}</version>
210 <groupId>org.apache.hbase</groupId>
211 <artifactId>hbase-metrics-api</artifactId>
212 <version>${project.version}</version>
215 <groupId>org.apache.hbase</groupId>
216 <artifactId>hbase-metrics</artifactId>
217 <version>${project.version}</version>
220 <groupId>org.apache.hbase</groupId>
221 <artifactId>hbase-resource-bundle</artifactId>
222 <version>${project.version}</version>
223 <optional>true</optional>
226 <groupId>org.apache.hbase</groupId>
227 <artifactId>hbase-spark</artifactId>
228 <version>${project.version}</version>
237 <name>!skip-rsgroup</name>
242 <groupId>org.apache.hbase</groupId>
243 <artifactId>hbase-rsgroup</artifactId>
244 <version>${project.version}</version>