HBASE-16241 Allow specification of annotations to use when running check_compatibility.sh
[hbase.git] / hbase-prefix-tree / pom.xml
blob03b40004285dd29c8a290ac518d5fcfdb269ff06
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</artifactId>
25     <groupId>org.apache.hbase</groupId>
26     <version>2.0.0-SNAPSHOT</version>
27     <relativePath>..</relativePath>
28   </parent>
30   <artifactId>hbase-prefix-tree</artifactId>
31   <name>Apache HBase - Prefix Tree</name>
32   <description>Prefix Tree Data Block Encoder</description>
34   <build>
35     <plugins>
36       <plugin>
37         <groupId>org.apache.maven.plugins</groupId>
38         <artifactId>maven-site-plugin</artifactId>
39         <configuration>
40           <skip>true</skip>
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         <!--Make it so assembly:single does nothing in here-->
50         <artifactId>maven-assembly-plugin</artifactId>
51         <version>${maven.assembly.version}</version>
52         <configuration>
53           <skipAssembly>true</skipAssembly>
54         </configuration>
55       </plugin>
56       <plugin>
57         <artifactId>maven-surefire-plugin</artifactId>
58         <!-- Always skip the second part executions, since we only run
59         simple unit tests in this module. -->
60         <executions>
61           <execution>
62             <id>secondPartTestsExecution</id>
63             <phase>test</phase>
64             <goals>
65               <goal>test</goal>
66             </goals>
67             <configuration>
68               <skip>true</skip>
69             </configuration>
70           </execution>
71         </executions>
72       </plugin>
73     </plugins>
74     <pluginManagement>
75       <plugins>
76         <!--This plugin's configuration is used to store Eclipse m2e settings
77              only. It has no influence on the Maven build itself.-->
78         <plugin>
79           <groupId>org.eclipse.m2e</groupId>
80           <artifactId>lifecycle-mapping</artifactId>
81           <version>1.0.0</version>
82           <configuration>
83             <lifecycleMappingMetadata>
84               <pluginExecutions>
85                 <pluginExecution>
86                   <pluginExecutionFilter>
87                     <groupId>org.apache.maven.plugins</groupId>
88                     <artifactId>maven-compiler-plugin</artifactId>
89                     <versionRange>[3.2,)</versionRange>
90                     <goals>
91                       <goal>compile</goal>
92                     </goals>
93                   </pluginExecutionFilter>
94                   <action>
95                     <ignore></ignore>
96                   </action>
97                 </pluginExecution>
98               </pluginExecutions>
99             </lifecycleMappingMetadata>
100           </configuration>
101         </plugin>
102       </plugins>
103     </pluginManagement>
104   </build>
106   <dependencies>
107     <dependency>
108       <groupId>org.apache.hbase</groupId>
109       <artifactId>hbase-common</artifactId>
110       <version>${project.version}</version>
111       <classifier>tests</classifier>
112     </dependency>
113    <dependency>
114      <groupId>org.apache.hbase</groupId>
115      <artifactId>hbase-annotations</artifactId>
116       <type>test-jar</type>
117       <scope>test</scope>
118     </dependency>
119     <dependency>
120       <groupId>org.apache.hbase</groupId>
121       <artifactId>hbase-common</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>org.apache.hbase</groupId>
125       <artifactId>hbase-hadoop-compat</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>org.apache.hbase</groupId>
129       <artifactId>${compat.module}</artifactId>
130       <version>${project.version}</version>
131     </dependency>
132     <dependency>
133       <groupId>com.google.guava</groupId>
134       <artifactId>guava</artifactId>
135     </dependency>
136     <dependency>
137       <groupId>commons-logging</groupId>
138       <artifactId>commons-logging</artifactId>
139     </dependency>
140     <dependency>
141       <groupId>io.netty</groupId>
142       <artifactId>netty-all</artifactId>
143     </dependency>
144   </dependencies>
146   <profiles>
147     <!-- Profiles for building against different hadoop versions -->
148     <profile>
149       <id>hadoop-1.1</id>
150       <activation>
151         <property>
152             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
153             <!--h1--><name>hadoop.profile</name><value>1.1</value>
154         </property>
155       </activation>
156       <dependencies>
157         <dependency>
158           <groupId>org.apache.hadoop</groupId>
159           <artifactId>hadoop-core</artifactId>
160         </dependency>
161       </dependencies>
162     </profile>
163     <profile>
164       <id>hadoop-1.0</id>
165       <activation>
166         <property>
167           <name>hadoop.profile</name>
168           <value>1.0</value>
169         </property>
170       </activation>
171       <dependencies>
172         <dependency>
173           <groupId>org.apache.hadoop</groupId>
174           <artifactId>hadoop-core</artifactId>
175         </dependency>
176       </dependencies>
177     </profile>
178     <!--
179       profile for building against Hadoop 2.0.0-alpha. Activate using:
180        mvn -Dhadoop.profile=2.0
181     -->
182     <profile>
183       <id>hadoop-2.0</id>
184       <activation>
185         <property>
186             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
187             <!--h2--><name>!hadoop.profile</name>
188         </property>
189       </activation>
190       <dependencies>
191         <dependency>
192           <groupId>org.apache.hadoop</groupId>
193           <artifactId>hadoop-common</artifactId>
194         </dependency>
195       </dependencies>
196     </profile>
197     <!--
198       profile for building against Hadoop 3.0.x. Activate using:
199        mvn -Dhadoop.profile=3.0
200     -->
201     <profile>
202       <id>hadoop-3.0</id>
203       <activation>
204         <property>
205           <name>hadoop.profile</name>
206           <value>3.0</value>
207         </property>
208       </activation>
209       <properties>
210         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
211       </properties>
212       <dependencies>
213         <dependency>
214           <groupId>org.apache.hadoop</groupId>
215           <artifactId>hadoop-common</artifactId>
216         </dependency>
217       </dependencies>
218     </profile>
219   </profiles>
220 </project>