HBASE-19249 test for "hbase antipatterns" should check _count_ of occurance rather...
[hbase.git] / hbase-procedure / pom.xml
blobbb9ce844236c7e1c01cbbffaee92b15b7d8e799d
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>
30   <artifactId>hbase-procedure</artifactId>
31   <name>Apache HBase - Procedure</name>
32   <description>Procedure Framework</description>
33 <!--REMOVE-->
35   <build>
36     <plugins>
37       <plugin>
38         <groupId>org.apache.maven.plugins</groupId>
39         <artifactId>maven-site-plugin</artifactId>
40         <configuration>
41           <skip>true</skip>
42         </configuration>
43       </plugin>
44       <!-- Make a jar and put the sources in the jar -->
45       <plugin>
46         <groupId>org.apache.maven.plugins</groupId>
47         <artifactId>maven-source-plugin</artifactId>
48       </plugin>
49       <plugin>
50         <!--Make it so assembly:single does nothing in here-->
51         <artifactId>maven-assembly-plugin</artifactId>
52         <configuration>
53           <skipAssembly>true</skipAssembly>
54         </configuration>
55       </plugin>
56     </plugins>
57   </build>
59   <dependencies>
60     <dependency>
61       <groupId>org.apache.hbase</groupId>
62       <artifactId>hbase-common</artifactId>
63       <version>${project.version}</version>
64       <classifier>tests</classifier>
65     </dependency>
66     <dependency>
67       <groupId>org.apache.hbase</groupId>
68       <artifactId>hbase-annotations</artifactId>
69       <type>test-jar</type>
70       <scope>test</scope>
71     </dependency>
72     <dependency>
73       <groupId>org.apache.hbase.thirdparty</groupId>
74       <artifactId>hbase-shaded-protobuf</artifactId>
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     <dependency>
85       <groupId>org.apache.hbase.thirdparty</groupId>
86       <artifactId>hbase-shaded-miscellaneous</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>commons-logging</groupId>
90       <artifactId>commons-logging</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>commons-cli</groupId>
94       <artifactId>commons-cli</artifactId>
95     </dependency>
96     <dependency>
97       <groupId>com.github.stephenc.findbugs</groupId>
98       <artifactId>findbugs-annotations</artifactId>
99       <scope>compile</scope>
100     </dependency>
101     <dependency>
102       <groupId>junit</groupId>
103       <artifactId>junit</artifactId>
104       <scope>test</scope>
105     </dependency>
106     <dependency>
107       <groupId>org.apache.hbase</groupId>
108       <artifactId>hbase-metrics-api</artifactId>
109     </dependency>
110     <dependency>
111       <groupId>org.apache.commons</groupId>
112       <artifactId>commons-collections4</artifactId>
113     </dependency>
114   </dependencies>
116   <profiles>
117    <!-- Skip the tests in this module -->
118    <profile>
119       <id>skipProcedureTests</id>
120       <activation>
121         <property>
122           <name>skipProcedureTests</name>
123         </property>
124       </activation>
125       <properties>
126         <surefire.skipFirstPart>true</surefire.skipFirstPart>
127         <surefire.skipSecondPart>true</surefire.skipSecondPart>
128       </properties>
129     </profile>
130     <!-- Profiles for building against different hadoop versions -->
132     <!-- profile for building against Hadoop 2.x.  This is the default -->
133     <profile>
134       <id>hadoop-2.0</id>
135       <activation>
136         <property>
137             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
138             <!--h2--><name>!hadoop.profile</name>
139         </property>
140       </activation>
141       <dependencies>
142         <dependency>
143           <groupId>org.apache.hadoop</groupId>
144           <artifactId>hadoop-common</artifactId>
145         </dependency>
146       </dependencies>
147     </profile>
148     <!--
149       profile for building against Hadoop 3.0.x. Activate using:
150        mvn -Dhadoop.profile=3.0
151     -->
152     <profile>
153       <id>hadoop-3.0</id>
154       <activation>
155         <property>
156           <name>hadoop.profile</name>
157           <value>3.0</value>
158         </property>
159       </activation>
160       <properties>
161         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
162       </properties>
163       <dependencies>
164         <dependency>
165           <groupId>org.apache.hadoop</groupId>
166           <artifactId>hadoop-common</artifactId>
167           <exclusions>
168             <exclusion>
169               <groupId>org.apache.htrace</groupId>
170               <artifactId>htrace-core</artifactId>
171             </exclusion>
172           </exclusions>
173         </dependency>
174       </dependencies>
175     </profile>
176   </profiles>
177 </project>