Preparing hbase release 2.4.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
[hbase.git] / hbase-procedure / pom.xml
blob465e666c21118b569c6571b379ffa50b93c53ba8
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" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://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>2.4.0</version>
27     <relativePath>../hbase-build-configuration</relativePath>
28   </parent>
30   <artifactId>hbase-procedure</artifactId>
31   <name>Apache HBase - Procedure</name>
32   <description>Procedure Framework</description>
33 <!--REMOVE-->
35   <build>
36     <plugins>
37       <!-- Make a jar and put the sources in the jar -->
38       <plugin>
39         <groupId>org.apache.maven.plugins</groupId>
40         <artifactId>maven-source-plugin</artifactId>
41       </plugin>
42       <plugin>
43         <!--Make it so assembly:single does nothing in here-->
44         <artifactId>maven-assembly-plugin</artifactId>
45         <configuration>
46           <skipAssembly>true</skipAssembly>
47         </configuration>
48       </plugin>
49       <plugin>
50         <groupId>net.revelc.code</groupId>
51         <artifactId>warbucks-maven-plugin</artifactId>
52       </plugin>
53       <plugin>
54         <groupId>org.apache.maven.plugins</groupId>
55         <artifactId>maven-checkstyle-plugin</artifactId>
56         <configuration>
57           <failOnViolation>true</failOnViolation>
58         </configuration>
59       </plugin>
60     </plugins>
61   </build>
63   <dependencies>
64     <dependency>
65       <groupId>org.apache.hbase</groupId>
66       <artifactId>hbase-common</artifactId>
67       <type>test-jar</type>
68       <scope>test</scope>
69     </dependency>
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-logging</artifactId>
79       <type>test-jar</type>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>org.apache.hbase.thirdparty</groupId>
84       <artifactId>hbase-shaded-protobuf</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.apache.hbase</groupId>
88       <artifactId>hbase-protocol-shaded</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>org.apache.hbase</groupId>
92       <artifactId>hbase-common</artifactId>
93     </dependency>
94     <dependency>
95       <groupId>org.apache.hbase.thirdparty</groupId>
96       <artifactId>hbase-shaded-miscellaneous</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>org.slf4j</groupId>
100       <artifactId>slf4j-api</artifactId>
101     </dependency>
102     <dependency>
103       <groupId>com.github.stephenc.findbugs</groupId>
104       <artifactId>findbugs-annotations</artifactId>
105       <scope>compile</scope>
106       <optional>true</optional>
107     </dependency>
108     <dependency>
109       <groupId>junit</groupId>
110       <artifactId>junit</artifactId>
111       <scope>test</scope>
112     </dependency>
113     <dependency>
114       <groupId>org.apache.hbase</groupId>
115       <artifactId>hbase-metrics-api</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.mockito</groupId>
119       <artifactId>mockito-core</artifactId>
120       <scope>test</scope>
121     </dependency>
122     <dependency>
123       <groupId>org.slf4j</groupId>
124       <artifactId>jcl-over-slf4j</artifactId>
125       <scope>test</scope>
126     </dependency>
127     <dependency>
128       <groupId>org.slf4j</groupId>
129       <artifactId>jul-to-slf4j</artifactId>
130       <scope>test</scope>
131     </dependency>
132     <dependency>
133       <groupId>org.slf4j</groupId>
134       <artifactId>slf4j-log4j12</artifactId>
135       <scope>test</scope>
136     </dependency>
137     <dependency>
138       <groupId>log4j</groupId>
139       <artifactId>log4j</artifactId>
140       <scope>test</scope>
141     </dependency>
142   </dependencies>
144   <profiles>
145    <!-- Skip the tests in this module -->
146    <profile>
147       <id>skipProcedureTests</id>
148       <activation>
149         <property>
150           <name>skipProcedureTests</name>
151         </property>
152       </activation>
153       <properties>
154         <surefire.skipFirstPart>true</surefire.skipFirstPart>
155         <surefire.skipSecondPart>true</surefire.skipSecondPart>
156       </properties>
157     </profile>
158     <!-- Profiles for building against different hadoop versions -->
160     <!-- profile for building against Hadoop 2.x.  This is the default -->
161     <profile>
162       <id>hadoop-2.0</id>
163       <activation>
164         <property>
165             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
166             <!--h2--><name>!hadoop.profile</name>
167         </property>
168       </activation>
169       <dependencies>
170         <dependency>
171           <groupId>org.apache.hadoop</groupId>
172           <artifactId>hadoop-common</artifactId>
173         </dependency>
174       </dependencies>
175     </profile>
176     <!--
177       profile for building against Hadoop 3.0.x. Activate using:
178        mvn -Dhadoop.profile=3.0
179     -->
180     <profile>
181       <id>hadoop-3.0</id>
182       <activation>
183         <property>
184           <name>hadoop.profile</name>
185           <value>3.0</value>
186         </property>
187       </activation>
188       <dependencies>
189         <dependency>
190           <groupId>org.apache.hadoop</groupId>
191           <artifactId>hadoop-common</artifactId>
192         </dependency>
193       </dependencies>
194     </profile>
195   </profiles>
196 </project>