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">
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
22 <modelVersion>4.0.0</modelVersion>
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>
30 <artifactId>hbase-metrics</artifactId>
31 <name>Apache HBase - Metrics Implementation</name>
32 <description>HBase Metrics Implementation</description>
36 <!-- Make a jar and put the sources in the jar -->
38 <groupId>org.apache.maven.plugins</groupId>
39 <artifactId>maven-source-plugin</artifactId>
42 <!--Make it so assembly:single does nothing in here-->
43 <artifactId>maven-assembly-plugin</artifactId>
45 <skipAssembly>true</skipAssembly>
49 <artifactId>maven-surefire-plugin</artifactId>
50 <!-- Always skip the second part executions, since we only run simple unit tests in this module -->
53 <id>secondPartTestsExecution</id>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-checkstyle-plugin</artifactId>
68 <failOnViolation>true</failOnViolation>
72 <groupId>net.revelc.code</groupId>
73 <artifactId>warbucks-maven-plugin</artifactId>
80 <groupId>org.apache.hbase.thirdparty</groupId>
81 <artifactId>hbase-shaded-miscellaneous</artifactId>
83 <!-- Intra-project dependencies -->
85 <groupId>org.apache.hbase</groupId>
86 <artifactId>hbase-annotations</artifactId>
91 <groupId>org.apache.hbase</groupId>
92 <artifactId>hbase-logging</artifactId>
97 <groupId>org.apache.hbase</groupId>
98 <artifactId>hbase-common</artifactId>
101 <groupId>org.apache.hbase</groupId>
102 <artifactId>hbase-common</artifactId>
103 <type>test-jar</type>
107 <!--mvn dependency:analyze says this is not used but we actually
108 implement Interfaces from api module here so it is 'wrong'-->
109 <groupId>org.apache.hbase</groupId>
110 <artifactId>hbase-metrics-api</artifactId>
113 <groupId>org.apache.hbase</groupId>
114 <artifactId>hbase-metrics-api</artifactId>
115 <type>test-jar</type>
118 <!-- General dependencies -->
120 <groupId>io.dropwizard.metrics</groupId>
121 <artifactId>metrics-core</artifactId>
124 <groupId>junit</groupId>
125 <artifactId>junit</artifactId>
129 <groupId>org.mockito</groupId>
130 <artifactId>mockito-core</artifactId>
134 <groupId>org.slf4j</groupId>
135 <artifactId>jcl-over-slf4j</artifactId>
139 <groupId>org.slf4j</groupId>
140 <artifactId>jul-to-slf4j</artifactId>
144 <groupId>org.slf4j</groupId>
145 <artifactId>slf4j-log4j12</artifactId>
149 <groupId>log4j</groupId>
150 <artifactId>log4j</artifactId>
156 <!-- Skip the tests in this module -->
158 <id>skipMetricsTests</id>
161 <name>skipMetricsTests</name>
165 <surefire.skipFirstPart>true</surefire.skipFirstPart>
166 <surefire.skipSecondPart>true</surefire.skipSecondPart>