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