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-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.slf4j</groupId>
172 <artifactId>slf4j-api</artifactId>
175 <groupId>commons-codec</groupId>
176 <artifactId>commons-codec</artifactId>
177 <scope>compile</scope>
180 <groupId>org.apache.commons</groupId>
181 <artifactId>commons-lang3</artifactId>
182 <scope>compile</scope>
185 <groupId>commons-io</groupId>
186 <artifactId>commons-io</artifactId>
187 <scope>compile</scope>
190 <groupId>commons-validator</groupId>
191 <artifactId>commons-validator</artifactId>
192 <scope>compile</scope>
194 <!-- tracing Dependencies -->
196 <groupId>org.apache.htrace</groupId>
197 <artifactId>htrace-core4</artifactId>
200 <groupId>org.apache.commons</groupId>
201 <artifactId>commons-crypto</artifactId>
204 <groupId>junit</groupId>
205 <artifactId>junit</artifactId>
209 <groupId>com.github.stephenc.findbugs</groupId>
210 <artifactId>findbugs-annotations</artifactId>
211 <scope>compile</scope>
212 <optional>true</optional>
215 <groupId>org.hamcrest</groupId>
216 <artifactId>hamcrest-library</artifactId>
220 <groupId>org.mockito</groupId>
221 <artifactId>mockito-core</artifactId>
225 <groupId>org.slf4j</groupId>
226 <artifactId>jcl-over-slf4j</artifactId>
230 <groupId>org.slf4j</groupId>
231 <artifactId>jul-to-slf4j</artifactId>
235 <groupId>org.slf4j</groupId>
236 <artifactId>slf4j-log4j12</artifactId>
240 <groupId>log4j</groupId>
241 <artifactId>log4j</artifactId>
245 <groupId>org.apache.kerby</groupId>
246 <artifactId>kerb-simplekdc</artifactId>
252 <!-- Needs to make the profile in apache parent pom -->
254 <id>apache-release</id>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-resources-plugin</artifactId>
262 <id>license-javadocs</id>
263 <phase>prepare-package</phase>
265 <goal>copy-resources</goal>
268 <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
271 <directory>src/main/javadoc/META-INF/</directory>
272 <targetPath>META-INF/</targetPath>
274 <include>NOTICE</include>
276 <filtering>true</filtering>
286 <!-- Skip the tests in this module -->
288 <id>skipCommonTests</id>
291 <name>skipCommonTests</name>
295 <surefire.skipFirstPart>true</surefire.skipFirstPart>
296 <surefire.skipSecondPart>true</surefire.skipSecondPart>
299 <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
303 <property><name>!hadoop.profile</name></property>
307 <groupId>org.apache.hadoop</groupId>
308 <artifactId>hadoop-common</artifactId>
314 <artifactId>maven-dependency-plugin</artifactId>
317 <id>create-mrapp-generated-classpath</id>
318 <phase>generate-test-resources</phase>
320 <goal>build-classpath</goal>
323 <!-- needed to run the unit test for DS to generate
324 the required classpath that is required in the env
325 of the launch container in the mini mr/yarn cluster
327 <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
336 <id>eclipse-specific</id>
339 <name>m2e.version</name>
345 <!--This plugin's configuration is used to store Eclipse m2e settings
346 only. It has no influence on the Maven build itself. -->
348 <groupId>org.eclipse.m2e</groupId>
349 <artifactId>lifecycle-mapping</artifactId>
351 <lifecycleMappingMetadata>
354 <pluginExecutionFilter>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-antrun-plugin</artifactId>
357 <versionRange>[${maven.antrun.version}]</versionRange>
361 </pluginExecutionFilter>
367 <pluginExecutionFilter>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-dependency-plugin</artifactId>
370 <versionRange>[2.8,)</versionRange>
372 <goal>build-classpath</goal>
374 </pluginExecutionFilter>
380 </lifecycleMappingMetadata>