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-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>
78 <copyright-end-year>${build.year}</copyright-end-year>
79 <debug-print-included-work-info>${license.debug.print.included}</debug-print-included-work-info>
80 <bundled-dependencies>${license.bundles.dependencies}</bundled-dependencies>
81 <bundled-jquery>${license.bundles.jquery}</bundled-jquery>
82 <bundled-logo>${license.bundles.logo}</bundled-logo>
83 <bundled-bootstrap>${license.bundles.bootstrap}</bundled-bootstrap>
86 <resourceBundle>${project.groupId}:hbase-resource-bundle:${project.version}</resourceBundle>
88 <supplementalModelArtifacts>
89 <supplementalModelArtifact>${project.groupId}:hbase-resource-bundle:${project.version}</supplementalModelArtifact>
90 </supplementalModelArtifacts>
92 <supplementalModel>supplemental-models.xml</supplementalModel>
102 <!--Make it so assembly:single does nothing in here-->
103 <artifactId>maven-assembly-plugin</artifactId>
105 <skipAssembly>true</skipAssembly>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-shade-plugin</artifactId>
113 <phase>package</phase>
118 <createSourcesJar>false</createSourcesJar>
119 <shadedArtifactAttached>false</shadedArtifactAttached>
120 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
121 <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
122 <shadeTestJar>false</shadeTestJar>
125 <exclude>org.apache.hbase:hbase-resource-bundle</exclude>
126 <exclude>org.slf4j:*</exclude>
127 <exclude>com.google.code.findbugs:*</exclude>
128 <exclude>com.github.stephenc.findbugs:*</exclude>
129 <exclude>org.apache.htrace:*</exclude>
130 <exclude>log4j:*</exclude>
131 <exclude>commons-logging:*</exclude>
135 <!-- top level com not including sun-->
137 <pattern>com.google</pattern>
138 <shadedPattern>org.apache.hadoop.hbase.shaded.com.google</shadedPattern>
141 <pattern>com.jcraft</pattern>
142 <shadedPattern>org.apache.hadoop.hbase.shaded.com.jcraft</shadedPattern>
145 <pattern>com.thoughtworks</pattern>
146 <shadedPattern>org.apache.hadoop.hbase.shaded.com.thoughtworks</shadedPattern>
149 <pattern>com.jamesmurty</pattern>
150 <shadedPattern>org.apache.hadoop.hbase.shaded.com.jamesmurty</shadedPattern>
153 <pattern>com.lmax</pattern>
154 <shadedPattern>org.apache.hadoop.hbase.shaded.com.lmax</shadedPattern>
157 <pattern>com.dropwizard</pattern>
158 <shadedPattern>org.apache.hadoop.hbase.shaded.com.dropwizard</shadedPattern>
161 <!-- top level io -->
163 <pattern>io.netty</pattern>
164 <shadedPattern>org.apache.hadoop.hbase.shaded.io.netty</shadedPattern>
167 <!-- top level org -->
169 <pattern>org.codehaus</pattern>
170 <shadedPattern>org.apache.hadoop.hbase.shaded.org.codehaus</shadedPattern>
173 <pattern>org.jcodings</pattern>
174 <shadedPattern>org.apache.hadoop.hbase.shaded.org.jcodings</shadedPattern>
177 <pattern>org.joni</pattern>
178 <shadedPattern>org.apache.hadoop.hbase.shaded.org.joni</shadedPattern>
181 <pattern>org.mortbay</pattern>
182 <shadedPattern>org.apache.hadoop.hbase.shaded.org.mortbay</shadedPattern>
185 <pattern>org.tukaani</pattern>
186 <shadedPattern>org.apache.hadoop.hbase.shaded.org.tukaani</shadedPattern>
189 <pattern>org.xerial</pattern>
190 <shadedPattern>org.apache.hadoop.hbase.shaded.org.xerial</shadedPattern>
193 <pattern>org.znerd</pattern>
194 <shadedPattern>org.apache.hadoop.hbase.shaded.org.znerd</shadedPattern>
197 <pattern>org.aopalliance</pattern>
198 <shadedPattern>org.apache.hadoop.hbase.shaded.org.aopalliance</shadedPattern>
201 <pattern>org.fusesource</pattern>
202 <shadedPattern>org.apache.hadoop.hbase.shaded.org.fusesource</shadedPattern>
205 <pattern>org.iq80</pattern>
206 <shadedPattern>org.apache.hadoop.hbase.shaded.org.iq80</shadedPattern>
209 <pattern>org.jamon</pattern>
210 <shadedPattern>org.apache.hadoop.hbase.shaded.org.jamon</shadedPattern>
213 <pattern>org.jets3t</pattern>
214 <shadedPattern>org.apache.hadoop.hbase.shaded.org.jets3t</shadedPattern>
217 <pattern>org.objectweb</pattern>
218 <shadedPattern>org.apache.hadoop.hbase.shaded.org.objectweb</shadedPattern>
222 <!-- org.apache relocations not in org.apache.hadoop or org.apache.commons -->
224 <pattern>org.apache.avro</pattern>
225 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.avro</shadedPattern>
228 <pattern>org.apache.directory</pattern>
229 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.directory</shadedPattern>
232 <pattern>org.apache.http</pattern>
233 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.http</shadedPattern>
236 <pattern>org.apache.jute</pattern>
237 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.jute</shadedPattern>
240 <pattern>org.apache.zookeeper</pattern>
241 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.zookeeper</shadedPattern>
244 <pattern>org.apache.jasper</pattern>
245 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.jasper</shadedPattern>
248 <pattern>org.apache.taglibs</pattern>
249 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons</shadedPattern>
252 <!-- org.apache.commons not including logging -->
254 <pattern>org.apache.commons.beanutils</pattern>
255 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.beanutils</shadedPattern>
258 <pattern>org.apache.commons.cli</pattern>
259 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.cli</shadedPattern>
262 <pattern>org.apache.commons.collections</pattern>
263 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.collections</shadedPattern>
266 <pattern>org.apache.commons.configuration</pattern>
267 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.configuration</shadedPattern>
270 <pattern>org.apache.commons.daemon</pattern>
271 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.daemon</shadedPattern>
274 <pattern>org.apache.commons.io</pattern>
275 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.io</shadedPattern>
278 <pattern>org.apache.commons.math</pattern>
279 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.math</shadedPattern>
282 <pattern>org.apache.commons.math3</pattern>
283 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.math3</shadedPattern>
286 <pattern>org.apache.commons.net</pattern>
287 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.net</shadedPattern>
290 <pattern>org.apache.commons.lang</pattern>
291 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.lang</shadedPattern>
294 <pattern>org.apache.commons.el</pattern>
295 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.el</shadedPattern>
298 <pattern>org.apache.commons.httpclient</pattern>
299 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.httpclient</shadedPattern>
302 <pattern>org.apache.commons.compress</pattern>
303 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.compress</shadedPattern>
306 <pattern>org.apache.commons.digester</pattern>
307 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.digester</shadedPattern>
310 <pattern>org.apache.commons.codec</pattern>
311 <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.codec</shadedPattern>
314 <!-- top level net-->
316 <pattern>net.iharder</pattern>
317 <shadedPattern>org.apache.hadoop.hbase.shaded.net.iharder</shadedPattern>
322 <pattern>junit</pattern>
323 <shadedPattern>org.apache.hadoop.hbase.shaded.junit</shadedPattern>
326 <pattern>org.junit</pattern>
327 <shadedPattern>org.apache.hadoop.hbase.shaded.org.junit</shadedPattern>
333 <!-- Need to filter out some extraneous license files.
334 Don't use the ApacheLicenseRT because it just removes all
335 META-INF/LICENSE(.txt)? files, including ours. -->
336 <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
338 <resource>LICENSE.txt</resource>
339 <resource>ASL2.0</resource>
342 <!-- Where notices exist, just concat them -->
343 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
344 <addHeader>false</addHeader>
345 <projectName>${project.name}</projectName>