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-build-configuration</artifactId>
25 <groupId>org.apache.hbase</groupId>
26 <version>3.0.0-alpha-3-SNAPSHOT</version>
27 <relativePath>../hbase-build-configuration</relativePath>
29 <artifactId>hbase-zookeeper</artifactId>
30 <name>Apache HBase - Zookeeper</name>
31 <description>Zookeeper Helpers for HBase</description>
34 <!-- Makes sure the resources get added before they are processed
35 by placing this first -->
37 <!-- Our test artifact has different license info than our source/bin ones -->
39 <directory>src/test/resources/META-INF/</directory>
40 <targetPath>META-INF/</targetPath>
42 <include>NOTICE</include>
44 <filtering>true</filtering>
47 <directory>src/test/resources</directory>
49 <include>**/**</include>
54 <!-- Run with -Dmaven.test.skip.exec=true to build -tests.jar without running
55 tests (this is needed for upstream projects whose tests need this jar simply for
58 <!--Make it so assembly:single does nothing in here-->
59 <artifactId>maven-assembly-plugin</artifactId>
61 <skipAssembly>true</skipAssembly>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-checkstyle-plugin</artifactId>
68 <failOnViolation>true</failOnViolation>
72 <groupId>net.revelc.code</groupId>
73 <artifactId>warbucks-maven-plugin</artifactId>
79 <groupId>org.apache.hbase.thirdparty</groupId>
80 <artifactId>hbase-shaded-protobuf</artifactId>
83 <groupId>org.apache.hbase.thirdparty</groupId>
84 <artifactId>hbase-shaded-miscellaneous</artifactId>
86 <!-- Intra-project dependencies -->
88 <groupId>org.apache.hbase</groupId>
89 <artifactId>hbase-common</artifactId>
92 <groupId>org.apache.hbase</groupId>
93 <artifactId>hbase-common</artifactId>
98 <groupId>org.apache.hbase</groupId>
99 <artifactId>hbase-client</artifactId>
102 <groupId>org.apache.hbase</groupId>
103 <artifactId>hbase-annotations</artifactId>
104 <type>test-jar</type>
108 <groupId>org.apache.hbase</groupId>
109 <artifactId>hbase-logging</artifactId>
110 <type>test-jar</type>
114 <groupId>org.apache.hbase</groupId>
115 <artifactId>hbase-protocol-shaded</artifactId>
118 <groupId>org.apache.hbase</groupId>
119 <artifactId>hbase-hadoop-compat</artifactId>
121 <!-- We don't need MR support classes here. -->
123 <groupId>org.apache.hadoop</groupId>
124 <artifactId>hadoop-mapreduce-client-core</artifactId>
128 <!-- General dependencies -->
130 <groupId>com.github.stephenc.findbugs</groupId>
131 <artifactId>findbugs-annotations</artifactId>
132 <scope>compile</scope>
133 <optional>true</optional>
136 <groupId>org.apache.commons</groupId>
137 <artifactId>commons-lang3</artifactId>
140 <groupId>org.slf4j</groupId>
141 <artifactId>slf4j-api</artifactId>
144 <groupId>org.apache.zookeeper</groupId>
145 <artifactId>zookeeper</artifactId>
148 <groupId>io.opentelemetry</groupId>
149 <artifactId>opentelemetry-api</artifactId>
151 <!-- Test dependencies -->
153 <groupId>junit</groupId>
154 <artifactId>junit</artifactId>
158 <groupId>org.mockito</groupId>
159 <artifactId>mockito-core</artifactId>
163 <groupId>org.slf4j</groupId>
164 <artifactId>jcl-over-slf4j</artifactId>
168 <groupId>org.slf4j</groupId>
169 <artifactId>jul-to-slf4j</artifactId>
173 <groupId>org.apache.logging.log4j</groupId>
174 <artifactId>log4j-api</artifactId>
178 <groupId>org.apache.logging.log4j</groupId>
179 <artifactId>log4j-core</artifactId>
183 <groupId>org.apache.logging.log4j</groupId>
184 <artifactId>log4j-slf4j-impl</artifactId>
189 <!-- Needs to make the profile in apache parent pom -->
191 <id>apache-release</id>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-resources-plugin</artifactId>
199 <id>license-javadocs</id>
200 <phase>prepare-package</phase>
202 <goal>copy-resources</goal>
205 <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
208 <directory>src/main/javadoc/META-INF/</directory>
209 <targetPath>META-INF/</targetPath>
211 <include>LICENSE</include>
212 <include>NOTICE</include>
214 <filtering>true</filtering>
224 <!-- Skip the tests in this module -->
226 <id>skipZooKeeperTests</id>
229 <name>skipZooKeeperTests</name>
233 <surefire.skipFirstPart>true</surefire.skipFirstPart>
234 <surefire.skipSecondPart>true</surefire.skipSecondPart>
237 <!-- Profiles for building against different hadoop versions -->
238 <!-- There are a lot of common dependencies used here, should investigate
239 if we can combine these profiles somehow -->
240 <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
244 <property><name>!hadoop.profile</name></property>
248 <groupId>org.apache.hadoop</groupId>
249 <artifactId>hadoop-common</artifactId>
252 <groupId>org.apache.hadoop</groupId>
253 <artifactId>hadoop-auth</artifactId>
259 <artifactId>maven-dependency-plugin</artifactId>
262 <id>create-mrapp-generated-classpath</id>
263 <phase>generate-test-resources</phase>
265 <goal>build-classpath</goal>
268 <!-- needed to run the unit test for DS to generate
269 the required classpath that is required in the env
270 of the launch container in the mini mr/yarn cluster
272 <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
281 <id>eclipse-specific</id>
284 <name>m2e.version</name>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-eclipse-plugin</artifactId>
293 <additionalProjectnatures>
294 <projectnature>org.jamon.project.jamonnature</projectnature>
295 </additionalProjectnatures>
297 <buildcommand>org.jamon.project.templateBuilder</buildcommand>
298 <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
299 <buildcommand>org.jamon.project.markerUpdater</buildcommand>
303 <name>.settings/org.jamon.prefs</name>
305 eclipse.preferences.version=1
306 templateSourceDir=src/main/jamon
307 templateOutputDir=target/generated-jamon
316 <!--This plugin's configuration is used to store Eclipse m2e settings
317 only. It has no influence on the Maven build itself and needs to
318 be kept in plugin management, not in the actual plugins. -->
320 <groupId>org.eclipse.m2e</groupId>
321 <artifactId>lifecycle-mapping</artifactId>
323 <lifecycleMappingMetadata>
326 <pluginExecutionFilter>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-antrun-plugin</artifactId>
329 <versionRange>[1.6,)</versionRange>
333 </pluginExecutionFilter>
336 <runOnIncremental>false</runOnIncremental>
337 <runOnConfiguration>true</runOnConfiguration>
342 <pluginExecutionFilter>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-dependency-plugin</artifactId>
345 <versionRange>[2.8,)</versionRange>
347 <goal>build-classpath</goal>
349 </pluginExecutionFilter>
355 </lifecycleMappingMetadata>