HBASE-21843 RegionGroupingProvider breaks the meta wal file name pattern which may...
[hbase.git] / hbase-backup / pom.xml
blob00a996f51edd0baeb7cac5b12b0b51786b3a225b
1 <?xml version="1.0"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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-SNAPSHOT</version>
27     <relativePath>../hbase-build-configuration</relativePath>
28   </parent>
29   <artifactId>hbase-backup</artifactId>
30   <name>Apache HBase - Backup</name>
31   <description>Backup for HBase</description>
32   <build>
33     <plugins>
34       <plugin>
35         <!--Make it so assembly:single does nothing in here-->
36         <artifactId>maven-assembly-plugin</artifactId>
37         <configuration>
38           <skipAssembly>true</skipAssembly>
39         </configuration>
40       </plugin>
41       <!-- Make a jar and put the sources in the jar -->
42       <plugin>
43         <groupId>org.apache.maven.plugins</groupId>
44         <artifactId>maven-source-plugin</artifactId>
45       </plugin>
46       <plugin>
47         <groupId>net.revelc.code</groupId>
48         <artifactId>warbucks-maven-plugin</artifactId>
49       </plugin>
50     </plugins>
51     <pluginManagement>
52       <plugins>
53         <!--This plugin's configuration is used to store Eclipse m2e settings
54              only. It has no influence on the Maven build itself.-->
55         <plugin>
56           <groupId>org.eclipse.m2e</groupId>
57           <artifactId>lifecycle-mapping</artifactId>
58           <configuration>
59             <lifecycleMappingMetadata>
60               <pluginExecutions>
61               </pluginExecutions>
62             </lifecycleMappingMetadata>
63           </configuration>
64         </plugin>
65       </plugins>
66     </pluginManagement>
67   </build>
68   <dependencies>
69     <!-- Intra-project dependencies -->
70     <dependency>
71       <groupId>org.apache.hbase</groupId>
72       <artifactId>hbase-annotations</artifactId>
73       <type>test-jar</type>
74       <scope>test</scope>
75     </dependency>
76     <dependency>
77       <groupId>org.apache.hbase</groupId>
78       <artifactId>hbase-client</artifactId>
79     </dependency>
80     <dependency>
81       <groupId>org.apache.hbase</groupId>
82       <artifactId>hbase-server</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>org.apache.hbase</groupId>
86       <artifactId>hbase-server</artifactId>
87       <type>test-jar</type>
88       <scope>test</scope>
89     </dependency>
90     <dependency>
91       <groupId>org.apache.hbase</groupId>
92       <artifactId>hbase-mapreduce</artifactId>
93       <type>test-jar</type>
94       <scope>test</scope>
95     </dependency>
96     <dependency>
97       <groupId>org.apache.hbase</groupId>
98       <artifactId>hbase-mapreduce</artifactId>
99     </dependency>
100     <dependency>
101       <groupId>org.apache.hbase</groupId>
102       <artifactId>hbase-common</artifactId>
103     </dependency>
104     <dependency>
105       <groupId>org.apache.hbase</groupId>
106       <artifactId>hbase-protocol-shaded</artifactId>
107     </dependency>
108     <dependency>
109       <groupId>org.apache.hbase</groupId>
110       <artifactId>hbase-testing-util</artifactId>
111       <scope>test</scope>
112     </dependency>
113     <!-- General dependencies -->
114     <dependency>
115       <groupId>org.apache.commons</groupId>
116       <artifactId>commons-lang3</artifactId>
117     </dependency>
118     <dependency>
119       <groupId>org.slf4j</groupId>
120       <artifactId>slf4j-api</artifactId>
121     </dependency>
122     <dependency>
123       <groupId>org.apache.hbase.thirdparty</groupId>
124       <artifactId>hbase-shaded-miscellaneous</artifactId>
125     </dependency>
126     <dependency>
127       <groupId>org.apache.zookeeper</groupId>
128       <artifactId>zookeeper</artifactId>
129     </dependency>
130     <dependency>
131       <!--For Hadoop-->
132       <groupId>log4j</groupId>
133       <artifactId>log4j</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>junit</groupId>
137       <artifactId>junit</artifactId>
138       <scope>test</scope>
139     </dependency>
140   </dependencies>
141   <profiles>
142     <!-- profile against Hadoop 2.x: This is the default. -->
143     <profile>
144       <id>hadoop-2.0</id>
145       <activation>
146         <property>
147           <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
148           <!--h2-->
149           <name>!hadoop.profile</name>
150         </property>
151       </activation>
152       <dependencies>
153         <dependency>
154           <groupId>org.apache.hadoop</groupId>
155           <artifactId>hadoop-common</artifactId>
156           <exclusions>
157             <exclusion>
158               <groupId>net.java.dev.jets3t</groupId>
159               <artifactId>jets3t</artifactId>
160             </exclusion>
161             <exclusion>
162               <groupId>javax.servlet.jsp</groupId>
163               <artifactId>jsp-api</artifactId>
164             </exclusion>
165             <exclusion>
166               <groupId>org.mortbay.jetty</groupId>
167               <artifactId>jetty</artifactId>
168             </exclusion>
169             <exclusion>
170               <groupId>com.sun.jersey</groupId>
171               <artifactId>jersey-server</artifactId>
172             </exclusion>
173             <exclusion>
174               <groupId>com.sun.jersey</groupId>
175               <artifactId>jersey-core</artifactId>
176             </exclusion>
177             <exclusion>
178               <groupId>com.sun.jersey</groupId>
179               <artifactId>jersey-json</artifactId>
180             </exclusion>
181             <exclusion>
182               <groupId>javax.servlet</groupId>
183               <artifactId>servlet-api</artifactId>
184             </exclusion>
185             <exclusion>
186               <groupId>tomcat</groupId>
187               <artifactId>jasper-compiler</artifactId>
188             </exclusion>
189             <exclusion>
190               <groupId>tomcat</groupId>
191               <artifactId>jasper-runtime</artifactId>
192             </exclusion>
193             <exclusion>
194               <groupId>com.google.code.findbugs</groupId>
195               <artifactId>jsr305</artifactId>
196             </exclusion>
197             <!--We let hadoop include guava here. It uses it
198                  in the Configuration class -->
199           </exclusions>
200         </dependency>
201         <dependency>
202           <!--Hadoop2 Uses Guava in Configuration class at least-->
203           <groupId>com.google.guava</groupId>
204           <artifactId>guava</artifactId>
205           <version>${hadoop.guava.version}</version>
206           <exclusions>
207             <exclusion>
208               <groupId>com.google.code.findbugs</groupId>
209               <artifactId>jsr305</artifactId>
210             </exclusion>
211           </exclusions>
212         </dependency>
213         <dependency>
214           <!--This module seems to need this.-->
215           <groupId>io.netty</groupId>
216           <artifactId>netty</artifactId>
217           <version>${netty.hadoop.version}</version>
218           <exclusions>
219             <exclusion>
220               <groupId>com.google.code.findbugs</groupId>
221               <artifactId>jsr305</artifactId>
222             </exclusion>
223           </exclusions>
224         </dependency>
225         <dependency>
226           <groupId>org.apache.hadoop</groupId>
227           <artifactId>hadoop-mapreduce-client-core</artifactId>
228           <version>${hadoop-two.version}</version>
229           <exclusions>
230             <exclusion>
231               <groupId>javax.servlet</groupId>
232               <artifactId>servlet-api</artifactId>
233             </exclusion>
234             <exclusion>
235               <groupId>javax.inject</groupId>
236               <artifactId>javax.inject</artifactId>
237             </exclusion>
238             <exclusion>
239               <groupId>com.google.guava</groupId>
240               <artifactId>guava</artifactId>
241             </exclusion>
242           </exclusions>
243         </dependency>
244         <dependency>
245           <groupId>org.apache.hadoop</groupId>
246           <artifactId>hadoop-distcp</artifactId>
247           <version>${hadoop-two.version}</version>
248         </dependency>
249       </dependencies>
250     </profile>
251     <!--
252       profile for building against Hadoop 3.0.x. Activate using:
253        mvn -Dhadoop.profile=3.0
254     -->
255     <profile>
256       <id>hadoop-3.0</id>
257       <activation>
258         <property>
259           <name>hadoop.profile</name>
260           <value>3.0</value>
261         </property>
262       </activation>
263       <dependencies>
264         <dependency>
265           <groupId>org.apache.hadoop</groupId>
266           <artifactId>hadoop-common</artifactId>
267         </dependency>
268         <dependency>
269           <groupId>org.apache.hadoop</groupId>
270           <artifactId>hadoop-mapreduce-client-core</artifactId>
271         </dependency>
272         <dependency>
273           <groupId>org.apache.hadoop</groupId>
274           <artifactId>hadoop-distcp</artifactId>
275           <version>${hadoop.version}</version>
276         </dependency>
277       </dependencies>
278     </profile>
279   </profiles>
280 </project>