2017-01-25 14:47:35 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-05-21 15:34:25 -04:00
|
|
|
<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">
|
2017-01-25 14:47:35 -05:00
|
|
|
<!--
|
|
|
|
/**
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
* or more contributor license agreements. See the NOTICE file
|
|
|
|
* distributed with this work for additional information
|
|
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
|
|
* to you under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance
|
|
|
|
* with the License. You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2017-08-19 04:23:52 -04:00
|
|
|
<artifactId>hbase-build-configuration</artifactId>
|
2022-10-24 00:15:18 -04:00
|
|
|
<version>${revision}</version>
|
2017-08-19 04:23:52 -04:00
|
|
|
<relativePath>../hbase-build-configuration</relativePath>
|
2017-01-25 14:47:35 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>hbase-metrics</artifactId>
|
|
|
|
<name>Apache HBase - Metrics Implementation</name>
|
|
|
|
<description>HBase Metrics Implementation</description>
|
|
|
|
|
|
|
|
<dependencies>
|
2017-07-07 01:43:46 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
<artifactId>hbase-shaded-miscellaneous</artifactId>
|
|
|
|
</dependency>
|
2017-01-25 14:47:35 -05:00
|
|
|
<!-- Intra-project dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-annotations</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-05-13 05:59:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-logging</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-01-25 14:47:35 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-common</artifactId>
|
|
|
|
</dependency>
|
2018-01-29 15:36:40 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-common</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-01-25 14:47:35 -05:00
|
|
|
<dependency>
|
2017-08-31 11:03:22 -04:00
|
|
|
<!--mvn dependency:analyze says this is not used but we actually
|
|
|
|
implement Interfaces from api module here so it is 'wrong'-->
|
2017-01-25 14:47:35 -05:00
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-metrics-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-metrics-api</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- General dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
|
|
<artifactId>metrics-core</artifactId>
|
|
|
|
</dependency>
|
2022-09-18 19:56:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.stephenc.findbugs</groupId>
|
|
|
|
<artifactId>findbugs-annotations</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-01-25 14:47:35 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2017-10-03 01:53:34 -04:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2017-01-25 14:47:35 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-05-13 05:59:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-03-11 14:17:43 -05:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
2020-05-13 05:59:21 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-03-11 14:17:43 -05:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
2020-05-13 05:59:21 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-01-25 14:47:35 -05:00
|
|
|
</dependencies>
|
|
|
|
|
2022-05-01 10:52:40 -04:00
|
|
|
<build>
|
2017-01-25 14:47:35 -05:00
|
|
|
<plugins>
|
|
|
|
<!-- Make a jar and put the sources in the jar -->
|
2022-05-01 10:52:40 -04:00
|
|
|
<plugin>
|
2017-12-24 07:27:25 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2017-01-25 14:47:35 -05:00
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2017-12-24 07:27:25 -05:00
|
|
|
</plugin>
|
2022-05-01 10:52:40 -04:00
|
|
|
<plugin>
|
2017-01-25 14:47:35 -05:00
|
|
|
<!--Make it so assembly:single does nothing in here-->
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2018-01-12 18:06:08 -05:00
|
|
|
<configuration>
|
2017-01-25 14:47:35 -05:00
|
|
|
<skipAssembly>true</skipAssembly>
|
2018-01-12 18:06:08 -05:00
|
|
|
</configuration>
|
2017-12-24 07:27:25 -05:00
|
|
|
</plugin>
|
2022-05-01 10:52:40 -04:00
|
|
|
<plugin>
|
2017-01-25 14:47:35 -05:00
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<!-- Always skip the second part executions, since we only run simple unit tests in this module -->
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>secondPartTestsExecution</id>
|
2022-05-01 10:52:40 -04:00
|
|
|
<goals>
|
2017-01-25 14:47:35 -05:00
|
|
|
<goal>test</goal>
|
2022-05-01 10:52:40 -04:00
|
|
|
</goals>
|
2017-01-25 14:47:35 -05:00
|
|
|
<phase>test</phase>
|
2018-01-12 18:06:08 -05:00
|
|
|
<configuration>
|
2017-01-25 14:47:35 -05:00
|
|
|
<skip>true</skip>
|
2018-01-12 18:06:08 -05:00
|
|
|
</configuration>
|
2017-01-25 14:47:35 -05:00
|
|
|
</execution>
|
|
|
|
</executions>
|
2017-12-24 07:27:25 -05:00
|
|
|
</plugin>
|
2022-05-01 10:52:40 -04:00
|
|
|
<plugin>
|
2017-12-24 07:27:25 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2018-01-12 18:06:08 -05:00
|
|
|
<configuration>
|
|
|
|
<failOnViolation>true</failOnViolation>
|
|
|
|
</configuration>
|
2017-12-24 07:27:25 -05:00
|
|
|
</plugin>
|
2022-05-01 10:52:40 -04:00
|
|
|
<plugin>
|
2018-03-21 21:24:14 -04:00
|
|
|
<groupId>net.revelc.code</groupId>
|
|
|
|
<artifactId>warbucks-maven-plugin</artifactId>
|
2017-12-24 07:27:25 -05:00
|
|
|
</plugin>
|
2017-01-25 14:47:35 -05:00
|
|
|
</plugins>
|
2022-05-01 10:52:40 -04:00
|
|
|
</build>
|
|
|
|
|
2017-01-25 14:47:35 -05:00
|
|
|
<profiles>
|
|
|
|
<!-- Skip the tests in this module -->
|
|
|
|
<profile>
|
2017-02-01 01:48:26 -05:00
|
|
|
<id>skipMetricsTests</id>
|
2017-01-25 14:47:35 -05:00
|
|
|
<activation>
|
|
|
|
<property>
|
2017-02-01 01:48:26 -05:00
|
|
|
<name>skipMetricsTests</name>
|
2017-01-25 14:47:35 -05:00
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<surefire.skipFirstPart>true</surefire.skipFirstPart>
|
2017-02-02 14:05:17 -05:00
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2017-01-25 14:47:35 -05:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|