Revert "Preparing development version 2.4.9-SNAPSHOT"
[hbase.git] / hbase-shaded / hbase-shaded-testing-util / pom.xml
blob307c90f2784ea78cc2e8b4382476e9ca8cf306fe
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.8</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                 <exclusion>
73                   <groupId>javax.servlet</groupId>
74                   <artifactId>servlet-api</artifactId>
75                 </exclusion>
76             </exclusions>
77         </dependency>
78         <dependency>
79             <groupId>org.apache.hadoop</groupId>
80             <artifactId>hadoop-hdfs</artifactId>
81             <type>test-jar</type>
82             <scope>compile</scope>
83         </dependency>
84         <dependency>
85             <groupId>org.apache.hadoop</groupId>
86             <artifactId>hadoop-mapreduce-client-app</artifactId>
87             <version>${hadoop.version}</version>
88             <type>test-jar</type>
89             <scope>compile</scope>
90             <exclusions>
91                 <exclusion>
92                     <groupId>org.codehaus.jackson</groupId>
93                     <artifactId>jackson-mapper-asl</artifactId>
94                 </exclusion>
95                 <exclusion>
96                     <groupId>org.codehaus.jackson</groupId>
97                     <artifactId>jackson-core-asl</artifactId>
98                 </exclusion>
99                 <exclusion>
100                     <groupId>org.codehaus.jackson</groupId>
101                     <artifactId>jackson-jaxrs</artifactId>
102                 </exclusion>
103                 <exclusion>
104                     <groupId>org.codehaus.jackson</groupId>
105                     <artifactId>jackson-xc</artifactId>
106                 </exclusion>
107                 <exclusion>
108                     <groupId>javax.xml.bind</groupId>
109                     <artifactId>jaxb-api</artifactId>
110                 </exclusion>
111                 <exclusion>
112                   <groupId>javax.ws.rs</groupId>
113                   <artifactId>jsr311-api</artifactId>
114                 </exclusion>
115                 <exclusion>
116                   <groupId>javax.servlet</groupId>
117                   <artifactId>servlet-api</artifactId>
118                 </exclusion>
119             </exclusions>
120         </dependency>
121         <dependency>
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>
127         </dependency>
128         <dependency>
129             <groupId>org.apache.hbase</groupId>
130             <artifactId>hbase-common</artifactId>
131             <type>test-jar</type>
132             <scope>compile</scope>
133         </dependency>
134         <dependency>
135             <groupId>org.apache.hbase</groupId>
136             <artifactId>hbase-server</artifactId>
137             <type>test-jar</type>
138             <scope>compile</scope>
139             <exclusions>
140               <exclusion>
141                  <groupId>javax.xml.bind</groupId>
142                  <artifactId>jaxb-api</artifactId>
143               </exclusion>
144             </exclusions>
145         </dependency>
146         <dependency>
147             <groupId>org.apache.hbase</groupId>
148             <artifactId>hbase-asyncfs</artifactId>
149             <type>test-jar</type>
150             <scope>compile</scope>
151         </dependency>
152         <dependency>
153             <groupId>org.apache.hbase</groupId>
154             <artifactId>hbase-zookeeper</artifactId>
155             <type>test-jar</type>
156             <scope>compile</scope>
157         </dependency>
158         <dependency>
159             <groupId>org.apache.hbase</groupId>
160             <artifactId>hbase-hadoop-compat</artifactId>
161             <type>test-jar</type>
162             <scope>compile</scope>
163         </dependency>
164         <dependency>
165             <groupId>org.apache.hbase</groupId>
166             <artifactId>hbase-hadoop2-compat</artifactId>
167             <type>test-jar</type>
168             <scope>compile</scope>
169         </dependency>
170         <dependency>
171             <groupId>org.codehaus.jackson</groupId>
172             <artifactId>jackson-jaxrs</artifactId>
173             <version>1.9.13</version>
174             <scope>compile</scope>
175         </dependency>
176         <dependency>
177             <groupId>org.apache.hbase</groupId>
178             <artifactId>hbase-testing-util</artifactId>
179             <version>${project.version}</version>
180             <scope>compile</scope>
181             <exclusions>
182               <exclusion>
183                 <groupId>javax.xml.bind</groupId>
184                 <artifactId>jaxb-api</artifactId>
185               </exclusion>
186             </exclusions>
187         </dependency>
188     </dependencies>
190     <build>
191         <plugins>
192             <plugin>
193                 <groupId>org.apache.maven.plugins</groupId>
194                 <artifactId>maven-site-plugin</artifactId>
195                 <configuration>
196                     <skip>true</skip>
197                 </configuration>
198             </plugin>
199             <plugin>
200                 <!--Make it so assembly:single does nothing in here-->
201                 <artifactId>maven-assembly-plugin</artifactId>
202                 <configuration>
203                     <skipAssembly>true</skipAssembly>
204                 </configuration>
205             </plugin>
206             <plugin>
207                 <groupId>org.apache.maven.plugins</groupId>
208                 <artifactId>maven-shade-plugin</artifactId>
209                 <executions>
210                     <execution>
211                         <id>aggregate-into-a-jar-with-relocated-third-parties</id>
212                         <configuration>
213                             <artifactSet>
214                                 <excludes>
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>
224                                     <!--
225                                       Tell the shade plugin that in this case we want to include hadoop
226                                       by leaving out the exclude.
227                                       -->
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>
239                                 </excludes>
240                             </artifactSet>
241                         </configuration>
242                     </execution>
243                 </executions>
244             </plugin>
245         </plugins>
246     </build>
248 </project>