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