Revert "Preparing development version 2.4.9-SNAPSHOT"
[hbase.git] / hbase-shaded / pom.xml
blob6f5a2ba50213c58ca9bd01508953fa6736887949
1 <?xml version="1.0"?>
2 <project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <!--
4       /**
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
12        *
13        *     http://www.apache.org/licenses/LICENSE-2.0
14        *
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.
20        */
21       -->
22     <modelVersion>4.0.0</modelVersion>
23     <parent>
24         <artifactId>hbase-build-configuration</artifactId>
25         <groupId>org.apache.hbase</groupId>
26         <version>2.4.8</version>
27         <relativePath>../hbase-build-configuration</relativePath>
28     </parent>
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>
33     <properties>
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>
39       <shaded.prefix>org.apache.hadoop.hbase.shaded</shaded.prefix>
40     </properties>
41     <modules>
42         <module>hbase-shaded-client-byo-hadoop</module>
43         <module>hbase-shaded-client</module>
44         <module>hbase-shaded-mapreduce</module>
45         <module>hbase-shaded-testing-util</module>
46         <module>hbase-shaded-testing-util-tester</module>
47         <module>hbase-shaded-check-invariants</module>
48         <module>hbase-shaded-with-hadoop-check-invariants</module>
49     </modules>
50     <dependencies>
51       <dependency>
52          <groupId>org.apache.hbase</groupId>
53          <artifactId>hbase-resource-bundle</artifactId>
54          <optional>true</optional>
55       </dependency>
56       <!-- put the log implementations to optional -->
57       <dependency>
58         <groupId>log4j</groupId>
59         <artifactId>log4j</artifactId>
60         <optional>true</optional>
61       </dependency>
62       <dependency>
63         <groupId>org.slf4j</groupId>
64         <artifactId>slf4j-log4j12</artifactId>
65         <optional>true</optional>
66       </dependency>
67     </dependencies>
68     <build>
69         <plugins>
70             <plugin>
71                 <!--Make it so assembly:single does nothing in here-->
72                 <artifactId>maven-assembly-plugin</artifactId>
73                 <configuration>
74                     <skipAssembly>true</skipAssembly>
75                 </configuration>
76             </plugin>
77             <!-- licensing info from our dependencies -->
78             <plugin>
79               <groupId>org.apache.maven.plugins</groupId>
80               <artifactId>maven-remote-resources-plugin</artifactId>
81               <executions>
82                 <execution>
83                   <id>aggregate-licenses</id>
84                   <goals>
85                     <goal>process</goal>
86                   </goals>
87                   <configuration>
88                     <properties>
89                       <copyright-end-year>${build.year}</copyright-end-year>
90                       <debug-print-included-work-info>${license.debug.print.included}</debug-print-included-work-info>
91                       <bundled-dependencies>${license.bundles.dependencies}</bundled-dependencies>
92                       <bundled-jquery>${license.bundles.jquery}</bundled-jquery>
93                       <bundled-logo>${license.bundles.logo}</bundled-logo>
94                       <bundled-bootstrap>${license.bundles.bootstrap}</bundled-bootstrap>
95                     </properties>
96                     <resourceBundles>
97                       <resourceBundle>${project.groupId}:hbase-resource-bundle:${project.version}</resourceBundle>
98                     </resourceBundles>
99                     <supplementalModelArtifacts>
100                       <supplementalModelArtifact>${project.groupId}:hbase-resource-bundle:${project.version}</supplementalModelArtifact>
101                     </supplementalModelArtifacts>
102                     <supplementalModels>
103                       <supplementalModel>supplemental-models.xml</supplementalModel>
104                     </supplementalModels>
105                   </configuration>
106                 </execution>
107               </executions>
108             </plugin>
109         </plugins>
110         <pluginManagement>
111             <plugins>
112                 <plugin>
113                     <!--Make it so assembly:single does nothing in here-->
114                     <artifactId>maven-assembly-plugin</artifactId>
115                     <configuration>
116                         <skipAssembly>true</skipAssembly>
117                     </configuration>
118                 </plugin>
119                 <plugin>
120                     <groupId>org.apache.maven.plugins</groupId>
121                     <artifactId>maven-shade-plugin</artifactId>
122                     <version>3.2.4</version>
123                     <executions>
124                         <execution>
125                             <id>aggregate-into-a-jar-with-relocated-third-parties</id>
126                             <phase>package</phase>
127                             <goals>
128                                 <goal>shade</goal>
129                             </goals>
130                             <configuration>
131                                 <createSourcesJar>false</createSourcesJar>
132                                 <shadedArtifactAttached>false</shadedArtifactAttached>
133                                 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
134                                 <shadeTestJar>false</shadeTestJar>
135                                 <artifactSet>
136                                     <excludes>
137                                         <!-- exclude J2EE modules that come in for JDK11+ (since
138                                              hadoop-3.2.0) or modules that come in for JDK8+ but
139                                              need not be included -->
140                                         <exclude>javax.annotation:javax.annotation-api</exclude>
141                                         <exclude>javax.activation:javax.activation-api</exclude>
142                                         <exclude>jakarta.activation:jakarta.activation-api</exclude> <!-- Hadoop 3.3.1 -->
143                                         <exclude>jakarta.ws.rs:jakarta.ws.rs-api</exclude>
144                                         <exclude>jakarta.annotation:jakarta.annotation-api</exclude>
145                                         <exclude>jakarta.validation:jakarta.validation-api</exclude>
146                                         <exclude>org.glassfish.hk2.external:jakarta.inject</exclude>
147                                         <!-- default to excluding Hadoop, have module that want
148                                              to include it redefine the exclude list -->
149                                         <exclude>org.apache.hadoop:*</exclude>
150                                         <!-- the rest of this needs to be kept in sync with any
151                                              hadoop-including module -->
152                                         <exclude>org.apache.hbase:hbase-resource-bundle</exclude>
153                                         <exclude>org.slf4j:*</exclude>
154                                         <exclude>com.google.code.findbugs:*</exclude>
155                                         <exclude>com.github.stephenc.findbugs:*</exclude>
156                                         <exclude>com.github.spotbugs:*</exclude>
157                                         <exclude>org.apache.htrace:*</exclude>
158                                         <exclude>org.apache.yetus:*</exclude>
159                                         <exclude>log4j:*</exclude>
160                                         <exclude>commons-logging:*</exclude>
161                                         <exclude>org.javassist:*</exclude>
162                                     </excludes>
163                                 </artifactSet>
164                                 <relocations>
165                                     <!-- top level com not including sun-->
166                                     <relocation>
167                                         <pattern>com.cedarsoftware</pattern>
168                                         <shadedPattern>${shaded.prefix}.com.cedarsoftware</shadedPattern>
169                                     </relocation>
170                                     <relocation>
171                                         <pattern>com.codahale</pattern>
172                                         <shadedPattern>${shaded.prefix}.com.codahale</shadedPattern>
173                                     </relocation>
174                                     <relocation>
175                                         <pattern>com.ctc</pattern>
176                                         <shadedPattern>${shaded.prefix}.com.ctc</shadedPattern>
177                                     </relocation>
178                                     <relocation>
179                                         <pattern>com.dropwizard</pattern>
180                                         <shadedPattern>${shaded.prefix}.com.dropwizard</shadedPattern>
181                                     </relocation>
182                                     <relocation>
183                                         <pattern>com.fasterxml</pattern>
184                                         <shadedPattern>${shaded.prefix}.com.fasterxml</shadedPattern>
185                                     </relocation>
186                                     <relocation>
187                                         <pattern>com.github.benmanes.caffeine</pattern>
188                                         <shadedPattern>${shaded.prefix}.com.github.benmanes.caffeine</shadedPattern>
189                                     </relocation>
190                                     <relocation>
191                                         <pattern>com.google</pattern>
192                                         <shadedPattern>${shaded.prefix}.com.google</shadedPattern>
193                                     </relocation>
194                                     <relocation>
195                                         <pattern>com.jamesmurty</pattern>
196                                         <shadedPattern>${shaded.prefix}.com.jamesmurty</shadedPattern>
197                                     </relocation>
198                                     <relocation>
199                                         <pattern>com.jcraft</pattern>
200                                         <shadedPattern>${shaded.prefix}.com.jcraft</shadedPattern>
201                                     </relocation>
202                                     <relocation>
203                                         <pattern>com.lmax</pattern>
204                                         <shadedPattern>${shaded.prefix}.com.lmax</shadedPattern>
205                                     </relocation>
206                                     <relocation>
207                                         <pattern>com.microsoft</pattern>
208                                         <shadedPattern>${shaded.prefix}.com.microsoft</shadedPattern>
209                                     </relocation>
210                                     <relocation>
211                                         <pattern>com.nimbusds</pattern>
212                                         <shadedPattern>${shaded.prefix}.com.nimbusds</shadedPattern>
213                                     </relocation>
214                                     <relocation>
215                                         <pattern>com.squareup</pattern>
216                                         <shadedPattern>${shaded.prefix}.com.squareup</shadedPattern>
217                                     </relocation>
218                                     <relocation>
219                                         <pattern>com.thoughtworks</pattern>
220                                         <shadedPattern>${shaded.prefix}.com.thoughtworks</shadedPattern>
221                                     </relocation>
222                                     <relocation>
223                                         <pattern>com.zaxxer</pattern>
224                                         <shadedPattern>${shaded.prefix}.com.zaxxer</shadedPattern>
225                                     </relocation>
227                                     <!-- dnsjava -->
228                                     <relocation>
229                                         <pattern>org.xbill</pattern>
230                                         <shadedPattern>${shaded.prefix}.org.xbill</shadedPattern>
231                                     </relocation>
233                                     <!-- netty family -->
234                                     <relocation>
235                                         <pattern>org.jboss.netty</pattern>
236                                         <shadedPattern>${shaded.prefix}.org.jboss.netty</shadedPattern>
237                                     </relocation>
238                                     <relocation>
239                                         <pattern>io.netty</pattern>
240                                         <shadedPattern>${shaded.prefix}.io.netty</shadedPattern>
241                                     </relocation>
243                                     <!-- top level okio -->
244                                     <relocation>
245                                         <pattern>okio</pattern>
246                                         <shadedPattern>${shaded.prefix}.okio</shadedPattern>
247                                     </relocation>
249                                     <!-- top level org -->
250                                     <relocation>
251                                       <pattern>org.checkerframework</pattern>
252                                       <shadedPattern>${shaded.prefix}.org.checkerframework</shadedPattern>
253                                     </relocation>
254                                     <relocation>
255                                       <pattern>org.codehaus</pattern>
256                                       <shadedPattern>${shaded.prefix}.org.codehaus</shadedPattern>
257                                     </relocation>
258                                     <relocation>
259                                         <pattern>org.eclipse</pattern>
260                                         <shadedPattern>${shaded.prefix}.org.eclipse</shadedPattern>
261                                     </relocation>
262                                     <relocation>
263                                         <pattern>org.ehcache</pattern>
264                                         <shadedPattern>${shaded.prefix}.org.ehcache</shadedPattern>
265                                     </relocation>
266                                     <relocation>
267                                         <pattern>org.jcodings</pattern>
268                                         <shadedPattern>${shaded.prefix}.org.jcodings</shadedPattern>
269                                     </relocation>
270                                     <relocation>
271                                         <pattern>org.joni</pattern>
272                                         <shadedPattern>${shaded.prefix}.org.joni</shadedPattern>
273                                     </relocation>
274                                     <relocation>
275                                         <pattern>org.mortbay</pattern>
276                                         <shadedPattern>${shaded.prefix}.org.mortbay</shadedPattern>
277                                     </relocation>
278                                     <relocation>
279                                         <pattern>org.nustaq</pattern>
280                                         <shadedPattern>${shaded.prefix}.org.nustaq</shadedPattern>
281                                     </relocation>
282                                     <relocation>
283                                         <pattern>org.terracotta</pattern>
284                                         <shadedPattern>${shaded.prefix}.org.terracotta</shadedPattern>
285                                     </relocation>
286                                     <relocation>
287                                         <pattern>org.tukaani</pattern>
288                                         <shadedPattern>${shaded.prefix}.org.tukaani</shadedPattern>
289                                     </relocation>
290                                     <relocation>
291                                         <pattern>org.xerial</pattern>
292                                         <shadedPattern>${shaded.prefix}.org.xerial</shadedPattern>
293                                     </relocation>
294                                     <relocation>
295                                         <pattern>org.znerd</pattern>
296                                         <shadedPattern>${shaded.prefix}.org.znerd</shadedPattern>
297                                     </relocation>
298                                     <relocation>
299                                         <pattern>org.aopalliance</pattern>
300                                         <shadedPattern>${shaded.prefix}.org.aopalliance</shadedPattern>
301                                     </relocation>
302                                     <relocation>
303                                         <pattern>org.fusesource</pattern>
304                                         <shadedPattern>${shaded.prefix}.org.fusesource</shadedPattern>
305                                     </relocation>
306                                     <relocation>
307                                         <pattern>org.iq80</pattern>
308                                         <shadedPattern>${shaded.prefix}.org.iq80</shadedPattern>
309                                     </relocation>
310                                     <relocation>
311                                         <pattern>org.jamon</pattern>
312                                         <shadedPattern>${shaded.prefix}.org.jamon</shadedPattern>
313                                     </relocation>
314                                     <relocation>
315                                         <pattern>org.jets3t</pattern>
316                                         <shadedPattern>${shaded.prefix}.org.jets3t</shadedPattern>
317                                     </relocation>
318                                     <!-- poorly named add-on package from jets3t dependency. TODO can we just exclude these? -->
319                                     <relocation>
320                                         <pattern>contribs.mx</pattern>
321                                         <shadedPattern>${shaded.prefix}.contribs.mx</shadedPattern>
322                                     </relocation>
323                                     <relocation>
324                                         <pattern>org.objectweb</pattern>
325                                         <shadedPattern>${shaded.prefix}.org.objectweb</shadedPattern>
326                                     </relocation>
329                                     <!-- org.apache relocations not in org.apache.hadoop or org.apache.commons -->
330                                     <relocation>
331                                         <pattern>org.apache.avro</pattern>
332                                         <shadedPattern>${shaded.prefix}.org.apache.avro</shadedPattern>
333                                     </relocation>
334                                     <relocation>
335                                         <pattern>org.apache.curator</pattern>
336                                         <shadedPattern>${shaded.prefix}.org.apache.curator</shadedPattern>
337                                     </relocation>
338                                     <relocation>
339                                         <pattern>org.apache.directory</pattern>
340                                         <shadedPattern>${shaded.prefix}.org.apache.directory</shadedPattern>
341                                     </relocation>
342                                     <relocation>
343                                         <pattern>org.apache.http</pattern>
344                                         <shadedPattern>${shaded.prefix}.org.apache.http</shadedPattern>
345                                     </relocation>
346                                     <relocation>
347                                         <pattern>org.apache.jasper</pattern>
348                                         <shadedPattern>${shaded.prefix}.org.apache.jasper</shadedPattern>
349                                     </relocation>
350                                     <relocation>
351                                         <pattern>org.apache.jute</pattern>
352                                         <shadedPattern>${shaded.prefix}.org.apache.jute</shadedPattern>
353                                     </relocation>
354                                     <relocation>
355                                         <pattern>org.apache.kerby</pattern>
356                                         <shadedPattern>${shaded.prefix}.org.apache.kerby</shadedPattern>
357                                     </relocation>
358                                     <relocation>
359                                         <pattern>org.apache.taglibs</pattern>
360                                         <shadedPattern>${shaded.prefix}.org.apache.taglibs</shadedPattern>
361                                     </relocation>
362                                     <relocation>
363                                         <pattern>org.apache.zookeeper</pattern>
364                                         <shadedPattern>${shaded.prefix}.org.apache.zookeeper</shadedPattern>
365                                     </relocation>
367                                     <!-- org.apache.commons not including logging -->
368                                     <relocation>
369                                         <pattern>org.apache.commons.beanutils</pattern>
370                                         <shadedPattern>${shaded.prefix}.org.apache.commons.beanutils</shadedPattern>
371                                     </relocation>
372                                     <relocation>
373                                         <pattern>org.apache.commons.cli</pattern>
374                                         <shadedPattern>${shaded.prefix}.org.apache.commons.cli</shadedPattern>
375                                     </relocation>
376                                     <relocation>
377                                         <pattern>org.apache.commons.collections</pattern>
378                                         <shadedPattern>${shaded.prefix}.org.apache.commons.collections</shadedPattern>
379                                     </relocation>
380                                     <relocation>
381                                         <pattern>org.apache.commons.configuration</pattern>
382                                         <shadedPattern>${shaded.prefix}.org.apache.commons.configuration</shadedPattern>
383                                     </relocation>
384                                     <relocation>
385                                         <pattern>org.apache.commons.crypto</pattern>
386                                         <shadedPattern>${shaded.prefix}.org.apache.commons.crypto</shadedPattern>
387                                     </relocation>
388                                     <relocation>
389                                         <pattern>org.apache.commons.csv</pattern>
390                                         <shadedPattern>${shaded.prefix}.org.apache.commons.csv</shadedPattern>
391                                     </relocation>
392                                     <relocation>
393                                         <pattern>org.apache.commons.daemon</pattern>
394                                         <shadedPattern>${shaded.prefix}.org.apache.commons.daemon</shadedPattern>
395                                     </relocation>
396                                     <relocation>
397                                         <pattern>org.apache.commons.io</pattern>
398                                         <shadedPattern>${shaded.prefix}.org.apache.commons.io</shadedPattern>
399                                     </relocation>
400                                     <relocation>
401                                         <pattern>org.apache.commons.math</pattern>
402                                         <shadedPattern>${shaded.prefix}.org.apache.commons.math</shadedPattern>
403                                     </relocation>
404                                     <relocation>
405                                         <pattern>org.apache.commons.math3</pattern>
406                                         <shadedPattern>${shaded.prefix}.org.apache.commons.math3</shadedPattern>
407                                     </relocation>
408                                     <relocation>
409                                         <pattern>org.apache.commons.net</pattern>
410                                         <shadedPattern>${shaded.prefix}.org.apache.commons.net</shadedPattern>
411                                     </relocation>
412                                     <relocation>
413                                         <pattern>org.apache.commons.lang</pattern>
414                                         <shadedPattern>${shaded.prefix}.org.apache.commons.lang</shadedPattern>
415                                     </relocation>
416                                     <relocation>
417                                         <pattern>org.apache.commons.lang3</pattern>
418                                         <shadedPattern>${shaded.prefix}.org.apache.commons.lang3</shadedPattern>
419                                     </relocation>
420                                     <relocation>
421                                         <pattern>org.apache.commons.el</pattern>
422                                         <shadedPattern>${shaded.prefix}.org.apache.commons.el</shadedPattern>
423                                     </relocation>
424                                     <relocation>
425                                         <pattern>org.apache.commons.httpclient</pattern>
426                                         <shadedPattern>${shaded.prefix}.org.apache.commons.httpclient</shadedPattern>
427                                     </relocation>
428                                     <relocation>
429                                         <pattern>org.apache.commons.compress</pattern>
430                                         <shadedPattern>${shaded.prefix}.org.apache.commons.compress</shadedPattern>
431                                     </relocation>
432                                     <relocation>
433                                         <pattern>org.apache.commons.digester</pattern>
434                                         <shadedPattern>${shaded.prefix}.org.apache.commons.digester</shadedPattern>
435                                     </relocation>
436                                     <relocation>
437                                         <pattern>org.apache.commons.codec</pattern>
438                                         <shadedPattern>${shaded.prefix}.org.apache.commons.codec</shadedPattern>
439                                     </relocation>
440                                     <relocation>
441                                         <pattern>org.apache.commons.text</pattern>
442                                         <shadedPattern>${shaded.prefix}.org.apache.commons.text</shadedPattern>
443                                     </relocation>
445                                     <!-- top level net-->
446                                     <relocation>
447                                         <pattern>net/</pattern>
448                                         <shadedPattern>${shaded.prefix}.net.</shadedPattern>
449                                     </relocation>
451                                 </relocations>
452                                 <transformers>
453                                   <!-- Need to filter out some extraneous license files.
454                                        Don't use the ApacheLicenseRT because it just removes all
455                                        META-INF/LICENSE(.txt)? files, including ours. -->
456                                   <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
457                                     <resources>
458                                       <resource>LICENSE.txt</resource>
459                                       <resource>ASL2.0</resource>
460                                       <!-- also this unneeded doc -->
461                                       <resource>overview.html</resource>
462                                     </resources>
463                                   </transformer>
464                                   <!-- Where notices exist, just concat them -->
465                                   <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
466                                     <addHeader>false</addHeader>
467                                     <projectName>${project.name}</projectName>
468                                   </transformer>
469                                   <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer">
470                                   </transformer>
471                                 </transformers>
472                                 <filters>
473                                     <!-- remove utility classes which are not required from dnsjava -->
474                                     <filter>
475                                         <artifact>dnsjava:dnsjava</artifact>
476                                         <excludes>
477                                             <exclude>dig*</exclude>
478                                             <exclude>jnamed*</exclude>
479                                             <exclude>lookup*</exclude>
480                                             <exclude>update*</exclude>
481                                         </excludes>
482                                     </filter>
483                                   <filter>
484                                     <!-- this is a signed osgi bundle -->
485                                     <artifact>org.eclipse.jetty.orbit:javax.servlet.jsp.jstl</artifact>
486                                     <excludes>
487                                       <exclude>META-INF/ECLIPSEF.SF</exclude>
488                                       <exclude>META-INF/ECLIPSEF.RSA</exclude>
489                                     </excludes>
490                                   </filter>
491                                   <filter>
492                                     <!-- Duplication of classes that ship in commons-collections 2.x and 3.x
493                                          If we stop bundling a relevant commons-collections artifact we'll
494                                          need to revisit. See: https://s.apache.org/e09o
495                                     -->
496                                     <artifact>commons-beanutils:commons-beanutils-core</artifact>
497                                     <excludes>
498                                       <exclude>org/apache/commons/collections/*.class</exclude>
499                                     </excludes>
500                                   </filter>
501                                   <filter>
502                                     <!-- server side webapps that we don't need -->
503                                     <artifact>org.apache.hadoop:hadoop-yarn-common</artifact>
504                                     <excludes>
505                                       <exclude>webapps/*</exclude>
506                                       <exclude>webapps/**/*</exclude>
507                                     </excludes>
508                                   </filter>
509                                   <filter>
510                                     <artifact>*:*</artifact>
511                                     <excludes>
512                                       <!-- proto source files aren't needed -->
513                                       <exclude>*.proto</exclude>
514                                       <exclude>**/*.proto</exclude>
515                                       <!-- We already concat NOTICE, safe to drop individual ones -->
516                                       <exclude>LICENSE</exclude>
517                                       <exclude>NOTICE</exclude>
518                                       <!-- Remove the shaded guava added in hadoop-3.3.1+-->
519                                       <exclude>org/apache/hadoop/thirdparty/**/*</exclude>
520                                     </excludes>
521                                   </filter>
522                                   <filter>
523                                     <!-- skip french localization -->
524                                     <artifact>org.apache.commons:commons-math3</artifact>
525                                     <excludes>
526                                       <exclude>assets/org/apache/commons/math3/**/*</exclude>
527                                     </excludes>
528                                   </filter>
529                                   <filter>
530                                     <!-- appears to be the result of a conflict in hadoop artifacts -->
531                                     <artifact>org.apache.hadoop:*</artifact>
532                                     <excludes>
533                                       <exclude>mapred-default.xml.orig</exclude>
534                                     </excludes>
535                                   </filter>
536                                   <!-- unnecessary files that mess up our invariants check -->
537                                   <filter>
538                                     <artifact>org.eclipse.jetty:*</artifact>
539                                     <excludes>
540                                       <exclude>about.html</exclude>
541                                       <exclude>jetty-dir.css</exclude>
542                                     </excludes>
543                                   </filter>
544                                   <filter>
545                                     <artifact>org.apache.kerby:*</artifact>
546                                     <excludes>
547                                       <exclude>krb5-template.conf</exclude>
548                                       <exclude>krb5_udp-template.conf</exclude>
549                                       <exclude>ccache.txt</exclude>
550                                       <exclude>keytab.txt</exclude>
551                                     </excludes>
552                                   </filter>
553                                 </filters>
554                             </configuration>
555                         </execution>
556                     </executions>
557                 </plugin>
558             </plugins>
559         </pluginManagement>
560     </build>
561 </project>