Preparing hbase release 2.4.5RC1; tagging and updates to CHANGES.md and RELEASENOTES.md
[hbase.git] / hbase-metrics-api / pom.xml
blobf62e1ae38f98ae93c0c266ace220aa601c0793ff
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.5</version>
27     <relativePath>../hbase-build-configuration</relativePath>
28   </parent>
30   <artifactId>hbase-metrics-api</artifactId>
31   <name>Apache HBase - Metrics API</name>
32   <description>HBase Metrics API descriptions</description>
34   <build>
35     <plugins>
36       <!-- Make a jar and put the sources in the jar -->
37       <plugin>
38         <groupId>org.apache.maven.plugins</groupId>
39         <artifactId>maven-source-plugin</artifactId>
40       </plugin>
41       <plugin>
42         <!--Make it so assembly:single does nothing in here-->
43         <artifactId>maven-assembly-plugin</artifactId>
44         <configuration>
45           <skipAssembly>true</skipAssembly>
46         </configuration>
47       </plugin>
48       <plugin>
49         <artifactId>maven-surefire-plugin</artifactId>
50         <!-- Always skip the second part executions, since we only run simple unit tests in this module -->
51         <executions>
52           <execution>
53             <id>secondPartTestsExecution</id>
54             <phase>test</phase>
55             <goals>
56               <goal>test</goal>
57             </goals>
58             <configuration>
59               <skip>true</skip>
60             </configuration>
61           </execution>
62         </executions>
63       </plugin>
64       <plugin>
65         <groupId>org.apache.maven.plugins</groupId>
66         <artifactId>maven-checkstyle-plugin</artifactId>
67         <configuration>
68           <failOnViolation>true</failOnViolation>
69         </configuration>
70       </plugin>
71       <plugin>
72         <groupId>net.revelc.code</groupId>
73         <artifactId>warbucks-maven-plugin</artifactId>
74       </plugin>
75     </plugins>
76   </build>
78   <dependencies>
79     <!-- Intra-project dependencies -->
80     <dependency>
81       <groupId>org.apache.hbase</groupId>
82       <artifactId>hbase-annotations</artifactId>
83       <type>test-jar</type>
84       <scope>test</scope>
85     </dependency>
86     <dependency>
87       <groupId>org.apache.hbase</groupId>
88       <artifactId>hbase-logging</artifactId>
89       <type>test-jar</type>
90       <scope>test</scope>
91     </dependency>
92     <dependency>
93       <groupId>org.apache.hbase</groupId>
94       <artifactId>hbase-common</artifactId>
95     </dependency>
96     <dependency>
97       <groupId>org.apache.hbase</groupId>
98       <artifactId>hbase-common</artifactId>
99       <type>test-jar</type>
100       <scope>test</scope>
101     </dependency>
102     <!-- General dependencies -->
103     <dependency>
104       <groupId>org.slf4j</groupId>
105       <artifactId>slf4j-api</artifactId>
106     </dependency>
107     <dependency>
108       <groupId>org.apache.commons</groupId>
109       <artifactId>commons-lang3</artifactId>
110     </dependency>
111     <dependency>
112       <groupId>org.apache.hbase.thirdparty</groupId>
113       <artifactId>hbase-shaded-miscellaneous</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>org.mockito</groupId>
117       <artifactId>mockito-core</artifactId>
118       <scope>test</scope>
119     </dependency>
120     <dependency>
121       <groupId>junit</groupId>
122       <artifactId>junit</artifactId>
123       <scope>test</scope>
124     </dependency>
125     <dependency>
126       <groupId>org.slf4j</groupId>
127       <artifactId>jcl-over-slf4j</artifactId>
128       <scope>test</scope>
129     </dependency>
130     <dependency>
131       <groupId>org.slf4j</groupId>
132       <artifactId>jul-to-slf4j</artifactId>
133       <scope>test</scope>
134     </dependency>
135     <dependency>
136       <groupId>org.slf4j</groupId>
137       <artifactId>slf4j-log4j12</artifactId>
138       <scope>test</scope>
139     </dependency>
140     <dependency>
141       <groupId>log4j</groupId>
142       <artifactId>log4j</artifactId>
143       <scope>test</scope>
144     </dependency>
145   </dependencies>
147   <profiles>
148     <!-- Skip the tests in this module -->
149     <profile>
150       <id>skipMetricsApiTests</id>
151       <activation>
152         <property>
153           <name>skipMetricsApiTests</name>
154         </property>
155       </activation>
156       <properties>
157         <surefire.skipFirstPart>true</surefire.skipFirstPart>
158         <surefire.skipSecondPart>true</surefire.skipSecondPart>
159       </properties>
160     </profile>
161   </profiles>
162 </project>