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-shell</artifactId>
30 <name>Apache HBase - Shell</name>
31 <description>Shell for HBase</description>
35 <directory>src/main/ruby</directory>
40 <directory>src/test/resources</directory>
42 <include>**/**</include>
48 <groupId>org.apache.maven.plugins</groupId>
49 <artifactId>maven-jar-plugin</artifactId>
53 <mainClass>org.jruby.JarBootstrapMain</mainClass>
58 <!-- Make a jar and put the sources in the jar -->
60 <groupId>org.apache.maven.plugins</groupId>
61 <artifactId>maven-source-plugin</artifactId>
63 <!-- General plugins -->
65 <groupId>net.revelc.code</groupId>
66 <artifactId>warbucks-maven-plugin</artifactId>
69 <!-- General Resources -->
73 <artifactId>maven-surefire-plugin</artifactId>
74 <version>${surefire.version}</version>
76 <!-- Have to set the groups here because we only do
77 split tests in this package, so groups on live in this module -->
78 <groups>${surefire.firstPartGroups}</groups>
85 <!-- Intra-project dependencies -->
87 <groupId>org.apache.hbase</groupId>
88 <artifactId>hbase-logging</artifactId>
93 <groupId>org.apache.hbase</groupId>
94 <artifactId>hbase-common</artifactId>
97 <groupId>org.apache.hbase</groupId>
98 <artifactId>hbase-annotations</artifactId>
103 <groupId>org.apache.hbase</groupId>
104 <artifactId>hbase-client</artifactId>
107 <groupId>org.apache.hbase</groupId>
108 <artifactId>hbase-server</artifactId>
111 <groupId>org.apache.hbase</groupId>
112 <artifactId>hbase-hadoop-compat</artifactId>
115 <groupId>org.apache.hbase</groupId>
116 <artifactId>hbase-testing-util</artifactId>
119 <!-- General dependencies -->
121 <groupId>org.slf4j</groupId>
122 <artifactId>slf4j-api</artifactId>
125 <groupId>org.jruby</groupId>
126 <artifactId>jruby-complete</artifactId>
128 <!-- Test Dependencies -->
130 <groupId>junit</groupId>
131 <artifactId>junit</artifactId>
135 <groupId>org.slf4j</groupId>
136 <artifactId>jcl-over-slf4j</artifactId>
140 <groupId>org.slf4j</groupId>
141 <artifactId>jul-to-slf4j</artifactId>
145 <groupId>org.apache.logging.log4j</groupId>
146 <artifactId>log4j-api</artifactId>
150 <groupId>org.apache.logging.log4j</groupId>
151 <artifactId>log4j-core</artifactId>
155 <groupId>org.apache.logging.log4j</groupId>
156 <artifactId>log4j-slf4j-impl</artifactId>
160 <groupId>org.apache.logging.log4j</groupId>
161 <artifactId>log4j-1.2-api</artifactId>
166 <!-- Skip the tests in this module -->
168 <id>skipShellTests</id>
171 <name>skipShellTests</name>
175 <surefire.skipFirstPart>true</surefire.skipFirstPart>
176 <surefire.skipSecondPart>true</surefire.skipSecondPart>
179 <!-- Profiles for building against different hadoop versions -->
180 <!-- There are a lot of common dependencies used here, should investigate
181 if we can combine these profiles somehow -->
182 <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
186 <property><name>!hadoop.profile</name></property>
190 <groupId>org.apache.hadoop</groupId>
191 <artifactId>hadoop-common</artifactId>
194 <groupId>org.apache.hadoop</groupId>
195 <artifactId>hadoop-minicluster</artifactId>
198 <groupId>com.google.guava</groupId>
199 <artifactId>guava</artifactId>
202 <groupId>javax.ws.rs</groupId>
203 <artifactId>jsr311-api</artifactId>
208 <groupId>org.apache.hadoop</groupId>
209 <artifactId>hadoop-minikdc</artifactId>
215 <artifactId>maven-dependency-plugin</artifactId>
218 <id>create-mrapp-generated-classpath</id>
219 <phase>generate-test-resources</phase>
221 <goal>build-classpath</goal>
224 <!-- needed to run the unit test for DS to generate
225 the required classpath that is required in the env
226 of the launch container in the mini mr/yarn cluster
228 <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
237 <id>eclipse-specific</id>
240 <name>m2e.version</name>
246 <!--This plugin's configuration is used to store Eclipse m2e settings
247 only. It has no influence on the Maven build itself.-->
249 <groupId>org.eclipse.m2e</groupId>
250 <artifactId>lifecycle-mapping</artifactId>
252 <lifecycleMappingMetadata>
255 <pluginExecutionFilter>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-dependency-plugin</artifactId>
258 <versionRange>[2.8,)</versionRange>
260 <goal>build-classpath</goal>
262 </pluginExecutionFilter>
268 </lifecycleMappingMetadata>