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</artifactId>
25 <groupId>org.apache.hbase</groupId>
26 <version>3.0.0-SNAPSHOT</version>
27 <relativePath>..</relativePath>
30 <artifactId>hbase-build-configuration</artifactId>
31 <name>Apache HBase - Build Configuration</name>
32 <description>Configure the build-support artifacts for maven build</description>
34 <packaging>pom</packaging>
38 <groupId>org.apache.maven.plugins</groupId>
39 <artifactId>maven-site-plugin</artifactId>
45 <!--Make it so assembly:single does nothing in here-->
46 <artifactId>maven-assembly-plugin</artifactId>
48 <skipAssembly>true</skipAssembly>
55 <groupId>org.apache.hbase</groupId>
56 <artifactId>hbase-annotations</artifactId>
61 <groupId>org.apache.yetus</groupId>
62 <artifactId>audience-annotations</artifactId>
69 <activeByDefault>false</activeByDefault>
72 <!-- https://errorprone.info/docs/installation Maven section has details -->
73 <!-- required when compiling with JDK 8 -->
74 <javac.version>9+181-r4173-1</javac.version>
78 <groupId>com.google.errorprone</groupId>
79 <artifactId>error_prone_core</artifactId>
80 <version>${error-prone.version}</version>
81 <scope>provided</scope>
84 <groupId>com.google.code.findbugs</groupId>
85 <artifactId>jsr305</artifactId>
90 <groupId>com.google.errorprone</groupId>
91 <artifactId>javac</artifactId>
92 <version>${javac.version}</version>
93 <scope>provided</scope>
98 <!-- Turn on error-prone -->
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-compiler-plugin</artifactId>
103 <source>${compileSource}</source>
104 <target>${compileSource}</target>
105 <!-- required when compiling with JDK 8 -->
107 <showWarnings>true</showWarnings>
109 <arg>-XDcompilePolicy=simple</arg>
110 <!-- All -Xep need to be on single line see: https://github.com/google/error-prone/pull/1115 -->
111 <arg>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode -Xep:FallThrough:OFF -Xep:MutablePublicArray:OFF -Xep:ClassNewInstance:ERROR -Xep:MissingDefault:ERROR</arg>
112 <!-- Required when compiling with JDK 8 -->
113 <arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</arg>
115 <annotationProcessorPaths>
117 <groupId>com.google.errorprone</groupId>
118 <artifactId>error_prone_core</artifactId>
119 <version>${error-prone.version}</version>
121 </annotationProcessorPaths>