HBASE-23323 Update downloads page for Apache HBase 1.4.12. (#886)
[hbase.git] / hbase-replication / pom.xml
bloba4518ef1276ac538e816c91f3b6427150171e874
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>3.0.0-SNAPSHOT</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>org.apache.maven.plugins</groupId>
50         <artifactId>maven-checkstyle-plugin</artifactId>
51         <configuration>
52           <failOnViolation>true</failOnViolation>
53         </configuration>
54       </plugin>
55       <plugin>
56         <groupId>net.revelc.code</groupId>
57         <artifactId>warbucks-maven-plugin</artifactId>
58       </plugin>
59     </plugins>
60   </build>
62   <dependencies>
63     <dependency>
64       <groupId>org.apache.hbase.thirdparty</groupId>
65       <artifactId>hbase-shaded-miscellaneous</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.apache.hbase.thirdparty</groupId>
69       <artifactId>hbase-shaded-protobuf</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.apache.hbase</groupId>
73       <artifactId>hbase-annotations</artifactId>
74       <type>test-jar</type>
75       <scope>test</scope>
76     </dependency>
77     <dependency>
78       <groupId>org.apache.hbase</groupId>
79       <artifactId>hbase-protocol-shaded</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.apache.hbase</groupId>
83       <artifactId>hbase-common</artifactId>
84     </dependency>
85     <!-- Intra-project dependencies -->
86     <dependency>
87       <groupId>org.apache.hbase</groupId>
88       <artifactId>hbase-client</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>org.apache.hbase</groupId>
92       <artifactId>hbase-zookeeper</artifactId>
93     </dependency>
94     <dependency>
95       <groupId>org.apache.hbase</groupId>
96       <artifactId>hbase-common</artifactId>
97       <type>test-jar</type>
98       <scope>test</scope>
99     </dependency>
100     <dependency>
101       <groupId>org.apache.hbase</groupId>
102       <artifactId>hbase-zookeeper</artifactId>
103       <type>test-jar</type>
104       <scope>test</scope>
105     </dependency>
106     <!-- General dependencies -->
107     <dependency>
108       <groupId>org.apache.commons</groupId>
109       <artifactId>commons-lang3</artifactId>
110     </dependency>
111     <dependency>
112       <groupId>org.slf4j</groupId>
113       <artifactId>slf4j-api</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>org.apache.zookeeper</groupId>
117       <artifactId>zookeeper</artifactId>
118     </dependency>
119     <dependency>
120       <groupId>junit</groupId>
121       <artifactId>junit</artifactId>
122       <scope>test</scope>
123     </dependency>
124   </dependencies>
126   <profiles>
127     <!-- profile against Hadoop 2.x: This is the default. -->
128     <profile>
129       <id>hadoop-2.0</id>
130       <activation>
131         <property>
132             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
133             <!--h2--><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           </exclusions>
182         </dependency>
183       </dependencies>
184     </profile>
186     <!--
187       profile for building against Hadoop 3.0.x. Activate using:
188        mvn -Dhadoop.profile=3.0
189     -->
190     <profile>
191       <id>hadoop-3.0</id>
192       <activation>
193         <property>
194           <name>hadoop.profile</name>
195           <value>3.0</value>
196         </property>
197       </activation>
198       <properties>
199         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
200       </properties>
201       <dependencies>
202         <dependency>
203           <groupId>org.apache.hadoop</groupId>
204           <artifactId>hadoop-common</artifactId>
205         </dependency>
206       </dependencies>
207     </profile>
208     <profile>
209       <id>eclipse-specific</id>
210       <activation>
211         <property>
212           <name>m2e.version</name>
213         </property>
214       </activation>
215       <build>
216         <pluginManagement>
217           <plugins>
218             <!--This plugin's configuration is used to store Eclipse m2e settings
219                  only. It has no influence on the Maven build itself.-->
220             <plugin>
221               <groupId>org.eclipse.m2e</groupId>
222               <artifactId>lifecycle-mapping</artifactId>
223               <configuration>
224                 <lifecycleMappingMetadata>
225                   <pluginExecutions>
226                   </pluginExecutions>
227                 </lifecycleMappingMetadata>
228               </configuration>
229             </plugin>
230           </plugins>
231         </pluginManagement>
232       </build>
233     </profile>
234   </profiles>
235 </project>