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-07-06 17:13:26 -04:00
|
|
|
<artifactId>hbase-build-configuration</artifactId>
|
2022-10-23 23:50:48 -04:00
|
|
|
<version>${revision}</version>
|
2017-07-06 17:13:26 -04:00
|
|
|
<relativePath>../hbase-build-configuration</relativePath>
|
2017-01-25 14:47:35 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>hbase-metrics-api</artifactId>
|
|
|
|
<name>Apache HBase - Metrics API</name>
|
|
|
|
<description>HBase Metrics API descriptions</description>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Intra-project dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-annotations</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-05-12 00:03:30 -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-28 06:52:09 -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
|
|
|
<!-- General dependencies -->
|
|
|
|
<dependency>
|
2017-12-18 05:14:30 -05:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2017-01-25 14:47:35 -05:00
|
|
|
</dependency>
|
2017-07-07 01:43:46 -04:00
|
|
|
<dependency>
|
2017-08-24 14:10:17 -04:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2017-07-07 01:43:46 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
<artifactId>hbase-shaded-miscellaneous</artifactId>
|
|
|
|
</dependency>
|
2017-08-31 11:03:22 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2017-10-03 01:53:34 -04:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2017-08-31 11:03:22 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-05-12 00:03:30 -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>
|
2021-03-19 21:21:25 -04: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-12 00:03:30 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-03-19 21:21:25 -04:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
2020-05-12 00:03:30 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-01-25 14:47:35 -05:00
|
|
|
</dependencies>
|
|
|
|
|
2022-05-01 10:15:04 -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:15:04 -04:00
|
|
|
<plugin>
|
2017-12-23 11:51:22 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2017-01-25 14:47:35 -05:00
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2018-03-20 03:46:51 -04:00
|
|
|
</plugin>
|
2022-05-01 10:15:04 -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>
|
2018-03-20 03:46:51 -04:00
|
|
|
</plugin>
|
2022-05-01 10:15:04 -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:15:04 -04:00
|
|
|
<goals>
|
2017-01-25 14:47:35 -05:00
|
|
|
<goal>test</goal>
|
2022-05-01 10:15:04 -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>
|
2018-03-20 03:46:51 -04:00
|
|
|
</plugin>
|
2022-05-01 10:15:04 -04:00
|
|
|
<plugin>
|
2017-12-23 11:51:22 -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>
|
2018-03-20 03:46:51 -04:00
|
|
|
</plugin>
|
2022-05-01 10:15:04 -04:00
|
|
|
<plugin>
|
2018-03-20 03:46:51 -04:00
|
|
|
<groupId>net.revelc.code</groupId>
|
|
|
|
<artifactId>warbucks-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2017-01-25 14:47:35 -05:00
|
|
|
</plugins>
|
2022-05-01 10:15:04 -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>skipMetricsApiTests</id>
|
2017-01-25 14:47:35 -05:00
|
|
|
<activation>
|
|
|
|
<property>
|
2017-02-01 01:48:26 -05:00
|
|
|
<name>skipMetricsApiTests</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>
|