HBASE-26921 Rewrite the counting cells part in TestMultiVersions (#4316)
[hbase.git] / hbase-shell / pom.xml
blobce48923ece63499a0f38811095a84a61bcf15217
1 <?xml version="1.0"?>
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">
3   <!--
4 /**
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
12  *
13  *     http://www.apache.org/licenses/LICENSE-2.0
14  *
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.
20  */
21 -->
22   <modelVersion>4.0.0</modelVersion>
23   <parent>
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>
28   </parent>
29   <artifactId>hbase-shell</artifactId>
30   <name>Apache HBase - Shell</name>
31   <description>Shell for HBase</description>
32   <build>
33     <resources>
34       <resource>
35         <directory>src/main/ruby</directory>
36       </resource>
37     </resources>
38     <testResources>
39       <testResource>
40         <directory>src/test/resources</directory>
41         <includes>
42           <include>**/**</include>
43         </includes>
44       </testResource>
45     </testResources>
46     <plugins>
47       <plugin>
48         <groupId>org.apache.maven.plugins</groupId>
49         <artifactId>maven-jar-plugin</artifactId>
50         <configuration>
51           <archive>
52             <manifest>
53               <mainClass>org.jruby.JarBootstrapMain</mainClass>
54             </manifest>
55           </archive>
56         </configuration>
57       </plugin>
58       <!-- Make a jar and put the sources in the jar -->
59       <plugin>
60         <groupId>org.apache.maven.plugins</groupId>
61         <artifactId>maven-source-plugin</artifactId>
62       </plugin>
63       <!-- General plugins -->
64       <plugin>
65         <groupId>net.revelc.code</groupId>
66         <artifactId>warbucks-maven-plugin</artifactId>
67       </plugin>
68     </plugins>
69     <!-- General Resources -->
70     <pluginManagement>
71        <plugins>
72         <plugin>
73           <artifactId>maven-surefire-plugin</artifactId>
74           <version>${surefire.version}</version>
75           <configuration>
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>
79           </configuration>
80         </plugin>
81        </plugins>
82     </pluginManagement>
83   </build>
84   <dependencies>
85     <!-- Intra-project dependencies -->
86     <dependency>
87       <groupId>org.apache.hbase</groupId>
88       <artifactId>hbase-logging</artifactId>
89       <type>test-jar</type>
90       <scope>test</scope>
91     </dependency>
92     <dependency>
93       <groupId>org.apache.hbase</groupId>
94       <artifactId>hbase-common</artifactId>
95     </dependency>
96     <dependency>
97       <groupId>org.apache.hbase</groupId>
98       <artifactId>hbase-annotations</artifactId>
99       <type>test-jar</type>
100       <scope>test</scope>
101     </dependency>
102     <dependency>
103       <groupId>org.apache.hbase</groupId>
104       <artifactId>hbase-client</artifactId>
105     </dependency>
106     <dependency>
107       <groupId>org.apache.hbase</groupId>
108       <artifactId>hbase-server</artifactId>
109     </dependency>
110     <dependency>
111       <groupId>org.apache.hbase</groupId>
112       <artifactId>hbase-hadoop-compat</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.apache.hbase</groupId>
116       <artifactId>hbase-testing-util</artifactId>
117       <scope>test</scope>
118     </dependency>
119     <!-- General dependencies -->
120     <dependency>
121       <groupId>org.slf4j</groupId>
122       <artifactId>slf4j-api</artifactId>
123     </dependency>
124     <dependency>
125       <groupId>org.jruby</groupId>
126       <artifactId>jruby-complete</artifactId>
127     </dependency>
128     <!-- Test Dependencies -->
129     <dependency>
130       <groupId>junit</groupId>
131       <artifactId>junit</artifactId>
132       <scope>test</scope>
133     </dependency>
134     <dependency>
135       <groupId>org.slf4j</groupId>
136       <artifactId>jcl-over-slf4j</artifactId>
137       <scope>test</scope>
138     </dependency>
139     <dependency>
140       <groupId>org.slf4j</groupId>
141       <artifactId>jul-to-slf4j</artifactId>
142       <scope>test</scope>
143     </dependency>
144     <dependency>
145       <groupId>org.apache.logging.log4j</groupId>
146       <artifactId>log4j-api</artifactId>
147       <scope>test</scope>
148     </dependency>
149     <dependency>
150       <groupId>org.apache.logging.log4j</groupId>
151       <artifactId>log4j-core</artifactId>
152       <scope>test</scope>
153     </dependency>
154     <dependency>
155       <groupId>org.apache.logging.log4j</groupId>
156       <artifactId>log4j-slf4j-impl</artifactId>
157       <scope>test</scope>
158     </dependency>
159     <dependency>
160       <groupId>org.apache.logging.log4j</groupId>
161       <artifactId>log4j-1.2-api</artifactId>
162       <scope>test</scope>
163     </dependency>
164   </dependencies>
165   <profiles>
166     <!-- Skip the tests in this module -->
167     <profile>
168       <id>skipShellTests</id>
169       <activation>
170         <property>
171           <name>skipShellTests</name>
172         </property>
173       </activation>
174       <properties>
175         <surefire.skipFirstPart>true</surefire.skipFirstPart>
176         <surefire.skipSecondPart>true</surefire.skipSecondPart>
177       </properties>
178     </profile>
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 -->
183     <profile>
184       <id>hadoop-3.0</id>
185       <activation>
186         <property><name>!hadoop.profile</name></property>
187       </activation>
188       <dependencies>
189         <dependency>
190           <groupId>org.apache.hadoop</groupId>
191           <artifactId>hadoop-common</artifactId>
192         </dependency>
193         <dependency>
194           <groupId>org.apache.hadoop</groupId>
195           <artifactId>hadoop-minicluster</artifactId>
196           <exclusions>
197             <exclusion>
198               <groupId>com.google.guava</groupId>
199               <artifactId>guava</artifactId>
200             </exclusion>
201             <exclusion>
202               <groupId>javax.ws.rs</groupId>
203               <artifactId>jsr311-api</artifactId>
204             </exclusion>
205           </exclusions>
206         </dependency>
207         <dependency>
208           <groupId>org.apache.hadoop</groupId>
209           <artifactId>hadoop-minikdc</artifactId>
210         </dependency>
211       </dependencies>
212       <build>
213         <plugins>
214           <plugin>
215             <artifactId>maven-dependency-plugin</artifactId>
216             <executions>
217               <execution>
218                 <id>create-mrapp-generated-classpath</id>
219                 <phase>generate-test-resources</phase>
220                 <goals>
221                   <goal>build-classpath</goal>
222                 </goals>
223                 <configuration>
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
227                   -->
228                   <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
229                 </configuration>
230               </execution>
231             </executions>
232           </plugin>
233         </plugins>
234       </build>
235     </profile>
236     <profile>
237       <id>eclipse-specific</id>
238       <activation>
239         <property>
240           <name>m2e.version</name>
241         </property>
242       </activation>
243       <build>
244         <pluginManagement>
245           <plugins>
246             <!--This plugin's configuration is used to store Eclipse m2e settings
247                  only. It has no influence on the Maven build itself.-->
248             <plugin>
249               <groupId>org.eclipse.m2e</groupId>
250               <artifactId>lifecycle-mapping</artifactId>
251               <configuration>
252                 <lifecycleMappingMetadata>
253                   <pluginExecutions>
254                     <pluginExecution>
255                       <pluginExecutionFilter>
256                         <groupId>org.apache.maven.plugins</groupId>
257                         <artifactId>maven-dependency-plugin</artifactId>
258                         <versionRange>[2.8,)</versionRange>
259                         <goals>
260                           <goal>build-classpath</goal>
261                         </goals>
262                       </pluginExecutionFilter>
263                       <action>
264                         <ignore></ignore>
265                       </action>
266                     </pluginExecution>
267                   </pluginExecutions>
268                 </lifecycleMappingMetadata>
269               </configuration>
270             </plugin>
271           </plugins>
272         </pluginManagement>
273       </build>
274     </profile>
275   </profiles>
276 </project>