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>3.0.0-SNAPSHOT</version>
27 <relativePath>..</relativePath>
29 <artifactId>hbase-shaded</artifactId>
30 <name>Apache HBase - Shaded</name>
31 <description>Module of HBase with most deps shaded.</description>
32 <packaging>pom</packaging>
34 <!-- Don't make a test-jar -->
35 <maven.test.skip>true</maven.test.skip>
36 <!-- Don't make a source-jar -->
37 <source.skip>true</source.skip>
38 <license.bundles.dependencies>true</license.bundles.dependencies>
41 <module>hbase-shaded-client</module>
42 <module>hbase-shaded-server</module>
46 <groupId>org.apache.hbase</groupId>
47 <artifactId>hbase-resource-bundle</artifactId>
48 <version>${project.version}</version>
49 <optional>true</optional>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-site-plugin</artifactId>
62 <!--Make it so assembly:single does nothing in here-->
63 <artifactId>maven-assembly-plugin</artifactId>
65 <skipAssembly>true</skipAssembly>
68 <!-- licensing info from our dependencies -->
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-remote-resources-plugin</artifactId>
72 <version>1.5</version>
75 <id>aggregate-licenses</id>
81 <copyright-end-year>${build.year}</copyright-end-year>
82 <debug-print-included-work-info>${license.debug.print.included}</debug-print-included-work-info>
83 <bundled-dependencies>${license.bundles.dependencies}</bundled-dependencies>
84 <bundled-jquery>${license.bundles.jquery}</bundled-jquery>
85 <bundled-logo>${license.bundles.logo}</bundled-logo>
86 <bundled-bootstrap>${license.bundles.bootstrap}</bundled-bootstrap>
89 <resourceBundle>${project.groupId}:hbase-resource-bundle:${project.version}</resourceBundle>
91 <supplementalModelArtifacts>
92 <supplementalModelArtifact>${project.groupId}:hbase-resource-bundle:${project.version}</supplementalModelArtifact>
93 </supplementalModelArtifacts>
95 <supplementalModel>supplemental-models.xml</supplementalModel>
105 <!--Make it so assembly:single does nothing in here-->
106 <artifactId>maven-assembly-plugin</artifactId>
108 <skipAssembly>true</skipAssembly>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-shade-plugin</artifactId>
116 <phase>package</phase>
121 <createSourcesJar>false</createSourcesJar>
122 <shadedArtifactAttached>false</shadedArtifactAttached>
123 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
124 <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
125 <shadeTestJar>false</shadeTestJar>
128 <exclude>org.apache.hbase:hbase-resource-bundle</exclude>
129 <exclude>org.slf4j:*</exclude>
130 <exclude>com.google.code.findbugs:*</exclude>
131 <exclude>com.github.stephenc.findbugs:*</exclude>
132 <exclude>org.apache.htrace:*</exclude>
133 <exclude>log4j:*</exclude>
134 <exclude>commons-logging:*</exclude>
138 <!-- top level com not including sun-->
140 <pattern>com.google</pattern>
141 <shadedPattern>org.apache.hadoop.hbase.shaded.com.google</shadedPattern>
144 <pattern>com.jcraft</pattern>
145 <shadedPattern>org.apache.hadoop.hbase.shaded.com.jcraft</shadedPattern>
148 <pattern>com.thoughtworks</pattern>
149 <shadedPattern>org.apache.hadoop.hbase.shaded.com.thoughtworks</shadedPattern>
152 <pattern>com.jamesmurty</pattern>
153 <shadedPattern>org.apache.hadoop.hbase.shaded.com.jamesmurty</shadedPattern>
156 <pattern>com.lmax</pattern>
157 <shadedPattern>org.apache.hadoop.hbase.shaded.com.lmax</shadedPattern>
160 <pattern>com.dropwizard</pattern>
161 <shadedPattern>org.apache.hadoop.hbase.shaded.com.dropwizard</shadedPattern>
164 <!-- top level io -->
166 <pattern>io.netty</pattern>
167 <shadedPattern>org.apache.hadoop.hbase.shaded.io.netty</shadedPattern>
170 <!-- top level org -->
172 <pattern>org.codehaus</pattern>
173 <shadedPattern>org.apache.hadoop.hbase.shaded.org.codehaus</shadedPattern>
176 <pattern>org.jcodings</pattern>
177 <shadedPattern>org.apache.hadoop.hbase.shaded.org.jcodings</shadedPattern>
180 <pattern>org.joni</pattern>
181 <shadedPattern>org.apache.hadoop.hbase.shaded.org.joni</shadedPattern>
184 <pattern>org.mortbay</pattern>
185 <shadedPattern>org.apache.hadoop.hbase.shaded.org.mortbay</shadedPattern>
188 <pattern>org.tukaani</pattern>
189 <shadedPattern>org.apache.hadoop.hbase.shaded.org.tukaani</shadedPattern>
192 <pattern>org.xerial</pattern>
193 <shadedPattern>org.apache.hadoop.hbase.shaded.org.xerial</shadedPattern>
196 <pattern>org.znerd</pattern>
197 <shadedPattern>org.apache.hadoop.hbase.shaded.org.znerd</shadedPattern>
200 <pattern>org.aopalliance</pattern>
201 <shadedPattern>org.apache.hadoop.hbase.shaded.org.aopalliance</shadedPattern>
204 <pattern>org.fusesource</pattern>
205 <shadedPattern>org.apache.hadoop.hbase.shaded.org.fusesource</shadedPattern>
208 <pattern>org.iq80</pattern>
209 <shadedPattern>org.apache.hadoop.hbase.shaded.org.iq80</shadedPattern>
212 <pattern>org.jamon</pattern>
213 <shadedPattern>org.apache.hadoop.hbase.shaded.org.jamon</shadedPattern>
216 <pattern>org.jets3t</pattern>
217 <shadedPattern>org.apache.hadoop.hbase.shaded.org.jets3t</shadedPattern>
220 <pattern>org.objectweb</pattern>
221 <shadedPattern>org.apache.hadoop.hbase.shaded.org.objectweb</shadedPattern>
225 <!-- org.apache relocations not in org.apache.hadoop or org.apache.commons -->
227 <pattern>org.apache.avro</pattern>
228 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.avro</shadedPattern>
231 <pattern>org.apache.directory</pattern>
232 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.directory</shadedPattern>
235 <pattern>org.apache.http</pattern>
236 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.http</shadedPattern>
239 <pattern>org.apache.jute</pattern>
240 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.jute</shadedPattern>
243 <pattern>org.apache.zookeeper</pattern>
244 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.zookeeper</shadedPattern>
247 <pattern>org.apache.jasper</pattern>
248 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.jasper</shadedPattern>
251 <pattern>org.apache.taglibs</pattern>
252 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons</shadedPattern>
255 <!-- org.apache.commons not including logging -->
257 <pattern>org.apache.commons.beanutils</pattern>
258 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.beanutils</shadedPattern>
261 <pattern>org.apache.commons.cli</pattern>
262 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.cli</shadedPattern>
265 <pattern>org.apache.commons.collections</pattern>
266 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.collections</shadedPattern>
269 <pattern>org.apache.commons.configuration</pattern>
270 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.configuration</shadedPattern>
273 <pattern>org.apache.commons.daemon</pattern>
274 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.daemon</shadedPattern>
277 <pattern>org.apache.commons.io</pattern>
278 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.io</shadedPattern>
281 <pattern>org.apache.commons.math</pattern>
282 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.math</shadedPattern>
285 <pattern>org.apache.commons.math3</pattern>
286 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.math3</shadedPattern>
289 <pattern>org.apache.commons.net</pattern>
290 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.net</shadedPattern>
293 <pattern>org.apache.commons.lang</pattern>
294 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.lang</shadedPattern>
297 <pattern>org.apache.commons.el</pattern>
298 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.el</shadedPattern>
301 <pattern>org.apache.commons.httpclient</pattern>
302 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.httpclient</shadedPattern>
305 <pattern>org.apache.commons.compress</pattern>
306 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.compress</shadedPattern>
309 <pattern>org.apache.commons.digester</pattern>
310 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.digester</shadedPattern>
313 <pattern>org.apache.commons.codec</pattern>
314 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.codec</shadedPattern>
317 <!-- top level net-->
319 <pattern>net.iharder</pattern>
320 <shadedPattern>org.apache.hadoop.hbase.shaded.net.iharder</shadedPattern>
325 <pattern>junit</pattern>
326 <shadedPattern>org.apache.hadoop.hbase.shaded.junit</shadedPattern>
329 <pattern>org.junit</pattern>
330 <shadedPattern>org.apache.hadoop.hbase.shaded.org.junit</shadedPattern>
336 <!-- Need to filter out some extraneous license files.
337 Don't use the ApacheLicenseRT because it just removes all
338 META-INF/LICENSE(.txt)? files, including ours. -->
339 <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
341 <resource>LICENSE.txt</resource>
342 <resource>ASL2.0</resource>
345 <!-- Where notices exist, just concat them -->
346 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
347 <addHeader>false</addHeader>
348 <projectName>${project.name}</projectName>