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.8</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>
73 <groupId>javax.servlet</groupId>
74 <artifactId>servlet-api</artifactId>
79 <groupId>org.apache.hadoop</groupId>
80 <artifactId>hadoop-hdfs</artifactId>
82 <scope>compile</scope>
85 <groupId>org.apache.hadoop</groupId>
86 <artifactId>hadoop-mapreduce-client-app</artifactId>
87 <version>${hadoop.version}</version>
89 <scope>compile</scope>
92 <groupId>org.codehaus.jackson</groupId>
93 <artifactId>jackson-mapper-asl</artifactId>
96 <groupId>org.codehaus.jackson</groupId>
97 <artifactId>jackson-core-asl</artifactId>
100 <groupId>org.codehaus.jackson</groupId>
101 <artifactId>jackson-jaxrs</artifactId>
104 <groupId>org.codehaus.jackson</groupId>
105 <artifactId>jackson-xc</artifactId>
108 <groupId>javax.xml.bind</groupId>
109 <artifactId>jaxb-api</artifactId>
112 <groupId>javax.ws.rs</groupId>
113 <artifactId>jsr311-api</artifactId>
116 <groupId>javax.servlet</groupId>
117 <artifactId>servlet-api</artifactId>
122 <groupId>org.apache.hadoop</groupId>
123 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
124 <version>${hadoop.version}</version>
125 <type>test-jar</type>
126 <scope>compile</scope>
129 <groupId>org.apache.hbase</groupId>
130 <artifactId>hbase-common</artifactId>
131 <type>test-jar</type>
132 <scope>compile</scope>
135 <groupId>org.apache.hbase</groupId>
136 <artifactId>hbase-server</artifactId>
137 <type>test-jar</type>
138 <scope>compile</scope>
141 <groupId>javax.xml.bind</groupId>
142 <artifactId>jaxb-api</artifactId>
147 <groupId>org.apache.hbase</groupId>
148 <artifactId>hbase-asyncfs</artifactId>
149 <type>test-jar</type>
150 <scope>compile</scope>
153 <groupId>org.apache.hbase</groupId>
154 <artifactId>hbase-zookeeper</artifactId>
155 <type>test-jar</type>
156 <scope>compile</scope>
159 <groupId>org.apache.hbase</groupId>
160 <artifactId>hbase-hadoop-compat</artifactId>
161 <type>test-jar</type>
162 <scope>compile</scope>
165 <groupId>org.apache.hbase</groupId>
166 <artifactId>hbase-hadoop2-compat</artifactId>
167 <type>test-jar</type>
168 <scope>compile</scope>
171 <groupId>org.codehaus.jackson</groupId>
172 <artifactId>jackson-jaxrs</artifactId>
173 <version>1.9.13</version>
174 <scope>compile</scope>
177 <groupId>org.apache.hbase</groupId>
178 <artifactId>hbase-testing-util</artifactId>
179 <version>${project.version}</version>
180 <scope>compile</scope>
183 <groupId>javax.xml.bind</groupId>
184 <artifactId>jaxb-api</artifactId>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-site-plugin</artifactId>
200 <!--Make it so assembly:single does nothing in here-->
201 <artifactId>maven-assembly-plugin</artifactId>
203 <skipAssembly>true</skipAssembly>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-shade-plugin</artifactId>
211 <id>aggregate-into-a-jar-with-relocated-third-parties</id>
215 <!-- exclude J2EE modules that come in for JDK11+ (since
216 hadoop-3.2.0) or modules that come in for JDK8+ but
217 need not be included -->
218 <exclude>javax.annotation:javax.annotation-api</exclude>
219 <exclude>javax.activation:javax.activation-api</exclude>
220 <exclude>jakarta.ws.rs:jakarta.ws.rs-api</exclude>
221 <exclude>jakarta.annotation:jakarta.annotation-api</exclude>
222 <exclude>jakarta.validation:jakarta.validation-api</exclude>
223 <exclude>org.glassfish.hk2.external:jakarta.inject</exclude>
225 Tell the shade plugin that in this case we want to include hadoop
226 by leaving out the exclude.
228 <!-- The rest of these should be kept in sync with the parent pom -->
229 <exclude>org.apache.hbase:hbase-resource-bundle</exclude>
230 <exclude>org.slf4j:*</exclude>
231 <exclude>com.google.code.findbugs:*</exclude>
232 <exclude>com.github.stephenc.findbugs:*</exclude>
233 <exclude>com.github.spotbugs:*</exclude>
234 <exclude>org.apache.htrace:*</exclude>
235 <exclude>org.apache.yetus:*</exclude>
236 <exclude>log4j:*</exclude>
237 <exclude>commons-logging:*</exclude>
238 <exclude>org.javassist:*</exclude>