Preparing hbase release 2.4.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
[hbase.git] / hbase-replication / pom.xml
blob533d68459b08dc38d43b336ccca311757813319c
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"
3          xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4   <!--
5   /**
6    * Licensed to the Apache Software Foundation (ASF) under one
7    * or more contributor license agreements.  See the NOTICE file
8    * distributed with this work for additional information
9    * regarding copyright ownership.  The ASF licenses this file
10    * to you under the Apache License, Version 2.0 (the
11    * "License"); you may not use this file except in compliance
12    * with the License.  You may obtain a copy of the License at
13    *
14    *     http://www.apache.org/licenses/LICENSE-2.0
15    *
16    * Unless required by applicable law or agreed to in writing, software
17    * distributed under the License is distributed on an "AS IS" BASIS,
18    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19    * See the License for the specific language governing permissions and
20    * limitations under the License.
21    */
22   -->
23   <modelVersion>4.0.0</modelVersion>
24   <parent>
25     <artifactId>hbase-build-configuration</artifactId>
26     <groupId>org.apache.hbase</groupId>
27     <version>2.4.0</version>
28     <relativePath>../hbase-build-configuration</relativePath>
29   </parent>
30   <artifactId>hbase-replication</artifactId>
31   <name>Apache HBase - Replication</name>
32   <description>HBase Replication Support</description>
34   <build>
35     <plugins>
36       <plugin>
37         <!--Make it so assembly:single does nothing in here-->
38         <artifactId>maven-assembly-plugin</artifactId>
39         <configuration>
40           <skipAssembly>true</skipAssembly>
41         </configuration>
42       </plugin>
43       <!-- Make a jar and put the sources in the jar -->
44       <plugin>
45         <groupId>org.apache.maven.plugins</groupId>
46         <artifactId>maven-source-plugin</artifactId>
47       </plugin>
48       <plugin>
49         <groupId>net.revelc.code</groupId>
50         <artifactId>warbucks-maven-plugin</artifactId>
51       </plugin>
52     </plugins>
53   </build>
55   <dependencies>
56     <dependency>
57       <groupId>org.apache.hbase.thirdparty</groupId>
58       <artifactId>hbase-shaded-miscellaneous</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>org.apache.hbase.thirdparty</groupId>
62       <artifactId>hbase-shaded-protobuf</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>org.apache.hbase</groupId>
66       <artifactId>hbase-annotations</artifactId>
67       <type>test-jar</type>
68       <scope>test</scope>
69     </dependency>
70     <dependency>
71       <groupId>org.apache.hbase</groupId>
72       <artifactId>hbase-logging</artifactId>
73       <type>test-jar</type>
74       <scope>test</scope>
75     </dependency>
76     <dependency>
77       <groupId>org.apache.hbase</groupId>
78       <artifactId>hbase-protocol-shaded</artifactId>
79     </dependency>
80     <dependency>
81       <groupId>org.apache.hbase</groupId>
82       <artifactId>hbase-common</artifactId>
83     </dependency>
84     <!-- Intra-project dependencies -->
85     <dependency>
86       <groupId>org.apache.hbase</groupId>
87       <artifactId>hbase-client</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.apache.hbase</groupId>
91       <artifactId>hbase-zookeeper</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.apache.hbase</groupId>
95       <artifactId>hbase-common</artifactId>
96       <type>test-jar</type>
97       <scope>test</scope>
98     </dependency>
99     <dependency>
100       <groupId>org.apache.hbase</groupId>
101       <artifactId>hbase-zookeeper</artifactId>
102       <type>test-jar</type>
103       <scope>test</scope>
104     </dependency>
105     <!-- General dependencies -->
106     <dependency>
107       <groupId>org.apache.commons</groupId>
108       <artifactId>commons-lang3</artifactId>
109     </dependency>
110     <dependency>
111       <groupId>org.slf4j</groupId>
112       <artifactId>slf4j-api</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.apache.zookeeper</groupId>
116       <artifactId>zookeeper</artifactId>
117     </dependency>
118     <dependency>
119       <groupId>junit</groupId>
120       <artifactId>junit</artifactId>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.slf4j</groupId>
125       <artifactId>jcl-over-slf4j</artifactId>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.slf4j</groupId>
130       <artifactId>jul-to-slf4j</artifactId>
131       <scope>test</scope>
132     </dependency>
133     <dependency>
134       <groupId>org.slf4j</groupId>
135       <artifactId>slf4j-log4j12</artifactId>
136       <scope>test</scope>
137     </dependency>
138     <dependency>
139       <groupId>log4j</groupId>
140       <artifactId>log4j</artifactId>
141       <scope>test</scope>
142     </dependency>
143   </dependencies>
145   <profiles>
146     <!-- profile against Hadoop 2.x: This is the default. -->
147     <profile>
148       <id>hadoop-2.0</id>
149       <activation>
150         <property>
151             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
152             <!--h2--><name>!hadoop.profile</name>
153         </property>
154       </activation>
155       <dependencies>
156         <dependency>
157           <groupId>org.apache.hadoop</groupId>
158           <artifactId>hadoop-common</artifactId>
159           <exclusions>
160             <exclusion>
161               <groupId>net.java.dev.jets3t</groupId>
162               <artifactId>jets3t</artifactId>
163             </exclusion>
164             <exclusion>
165               <groupId>javax.servlet.jsp</groupId>
166               <artifactId>jsp-api</artifactId>
167             </exclusion>
168             <exclusion>
169               <groupId>org.mortbay.jetty</groupId>
170               <artifactId>jetty</artifactId>
171             </exclusion>
172             <exclusion>
173               <groupId>com.sun.jersey</groupId>
174               <artifactId>jersey-server</artifactId>
175             </exclusion>
176             <exclusion>
177               <groupId>com.sun.jersey</groupId>
178               <artifactId>jersey-core</artifactId>
179             </exclusion>
180             <exclusion>
181               <groupId>com.sun.jersey</groupId>
182               <artifactId>jersey-json</artifactId>
183             </exclusion>
184             <exclusion>
185               <groupId>javax.servlet</groupId>
186               <artifactId>servlet-api</artifactId>
187             </exclusion>
188             <exclusion>
189               <groupId>tomcat</groupId>
190               <artifactId>jasper-compiler</artifactId>
191             </exclusion>
192             <exclusion>
193               <groupId>tomcat</groupId>
194               <artifactId>jasper-runtime</artifactId>
195             </exclusion>
196             <exclusion>
197               <groupId>com.google.code.findbugs</groupId>
198               <artifactId>jsr305</artifactId>
199             </exclusion>
200           </exclusions>
201         </dependency>
202       </dependencies>
203     </profile>
205     <!--
206       profile for building against Hadoop 3.0.x. Activate using:
207        mvn -Dhadoop.profile=3.0
208     -->
209     <profile>
210       <id>hadoop-3.0</id>
211       <activation>
212         <property>
213           <name>hadoop.profile</name>
214           <value>3.0</value>
215         </property>
216       </activation>
217       <properties>
218         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
219       </properties>
220       <dependencies>
221         <dependency>
222           <groupId>org.apache.hadoop</groupId>
223           <artifactId>hadoop-common</artifactId>
224         </dependency>
225       </dependencies>
226     </profile>
227     <profile>
228       <id>eclipse-specific</id>
229       <activation>
230         <property>
231           <name>m2e.version</name>
232         </property>
233       </activation>
234       <build>
235         <pluginManagement>
236           <plugins>
237             <!--This plugin's configuration is used to store Eclipse m2e settings
238                  only. It has no influence on the Maven build itself.-->
239             <plugin>
240               <groupId>org.eclipse.m2e</groupId>
241               <artifactId>lifecycle-mapping</artifactId>
242               <configuration>
243                 <lifecycleMappingMetadata>
244                   <pluginExecutions>
245                   </pluginExecutions>
246                 </lifecycleMappingMetadata>
247               </configuration>
248             </plugin>
249           </plugins>
250         </pluginManagement>
251       </build>
252     </profile>
253   </profiles>
254 </project>