HBASE-20039 MR tests out to hbase-mapreduce mobile
[hbase.git] / hbase-metrics / pom.xml
blob4daee1c958bc945623c6629efaa3e13cdace1bb7
1 <?xml version="1.0"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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>3.0.0-SNAPSHOT</version>
27     <relativePath>../hbase-build-configuration</relativePath>
28   </parent>
30   <artifactId>hbase-metrics</artifactId>
31   <name>Apache HBase - Metrics Implementation</name>
32   <description>HBase Metrics Implementation</description>
34   <build>
35     <plugins>
36       <plugin>
37         <groupId>org.apache.maven.plugins</groupId>
38         <artifactId>maven-site-plugin</artifactId>
39         <configuration>
40           <skip>true</skip>
41         </configuration>
42       </plugin>
43       <!-- Make a jar and put the sources in the jar -->
44       <plugin>
45         <groupId>org.apache.maven.plugins</groupId>
46         <artifactId>maven-source-plugin</artifactId>
47       </plugin>
48       <plugin>
49         <!--Make it so assembly:single does nothing in here-->
50         <artifactId>maven-assembly-plugin</artifactId>
51         <configuration>
52           <skipAssembly>true</skipAssembly>
53         </configuration>
54       </plugin>
55       <plugin>
56         <artifactId>maven-surefire-plugin</artifactId>
57         <!-- Always skip the second part executions, since we only run simple unit tests in this module -->
58         <executions>
59           <execution>
60             <id>secondPartTestsExecution</id>
61             <phase>test</phase>
62             <goals>
63               <goal>test</goal>
64             </goals>
65             <configuration>
66               <skip>true</skip>
67             </configuration>
68           </execution>
69         </executions>
70       </plugin>
71       <plugin>
72         <groupId>org.apache.maven.plugins</groupId>
73         <artifactId>maven-checkstyle-plugin</artifactId>
74         <configuration>
75           <failOnViolation>true</failOnViolation>
76         </configuration>
77       </plugin>
78     </plugins>
79   </build>
81   <dependencies>
82     <dependency>
83       <groupId>org.apache.hbase.thirdparty</groupId>
84       <artifactId>hbase-shaded-miscellaneous</artifactId>
85     </dependency>
86     <!-- Intra-project dependencies -->
87     <dependency>
88       <groupId>org.apache.hbase</groupId>
89       <artifactId>hbase-annotations</artifactId>
90       <type>test-jar</type>
91       <scope>test</scope>
92     </dependency>
93     <dependency>
94       <groupId>org.apache.hbase</groupId>
95       <artifactId>hbase-common</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>org.apache.hbase</groupId>
99       <artifactId>hbase-common</artifactId>
100       <type>test-jar</type>
101       <scope>test</scope>
102     </dependency>
103     <dependency>
104       <!--mvn dependency:analyze says this is not used but we actually
105            implement Interfaces from api module here so it is 'wrong'-->
106       <groupId>org.apache.hbase</groupId>
107       <artifactId>hbase-metrics-api</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>org.apache.hbase</groupId>
111       <artifactId>hbase-metrics-api</artifactId>
112       <type>test-jar</type>
113       <scope>test</scope>
114     </dependency>
115     <!-- General dependencies -->
116     <dependency>
117       <groupId>io.dropwizard.metrics</groupId>
118       <artifactId>metrics-core</artifactId>
119     </dependency>
120     <dependency>
121       <groupId>junit</groupId>
122       <artifactId>junit</artifactId>
123       <scope>test</scope>
124     </dependency>
125     <dependency>
126       <groupId>org.mockito</groupId>
127       <artifactId>mockito-core</artifactId>
128       <scope>test</scope>
129     </dependency>
130   </dependencies>
132   <profiles>
133     <!-- Skip the tests in this module -->
134     <profile>
135       <id>skipMetricsTests</id>
136       <activation>
137         <property>
138           <name>skipMetricsTests</name>
139         </property>
140       </activation>
141       <properties>
142         <surefire.skipFirstPart>true</surefire.skipFirstPart>
143         <surefire.skipSecondPart>true</surefire.skipSecondPart>
144       </properties>
145     </profile>
146   </profiles>
147 </project>