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-build-configuration</artifactId>
25 <groupId>org.apache.hbase</groupId>
26 <version>3.0.0-SNAPSHOT</version>
27 <relativePath>../hbase-build-configuration</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>
41 <groupId>org.apache.maven.plugins</groupId>
42 <artifactId>maven-enforcer-plugin</artifactId>
44 <!-- hbase-spark is ok in the assembly -->
46 <id>banned-hbase-spark</id>
56 <!-- licensing info from our dependencies -->
58 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-remote-resources-plugin</artifactId>
62 <id>aggregate-licenses</id>
68 <copyright-end-year>${build.year}</copyright-end-year>
69 <debug-print-included-work-info>${license.debug.print.included}</debug-print-included-work-info>
70 <bundled-dependencies>${license.bundles.dependencies}</bundled-dependencies>
71 <bundled-jquery>${license.bundles.jquery}</bundled-jquery>
72 <bundled-logo>${license.bundles.logo}</bundled-logo>
73 <bundled-bootstrap>${license.bundles.bootstrap}</bundled-bootstrap>
76 <resourceBundle>${project.groupId}:hbase-resource-bundle:${project.version}</resourceBundle>
78 <supplementalModelArtifacts>
79 <supplementalModelArtifact>${project.groupId}:hbase-resource-bundle:${project.version}</supplementalModelArtifact>
80 </supplementalModelArtifacts>
82 <supplementalModel>supplemental-models.xml</supplementalModel>
89 <artifactId>maven-assembly-plugin</artifactId>
91 <!--Else will use hbase-assembly as final name.-->
92 <finalName>hbase-${project.version}</finalName>
93 <skipAssembly>false</skipAssembly>
94 <appendAssemblyId>true</appendAssemblyId>
95 <tarLongFileMode>gnu</tarLongFileMode>
97 <descriptor>${assembly.file}</descriptor>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-site-plugin</artifactId>
109 <artifactId>maven-dependency-plugin</artifactId>
112 <!-- generates the file that will be used by the bin/hbase script in the dev env -->
113 <id>create-hbase-generated-classpath</id>
116 <goal>build-classpath</goal>
119 <outputFile>${project.parent.basedir}/target/cached_classpath.txt</outputFile>
120 <excludeArtifactIds>jruby-complete</excludeArtifactIds>
125 <!-- Generates a file containing jruby jar.
126 In dev environment, bin/hbase will read the file and add the jar into classpath when jruby is needed
128 <id>create-hbase-generated-classpath-jruby</id>
131 <goal>build-classpath</goal>
134 <outputFile>${project.parent.basedir}/target/cached_classpath_jruby.txt</outputFile>
135 <includeArtifactIds>jruby-complete</includeArtifactIds>
140 Build an aggregation of our templated NOTICE file and the NOTICE files in our dependencies.
141 If MASSEMBLY-382 is fixed we could do this in the assembly
142 Currently relies on env, bash, find, and cat.
145 <!-- put all of the NOTICE files out of our dependencies -->
146 <id>unpack-dependency-notices</id>
147 <phase>prepare-package</phase>
149 <goal>unpack-dependencies</goal>
152 <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
153 <includes>**\/NOTICE,**\/NOTICE.txt</includes>
159 <groupId>org.codehaus.mojo</groupId>
160 <artifactId>exec-maven-plugin</artifactId>
161 <version>${exec.maven.version}</version>
164 <id>concat-NOTICE-files</id>
165 <phase>package</phase>
170 <executable>env</executable>
172 <argument>bash</argument>
173 <argument>-c</argument>
174 <argument>cat maven-shared-archive-resources/META-INF/NOTICE \
175 `find ${project.build.directory}/dependency -iname NOTICE -or -iname NOTICE.txt`
178 <outputFile>${project.build.directory}/NOTICE.aggregate</outputFile>
179 <workingDirectory>${project.build.directory}</workingDirectory>
184 <!-- /end building aggregation of NOTICE files -->
188 <!-- Intra-project dependencies -->
190 <groupId>org.apache.hbase</groupId>
191 <artifactId>hbase-it</artifactId>
192 <type>test-jar</type>
195 <groupId>org.apache.hbase</groupId>
196 <artifactId>hbase-server</artifactId>
199 <groupId>org.apache.hbase</groupId>
200 <artifactId>hbase-mapreduce</artifactId>
203 <groupId>org.apache.hbase</groupId>
204 <artifactId>hbase-mapreduce</artifactId>
205 <type>test-jar</type>
207 <!-- To dump tools in hbase-procedure into cached_classpath.txt. -->
209 <groupId>org.apache.hbase</groupId>
210 <artifactId>hbase-procedure</artifactId>
213 <groupId>org.apache.hbase</groupId>
214 <artifactId>hbase-procedure</artifactId>
215 <type>test-jar</type>
219 <groupId>org.apache.hbase</groupId>
220 <artifactId>hbase-hadoop-compat</artifactId>
223 <groupId>com.google.guava</groupId>
224 <artifactId>guava</artifactId>
229 <groupId>org.apache.hbase</groupId>
230 <artifactId>${compat.module}</artifactId>
233 <groupId>org.apache.hbase</groupId>
234 <artifactId>hbase-shell</artifactId>
237 <groupId>org.apache.hbase</groupId>
238 <artifactId>hbase-thrift</artifactId>
241 <groupId>org.apache.hbase</groupId>
242 <artifactId>hbase-rest</artifactId>
245 <groupId>org.apache.hbase</groupId>
246 <artifactId>hbase-external-blockcache</artifactId>
249 <groupId>org.apache.hbase</groupId>
250 <artifactId>hbase-testing-util</artifactId>
253 <groupId>org.apache.hbase</groupId>
254 <artifactId>hbase-metrics-api</artifactId>
257 <groupId>org.apache.hbase</groupId>
258 <artifactId>hbase-metrics</artifactId>
261 <groupId>org.apache.hbase</groupId>
262 <artifactId>hbase-protocol</artifactId>
265 <groupId>org.apache.hbase</groupId>
266 <artifactId>hbase-protocol-shaded</artifactId>
269 <groupId>org.apache.hbase</groupId>
270 <artifactId>hbase-resource-bundle</artifactId>
271 <optional>true</optional>
274 <groupId>org.apache.hbase</groupId>
275 <artifactId>hbase-spark</artifactId>
278 <groupId>org.apache.httpcomponents</groupId>
279 <artifactId>httpclient</artifactId>
282 <groupId>org.apache.httpcomponents</groupId>
283 <artifactId>httpcore</artifactId>
286 <groupId>org.apache.hbase</groupId>
287 <artifactId>hbase-spark-it</artifactId>
288 <type>test-jar</type>
291 <groupId>org.apache.hbase</groupId>
292 <artifactId>hbase-backup</artifactId>
295 <groupId>org.apache.hbase</groupId>
296 <artifactId>hbase-replication</artifactId>
299 <groupId>org.apache.hbase</groupId>
300 <artifactId>hbase-http</artifactId>
303 <groupId>org.apache.hbase</groupId>
304 <artifactId>hbase-examples</artifactId>
307 <groupId>org.apache.hbase</groupId>
308 <artifactId>hbase-zookeeper</artifactId>
316 <name>!skip-rsgroup</name>
321 <groupId>org.apache.hbase</groupId>
322 <artifactId>hbase-rsgroup</artifactId>
323 <version>${project.version}</version>