Preparing hbase release 2.4.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
[hbase.git] / hbase-archetypes / pom.xml
blob71228ed3d3e7c313775b5a34c3345c344dc91d8a
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"
3   xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://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>
24   <parent>
25     <artifactId>hbase-build-configuration</artifactId>
26     <groupId>org.apache.hbase</groupId>
27     <version>2.4.0</version>
28     <relativePath>../hbase-build-configuration</relativePath>
29   </parent>
31   <artifactId>hbase-archetypes</artifactId>
32   <packaging>pom</packaging>
34   <name>Apache HBase - Archetypes</name>
35   <description>Maven archetypes for generation of fully-configured HBase client projects</description>
37   <modules>
38     <module>hbase-client-project</module>
39     <module>hbase-shaded-client-project</module>
40     <!-- For new archetype, add exemplar project above this comment.
41          (See hbase-archetypes/README.md for details on adding new archetype.)  -->
42     <module>hbase-archetype-builder</module>
43   </modules>
45   <build>
46     <pluginManagement>
47       <plugins>
48         <!-- This entry overrides the excludeFileFilter element in the findbugs
49              configuration of the hbase/pom.xml file. This override specifies that
50              the excluded-filter-file is found TWO levels up from a grandchild project. -->
51         <plugin>
52           <groupId>com.github.spotbugs</groupId>
53           <artifactId>spotbugs-maven-plugin</artifactId>
54           <configuration>
55             <excludeFilterFile>${project.basedir}/../../dev-support/spotbugs-exclude.xml</excludeFilterFile>
56             <spotbugsXmlOutput>true</spotbugsXmlOutput>
57             <xmlOutput>true</xmlOutput>
58             <effort>Max</effort>
59           </configuration>
60         </plugin>
61       </plugins>
62     </pluginManagement>
63     <plugins>
64       <!-- Special configuration for findbugs just in the parent, emulating the setup in
65            hbase/pom.xml. Note that exclude-file-filter is found ONE level up from this project. -->
66       <plugin>
67         <groupId>com.github.spotbugs</groupId>
68         <artifactId>spotbugs-maven-plugin</artifactId>
69         <executions>
70           <execution>
71             <inherited>false</inherited>
72             <goals>
73               <goal>spotbugs</goal>
74             </goals>
75             <configuration>
76               <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
77             </configuration>
78           </execution>
79         </executions>
80       </plugin>
81       <plugin>
82         <groupId>org.apache.maven.plugins</groupId>
83         <artifactId>maven-checkstyle-plugin</artifactId>
84         <configuration>
85           <failOnViolation>true</failOnViolation>
86         </configuration>
87       </plugin>
88     </plugins>
89   </build>
90 </project>