Preparing hbase release 2.4.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
[hbase.git] / hbase-shaded / hbase-shaded-testing-util / pom.xml
blob5c8e211e9c7bca9c30930db27ce75ebdcf9b2697
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">
4     <!--
5       /**
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
13        *
14        *     http://www.apache.org/licenses/LICENSE-2.0
15        *
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.
21        */
22       -->
23     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <artifactId>hbase-shaded</artifactId>
27         <groupId>org.apache.hbase</groupId>
28         <version>2.4.0</version>
29         <relativePath>..</relativePath>
30     </parent>
32     <artifactId>hbase-shaded-testing-util</artifactId>
33     <name>Apache HBase - Shaded - Testing Util</name>
35     <dependencies>
36         <!-- test-jar dependencies -->
37         <dependency>
38             <groupId>org.apache.hadoop</groupId>
39             <artifactId>hadoop-common</artifactId>
40             <version>${hadoop.version}</version>
41             <type>test-jar</type>
42             <scope>compile</scope>
43             <exclusions>
44                 <exclusion>
45                     <groupId>javax.servlet.jsp</groupId>
46                     <artifactId>jsp-api</artifactId>
47                 </exclusion>
48                 <exclusion>
49                     <groupId>org.codehaus.jackson</groupId>
50                     <artifactId>jackson-mapper-asl</artifactId>
51                 </exclusion>
52                 <exclusion>
53                     <groupId>org.codehaus.jackson</groupId>
54                     <artifactId>jackson-core-asl</artifactId>
55                 </exclusion>
56                 <exclusion>
57                     <groupId>org.codehaus.jackson</groupId>
58                     <artifactId>jackson-jaxrs</artifactId>
59                 </exclusion>
60                 <exclusion>
61                     <groupId>org.codehaus.jackson</groupId>
62                     <artifactId>jackson-xc</artifactId>
63                 </exclusion>
64                 <exclusion>
65                    <groupId>javax.xml.bind</groupId>
66                    <artifactId>jaxb-api</artifactId>
67                 </exclusion>
68                 <exclusion>
69                   <groupId>javax.ws.rs</groupId>
70                   <artifactId>jsr311-api</artifactId>
71                 </exclusion>
72             </exclusions>
73         </dependency>
74         <dependency>
75             <groupId>org.apache.hadoop</groupId>
76             <artifactId>hadoop-hdfs</artifactId>
77             <type>test-jar</type>
78             <scope>compile</scope>
79         </dependency>
80         <dependency>
81             <groupId>org.apache.hadoop</groupId>
82             <artifactId>hadoop-mapreduce-client-app</artifactId>
83             <version>${hadoop.version}</version>
84             <type>test-jar</type>
85             <scope>compile</scope>
86             <exclusions>
87                 <exclusion>
88                     <groupId>org.codehaus.jackson</groupId>
89                     <artifactId>jackson-mapper-asl</artifactId>
90                 </exclusion>
91                 <exclusion>
92                     <groupId>org.codehaus.jackson</groupId>
93                     <artifactId>jackson-core-asl</artifactId>
94                 </exclusion>
95                 <exclusion>
96                     <groupId>org.codehaus.jackson</groupId>
97                     <artifactId>jackson-jaxrs</artifactId>
98                 </exclusion>
99                 <exclusion>
100                     <groupId>org.codehaus.jackson</groupId>
101                     <artifactId>jackson-xc</artifactId>
102                 </exclusion>
103                 <exclusion>
104                     <groupId>javax.xml.bind</groupId>
105                     <artifactId>jaxb-api</artifactId>
106                 </exclusion>
107                 <exclusion>
108                   <groupId>javax.ws.rs</groupId>
109                   <artifactId>jsr311-api</artifactId>
110                 </exclusion>
111             </exclusions>
112         </dependency>
113         <dependency>
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>
119         </dependency>
120         <dependency>
121             <groupId>org.apache.hbase</groupId>
122             <artifactId>hbase-common</artifactId>
123             <type>test-jar</type>
124             <scope>compile</scope>
125         </dependency>
126         <dependency>
127             <groupId>org.apache.hbase</groupId>
128             <artifactId>hbase-server</artifactId>
129             <type>test-jar</type>
130             <scope>compile</scope>
131             <exclusions>
132               <exclusion>
133                  <groupId>javax.xml.bind</groupId>
134                  <artifactId>jaxb-api</artifactId>
135               </exclusion>
136             </exclusions>
137         </dependency>
138         <dependency>
139             <groupId>org.apache.hbase</groupId>
140             <artifactId>hbase-asyncfs</artifactId>
141             <type>test-jar</type>
142             <scope>compile</scope>
143         </dependency>
144         <dependency>
145             <groupId>org.apache.hbase</groupId>
146             <artifactId>hbase-zookeeper</artifactId>
147             <type>test-jar</type>
148             <scope>compile</scope>
149         </dependency>
150         <dependency>
151             <groupId>org.apache.hbase</groupId>
152             <artifactId>hbase-hadoop-compat</artifactId>
153             <type>test-jar</type>
154             <scope>compile</scope>
155         </dependency>
156         <dependency>
157             <groupId>org.apache.hbase</groupId>
158             <artifactId>hbase-hadoop2-compat</artifactId>
159             <type>test-jar</type>
160             <scope>compile</scope>
161         </dependency>
162         <dependency>
163             <groupId>org.codehaus.jackson</groupId>
164             <artifactId>jackson-jaxrs</artifactId>
165             <version>1.9.13</version>
166             <scope>compile</scope>
167         </dependency>
168         <dependency>
169             <groupId>org.apache.hbase</groupId>
170             <artifactId>hbase-testing-util</artifactId>
171             <version>${project.version}</version>
172             <scope>compile</scope>
173             <exclusions>
174               <exclusion>
175                 <groupId>javax.xml.bind</groupId>
176                 <artifactId>jaxb-api</artifactId>
177               </exclusion>
178             </exclusions>
179         </dependency>
180     </dependencies>
182     <build>
183         <plugins>
184             <plugin>
185                 <groupId>org.apache.maven.plugins</groupId>
186                 <artifactId>maven-site-plugin</artifactId>
187                 <configuration>
188                     <skip>true</skip>
189                 </configuration>
190             </plugin>
191             <plugin>
192                 <!--Make it so assembly:single does nothing in here-->
193                 <artifactId>maven-assembly-plugin</artifactId>
194                 <configuration>
195                     <skipAssembly>true</skipAssembly>
196                 </configuration>
197             </plugin>
198             <plugin>
199                 <groupId>org.apache.maven.plugins</groupId>
200                 <artifactId>maven-shade-plugin</artifactId>
201                 <executions>
202                     <execution>
203                         <id>aggregate-into-a-jar-with-relocated-third-parties</id>
204                         <configuration>
205                             <artifactSet>
206                                 <excludes>
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>
216                                     <!--
217                                       Tell the shade plugin that in this case we want to include hadoop
218                                       by leaving out the exclude.
219                                       -->
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>
231                                 </excludes>
232                             </artifactSet>
233                         </configuration>
234                     </execution>
235                 </executions>
236             </plugin>
237         </plugins>
238     </build>
240 </project>