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>
30 <artifactId>hbase-common</artifactId>
31 <name>Apache HBase - Common</name>
32 <description>Common functionality for HBase</description>
37 <directory>src/main/resources/</directory>
39 <include>hbase-default.xml</include>
45 <directory>src/test/resources/META-INF/</directory>
46 <targetPath>META-INF/</targetPath>
48 <include>NOTICE</include>
50 <filtering>true</filtering>
53 <directory>src/test/resources</directory>
55 <include>**/**</include>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-remote-resources-plugin</artifactId>
65 <!--Make it so assembly:single does nothing in here-->
66 <artifactId>maven-assembly-plugin</artifactId>
68 <skipAssembly>true</skipAssembly>
72 <artifactId>maven-antrun-plugin</artifactId>
75 <phase>process-resources</phase>
78 <replace file="${project.build.outputDirectory}/hbase-default.xml"
79 token="@@@VERSION@@@" value="${project.version}" />
86 <!-- Generate web app sources -->
88 <id>generate-Version-information</id>
89 <phase>generate-sources</phase>
92 <property name="generated.sources" location="${project.build.directory}/generated-sources"/>
94 <exec executable="bash" failonerror="true">
95 <arg line="${basedir}/src/saveVersion.sh ${project.version} ${generated.sources}"/>
106 <groupId>org.codehaus.mojo</groupId>
107 <artifactId>build-helper-maven-plugin</artifactId>
109 <!-- Add the generated sources -->
111 <id>versionInfo-source</id>
112 <phase>generate-sources</phase>
114 <goal>add-source</goal>
118 <source>${project.build.directory}/generated-sources/java</source>
124 <!-- Make a jar and put the sources in the jar -->
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-source-plugin</artifactId>
130 <exclude>hbase-default.xml</exclude>
135 <groupId>net.revelc.code</groupId>
136 <artifactId>warbucks-maven-plugin</artifactId>
143 <groupId>org.apache.hbase</groupId>
144 <artifactId>hbase-annotations</artifactId>
145 <type>test-jar</type>
149 <groupId>org.apache.hbase</groupId>
150 <artifactId>hbase-logging</artifactId>
153 <groupId>org.apache.hbase</groupId>
154 <artifactId>hbase-logging</artifactId>
155 <type>test-jar</type>
159 <groupId>org.apache.hbase.thirdparty</groupId>
160 <artifactId>hbase-shaded-miscellaneous</artifactId>
163 <groupId>org.apache.hbase.thirdparty</groupId>
164 <artifactId>hbase-shaded-gson</artifactId>
167 <groupId>org.apache.hbase.thirdparty</groupId>
168 <artifactId>hbase-shaded-netty</artifactId>
171 <groupId>org.apache.hbase.thirdparty</groupId>
172 <artifactId>hbase-unsafe</artifactId>
175 <groupId>org.slf4j</groupId>
176 <artifactId>slf4j-api</artifactId>
179 <groupId>commons-codec</groupId>
180 <artifactId>commons-codec</artifactId>
181 <scope>compile</scope>
184 <groupId>org.apache.commons</groupId>
185 <artifactId>commons-lang3</artifactId>
186 <scope>compile</scope>
189 <groupId>commons-io</groupId>
190 <artifactId>commons-io</artifactId>
191 <scope>compile</scope>
194 <groupId>commons-validator</groupId>
195 <artifactId>commons-validator</artifactId>
196 <scope>compile</scope>
198 <!-- tracing Dependencies -->
200 <groupId>io.opentelemetry</groupId>
201 <artifactId>opentelemetry-api</artifactId>
204 <groupId>io.opentelemetry</groupId>
205 <artifactId>opentelemetry-semconv</artifactId>
208 <groupId>org.apache.commons</groupId>
209 <artifactId>commons-crypto</artifactId>
212 <groupId>junit</groupId>
213 <artifactId>junit</artifactId>
217 <groupId>com.github.stephenc.findbugs</groupId>
218 <artifactId>findbugs-annotations</artifactId>
219 <scope>compile</scope>
220 <optional>true</optional>
223 <groupId>org.hamcrest</groupId>
224 <artifactId>hamcrest-library</artifactId>
228 <groupId>org.mockito</groupId>
229 <artifactId>mockito-core</artifactId>
233 <groupId>org.slf4j</groupId>
234 <artifactId>jcl-over-slf4j</artifactId>
238 <groupId>org.slf4j</groupId>
239 <artifactId>jul-to-slf4j</artifactId>
243 <groupId>org.apache.logging.log4j</groupId>
244 <artifactId>log4j-api</artifactId>
248 <groupId>org.apache.logging.log4j</groupId>
249 <artifactId>log4j-core</artifactId>
253 <groupId>org.apache.logging.log4j</groupId>
254 <artifactId>log4j-slf4j-impl</artifactId>
258 <groupId>org.apache.kerby</groupId>
259 <artifactId>kerb-simplekdc</artifactId>
265 <!-- Needs to make the profile in apache parent pom -->
267 <id>apache-release</id>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-resources-plugin</artifactId>
275 <id>license-javadocs</id>
276 <phase>prepare-package</phase>
278 <goal>copy-resources</goal>
281 <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
284 <directory>src/main/javadoc/META-INF/</directory>
285 <targetPath>META-INF/</targetPath>
287 <include>NOTICE</include>
289 <filtering>true</filtering>
299 <!-- Skip the tests in this module -->
301 <id>skipCommonTests</id>
304 <name>skipCommonTests</name>
308 <surefire.skipFirstPart>true</surefire.skipFirstPart>
309 <surefire.skipSecondPart>true</surefire.skipSecondPart>
312 <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
316 <property><name>!hadoop.profile</name></property>
320 <groupId>org.apache.hadoop</groupId>
321 <artifactId>hadoop-common</artifactId>
327 <artifactId>maven-dependency-plugin</artifactId>
330 <id>create-mrapp-generated-classpath</id>
331 <phase>generate-test-resources</phase>
333 <goal>build-classpath</goal>
336 <!-- needed to run the unit test for DS to generate
337 the required classpath that is required in the env
338 of the launch container in the mini mr/yarn cluster
340 <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
349 <id>eclipse-specific</id>
352 <name>m2e.version</name>
358 <!--This plugin's configuration is used to store Eclipse m2e settings
359 only. It has no influence on the Maven build itself. -->
361 <groupId>org.eclipse.m2e</groupId>
362 <artifactId>lifecycle-mapping</artifactId>
364 <lifecycleMappingMetadata>
367 <pluginExecutionFilter>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-antrun-plugin</artifactId>
370 <versionRange>[${maven.antrun.version}]</versionRange>
374 </pluginExecutionFilter>
380 <pluginExecutionFilter>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-dependency-plugin</artifactId>
383 <versionRange>[2.8,)</versionRange>
385 <goal>build-classpath</goal>
387 </pluginExecutionFilter>
393 </lifecycleMappingMetadata>