2017-07-06 17:13:26 -04:00
|
|
|
<?xml version="1.0"?>
|
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-07-06 17:13:26 -04: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>
|
|
|
|
<artifactId>hbase</artifactId>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2021-07-20 11:04:08 -04:00
|
|
|
<version>3.0.0-alpha-2-SNAPSHOT</version>
|
2017-07-06 17:13:26 -04:00
|
|
|
<relativePath>..</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>hbase-build-configuration</artifactId>
|
|
|
|
<name>Apache HBase - Build Configuration</name>
|
|
|
|
<description>Configure the build-support artifacts for maven build</description>
|
|
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2018-02-26 12:36:44 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-07-06 17:13:26 -04:00
|
|
|
<plugin>
|
|
|
|
<!--Make it so assembly:single does nothing in here-->
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skipAssembly>true</skipAssembly>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2017-08-19 04:23:52 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
<artifactId>hbase-annotations</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.yetus</groupId>
|
|
|
|
<artifactId>audience-annotations</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2017-07-06 17:13:26 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>errorProne</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
2019-03-15 15:04:30 -04:00
|
|
|
<properties>
|
|
|
|
<!-- https://errorprone.info/docs/installation Maven section has details -->
|
|
|
|
<!-- required when compiling with JDK 8 -->
|
|
|
|
<javac.version>9+181-r4173-1</javac.version>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.errorprone</groupId>
|
|
|
|
<artifactId>error_prone_core</artifactId>
|
|
|
|
<version>${error-prone.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.errorprone</groupId>
|
|
|
|
<artifactId>javac</artifactId>
|
|
|
|
<version>${javac.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2017-07-06 17:13:26 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- Turn on error-prone -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2019-03-15 15:04:30 -04:00
|
|
|
<source>${compileSource}</source>
|
|
|
|
<target>${compileSource}</target>
|
|
|
|
<!-- required when compiling with JDK 8 -->
|
|
|
|
<fork>true</fork>
|
2017-07-06 17:13:26 -04:00
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
<compilerArgs>
|
2019-03-15 15:04:30 -04:00
|
|
|
<arg>-XDcompilePolicy=simple</arg>
|
|
|
|
<!-- All -Xep need to be on single line see: https://github.com/google/error-prone/pull/1115 -->
|
2020-12-02 09:23:03 -05:00
|
|
|
<arg>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode -Xep:FallThrough:OFF -Xep:MutablePublicArray:OFF -Xep:ClassNewInstance:ERROR -Xep:MissingDefault:ERROR</arg>
|
2019-03-15 15:04:30 -04:00
|
|
|
<!-- Required when compiling with JDK 8 -->
|
|
|
|
<arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</arg>
|
2017-07-06 17:13:26 -04:00
|
|
|
</compilerArgs>
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
<path>
|
2019-03-15 15:04:30 -04:00
|
|
|
<groupId>com.google.errorprone</groupId>
|
|
|
|
<artifactId>error_prone_core</artifactId>
|
|
|
|
<version>${error-prone.version}</version>
|
2017-07-06 17:13:26 -04:00
|
|
|
</path>
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|