1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements. See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership. The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License. You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
23 <modelVersion>4.0.0</modelVersion>
26 <artifactId>hbase-shaded</artifactId>
27 <groupId>org.apache.hbase</groupId>
28 <version>2.4.0</version>
29 <relativePath>..</relativePath>
32 <artifactId>hbase-shaded-testing-util</artifactId>
33 <name>Apache HBase - Shaded - Testing Util</name>
36 <!-- test-jar dependencies -->
38 <groupId>org.apache.hadoop</groupId>
39 <artifactId>hadoop-common</artifactId>
40 <version>${hadoop.version}</version>
42 <scope>compile</scope>
45 <groupId>javax.servlet.jsp</groupId>
46 <artifactId>jsp-api</artifactId>
49 <groupId>org.codehaus.jackson</groupId>
50 <artifactId>jackson-mapper-asl</artifactId>
53 <groupId>org.codehaus.jackson</groupId>
54 <artifactId>jackson-core-asl</artifactId>
57 <groupId>org.codehaus.jackson</groupId>
58 <artifactId>jackson-jaxrs</artifactId>
61 <groupId>org.codehaus.jackson</groupId>
62 <artifactId>jackson-xc</artifactId>
65 <groupId>javax.xml.bind</groupId>
66 <artifactId>jaxb-api</artifactId>
69 <groupId>javax.ws.rs</groupId>
70 <artifactId>jsr311-api</artifactId>
75 <groupId>org.apache.hadoop</groupId>
76 <artifactId>hadoop-hdfs</artifactId>
78 <scope>compile</scope>
81 <groupId>org.apache.hadoop</groupId>
82 <artifactId>hadoop-mapreduce-client-app</artifactId>
83 <version>${hadoop.version}</version>
85 <scope>compile</scope>
88 <groupId>org.codehaus.jackson</groupId>
89 <artifactId>jackson-mapper-asl</artifactId>
92 <groupId>org.codehaus.jackson</groupId>
93 <artifactId>jackson-core-asl</artifactId>
96 <groupId>org.codehaus.jackson</groupId>
97 <artifactId>jackson-jaxrs</artifactId>
100 <groupId>org.codehaus.jackson</groupId>
101 <artifactId>jackson-xc</artifactId>
104 <groupId>javax.xml.bind</groupId>
105 <artifactId>jaxb-api</artifactId>
108 <groupId>javax.ws.rs</groupId>
109 <artifactId>jsr311-api</artifactId>
114 <groupId>org.apache.hadoop</groupId>
115 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
116 <version>${hadoop.version}</version>
117 <type>test-jar</type>
118 <scope>compile</scope>
121 <groupId>org.apache.hbase</groupId>
122 <artifactId>hbase-common</artifactId>
123 <type>test-jar</type>
124 <scope>compile</scope>
127 <groupId>org.apache.hbase</groupId>
128 <artifactId>hbase-server</artifactId>
129 <type>test-jar</type>
130 <scope>compile</scope>
133 <groupId>javax.xml.bind</groupId>
134 <artifactId>jaxb-api</artifactId>
139 <groupId>org.apache.hbase</groupId>
140 <artifactId>hbase-asyncfs</artifactId>
141 <type>test-jar</type>
142 <scope>compile</scope>
145 <groupId>org.apache.hbase</groupId>
146 <artifactId>hbase-zookeeper</artifactId>
147 <type>test-jar</type>
148 <scope>compile</scope>
151 <groupId>org.apache.hbase</groupId>
152 <artifactId>hbase-hadoop-compat</artifactId>
153 <type>test-jar</type>
154 <scope>compile</scope>
157 <groupId>org.apache.hbase</groupId>
158 <artifactId>hbase-hadoop2-compat</artifactId>
159 <type>test-jar</type>
160 <scope>compile</scope>
163 <groupId>org.codehaus.jackson</groupId>
164 <artifactId>jackson-jaxrs</artifactId>
165 <version>1.9.13</version>
166 <scope>compile</scope>
169 <groupId>org.apache.hbase</groupId>
170 <artifactId>hbase-testing-util</artifactId>
171 <version>${project.version}</version>
172 <scope>compile</scope>
175 <groupId>javax.xml.bind</groupId>
176 <artifactId>jaxb-api</artifactId>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-site-plugin</artifactId>
192 <!--Make it so assembly:single does nothing in here-->
193 <artifactId>maven-assembly-plugin</artifactId>
195 <skipAssembly>true</skipAssembly>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-shade-plugin</artifactId>
203 <id>aggregate-into-a-jar-with-relocated-third-parties</id>
207 <!-- exclude J2EE modules that come in for JDK11+ (since
208 hadoop-3.2.0) or modules that come in for JDK8+ but
209 need not be included -->
210 <exclude>javax.annotation:javax.annotation-api</exclude>
211 <exclude>javax.activation:javax.activation-api</exclude>
212 <exclude>jakarta.ws.rs:jakarta.ws.rs-api</exclude>
213 <exclude>jakarta.annotation:jakarta.annotation-api</exclude>
214 <exclude>jakarta.validation:jakarta.validation-api</exclude>
215 <exclude>org.glassfish.hk2.external:jakarta.inject</exclude>
217 Tell the shade plugin that in this case we want to include hadoop
218 by leaving out the exclude.
220 <!-- The rest of these should be kept in sync with the parent pom -->
221 <exclude>org.apache.hbase:hbase-resource-bundle</exclude>
222 <exclude>org.slf4j:*</exclude>
223 <exclude>com.google.code.findbugs:*</exclude>
224 <exclude>com.github.stephenc.findbugs:*</exclude>
225 <exclude>com.github.spotbugs:*</exclude>
226 <exclude>org.apache.htrace:*</exclude>
227 <exclude>org.apache.yetus:*</exclude>
228 <exclude>log4j:*</exclude>
229 <exclude>commons-logging:*</exclude>
230 <exclude>org.javassist:*</exclude>