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>2.4.9-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>
70 <activeByDefault>false</activeByDefault>
73 <!-- https://errorprone.info/docs/installation Maven section has details -->
74 <!-- required when compiling with JDK 8 -->
75 <javac.version>9+181-r4173-1</javac.version>
79 <groupId>com.google.errorprone</groupId>
80 <artifactId>error_prone_core</artifactId>
81 <version>${error-prone.version}</version>
82 <scope>provided</scope>
85 <groupId>com.google.code.findbugs</groupId>
86 <artifactId>jsr305</artifactId>
91 <groupId>com.google.errorprone</groupId>
92 <artifactId>javac</artifactId>
93 <version>${javac.version}</version>
94 <scope>provided</scope>
99 <!-- Turn on error-prone -->
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-compiler-plugin</artifactId>
104 <source>${compileSource}</source>
105 <target>${compileSource}</target>
106 <!-- required when compiling with JDK 8 -->
108 <showWarnings>true</showWarnings>
110 <arg>-XDcompilePolicy=simple</arg>
111 <!-- All -Xep need to be on single line see: https://github.com/google/error-prone/pull/1115 -->
112 <arg>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode -Xep:FallThrough:OFF -Xep:MutablePublicArray:OFF -Xep:ClassNewInstance:ERROR -Xep:MissingDefault:ERROR</arg>
113 <!-- Required when compiling with JDK 8 -->
114 <arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</arg>
116 <annotationProcessorPaths>
118 <groupId>com.google.errorprone</groupId>
119 <artifactId>error_prone_core</artifactId>
120 <version>${error-prone.version}</version>
122 </annotationProcessorPaths>