HBASE-21289 Remove the log "'hbase.regionserver.maxlogs' was deprecated." in Abstract...
[hbase.git] / hbase-external-blockcache / pom.xml
blob2479b46039f8ed00e75387705a54ac31709b16e0
1 <?xml version="1.0"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5   <!--
6 /**
7  * Licensed to the Apache Software Foundation (ASF) under one
8  * or more contributor license agreements.  See the NOTICE file
9  * distributed with this work for additional information
10  * regarding copyright ownership.  The ASF licenses this file
11  * to you under the Apache License, Version 2.0 (the
12  * "License"); you may not use this file except in compliance
13  * with the License.  You may obtain a copy of the License at
14  *
15  *     http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */
23 -->
24   <modelVersion>4.0.0</modelVersion>
25   <parent>
26     <artifactId>hbase-build-configuration</artifactId>
27     <groupId>org.apache.hbase</groupId>
28     <version>3.0.0-SNAPSHOT</version>
29     <relativePath>../hbase-build-configuration</relativePath>
30   </parent>
31   <artifactId>hbase-external-blockcache</artifactId>
32   <name>Apache HBase - External Block Cache</name>
33   <description>
34     HBase module that provides out of process block cache.
35     Currently Memcached is the reference implementation for external block cache.
37     External block caches allow HBase to take advantage of other more complex caches that can live
38     longer than the HBase regionserver process and are not necessarily tied to a single computer
39     life time. However external block caches add in extra operational overhead.
40   </description>
41 <!--REMOVE-->
43   <build>
44     <plugins>
45       <plugin>
46         <groupId>org.apache.maven.plugins</groupId>
47         <artifactId>maven-remote-resources-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       <plugin>
57         <groupId>org.codehaus.mojo</groupId>
58         <artifactId>build-helper-maven-plugin</artifactId>
59         <executions>
60           <!-- Add the generated sources -->
61           <execution>
62             <id>versionInfo-source</id>
63             <phase>generate-sources</phase>
64             <goals>
65               <goal>add-source</goal>
66             </goals>
67             <configuration>
68               <sources>
69                 <source>${project.build.directory}/generated-sources/java</source>
70               </sources>
71             </configuration>
72           </execution>
73         </executions>
74       </plugin>
75       <!-- Make a jar and put the sources in the jar -->
76       <plugin>
77         <groupId>org.apache.maven.plugins</groupId>
78         <artifactId>maven-source-plugin</artifactId>
79       </plugin>
80       <plugin>
81         <groupId>org.apache.maven.plugins</groupId>
82         <artifactId>maven-checkstyle-plugin</artifactId>
83         <configuration>
84           <failOnViolation>true</failOnViolation>
85         </configuration>
86       </plugin>
87       <plugin>
88         <groupId>net.revelc.code</groupId>
89         <artifactId>warbucks-maven-plugin</artifactId>
90       </plugin>
91     </plugins>
92     <pluginManagement>
93       <plugins>
94         <!--This plugin's configuration is used to store Eclipse m2e settings
95              only. It has no influence on the Maven build itself. -->
96         <plugin>
97           <groupId>org.eclipse.m2e</groupId>
98           <artifactId>lifecycle-mapping</artifactId>
99           <configuration>
100             <lifecycleMappingMetadata>
101               <pluginExecutions>
102                 <pluginExecution>
103                   <pluginExecutionFilter>
104                     <groupId>org.apache.maven.plugins</groupId>
105                     <artifactId>maven-antrun-plugin</artifactId>
106                     <versionRange>[${maven.antrun.version}]</versionRange>
107                     <goals>
108                       <goal>run</goal>
109                     </goals>
110                   </pluginExecutionFilter>
111                   <action>
112                     <execute/>
113                   </action>
114                 </pluginExecution>
115                 <pluginExecution>
116                   <pluginExecutionFilter>
117                     <groupId>org.apache.maven.plugins</groupId>
118                     <artifactId>maven-dependency-plugin</artifactId>
119                     <versionRange>[2.8,)</versionRange>
120                     <goals>
121                       <goal>build-classpath</goal>
122                     </goals>
123                   </pluginExecutionFilter>
124                   <action>
125                     <ignore></ignore>
126                   </action>
127                 </pluginExecution>
128               </pluginExecutions>
129             </lifecycleMappingMetadata>
130           </configuration>
131         </plugin>
132       </plugins>
133     </pluginManagement>
134   </build>
136   <dependencies>
137     <dependency>
138       <groupId>org.apache.hbase</groupId>
139       <artifactId>hbase-common</artifactId>
140     </dependency>
141     <dependency>
142       <groupId>org.apache.hbase</groupId>
143       <artifactId>hbase-server</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>net.spy</groupId>
147       <artifactId>spymemcached</artifactId>
148       <optional>true</optional>
149     </dependency>
150     <dependency>
151       <groupId>org.slf4j</groupId>
152       <artifactId>slf4j-api</artifactId>
153     </dependency>
154     <dependency>
155       <groupId>org.apache.htrace</groupId>
156       <artifactId>htrace-core4</artifactId>
157     </dependency>
158     <dependency>
159       <groupId>junit</groupId>
160       <artifactId>junit</artifactId>
161       <scope>test</scope>
162     </dependency>
163   </dependencies>
165   <profiles>
166     <!-- Needs to make the profile in apache parent pom -->
167     <profile>
168       <id>apache-release</id>
169       <build>
170         <plugins>
171           <plugin>
172             <groupId>org.apache.maven.plugins</groupId>
173             <artifactId>maven-resources-plugin</artifactId>
174             <executions>
175               <execution>
176                 <id>license-javadocs</id>
177                 <phase>prepare-package</phase>
178                 <goals>
179                   <goal>copy-resources</goal>
180                 </goals>
181                 <configuration>
182                   <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
183                   <resources>
184                     <resource>
185                       <directory>src/main/javadoc/META-INF/</directory>
186                       <targetPath>META-INF/</targetPath>
187                       <includes>
188                         <include>NOTICE</include>
189                       </includes>
190                       <filtering>true</filtering>
191                     </resource>
192                   </resources>
193                 </configuration>
194               </execution>
195             </executions>
196           </plugin>
197         </plugins>
198       </build>
199     </profile>
200     <!-- Skip the tests in this module -->
201     <profile>
202       <id>skipCommonTests</id>
203       <activation>
204         <property>
205           <name>skipCommonTests</name>
206         </property>
207       </activation>
208       <properties>
209         <surefire.skipFirstPart>true</surefire.skipFirstPart>
210       </properties>
211     </profile>
213     <!-- profile for building against Hadoop 2.x:  This is the default -->
214     <profile>
215       <id>hadoop-2.0</id>
216       <activation>
217         <property>
218           <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
219           <!--h2--><name>!hadoop.profile</name>
220         </property>
221       </activation>
222       <dependencies>
223         <dependency>
224           <groupId>org.apache.hadoop</groupId>
225           <artifactId>hadoop-common</artifactId>
226           <exclusions>
227             <exclusion>
228               <groupId>com.google.guava</groupId>
229               <artifactId>guava</artifactId>
230             </exclusion>
231           </exclusions>
232         </dependency>
233       </dependencies>
234       <build>
235         <plugins>
236           <plugin>
237             <artifactId>maven-dependency-plugin</artifactId>
238             <executions>
239               <execution>
240                 <id>create-mrapp-generated-classpath</id>
241                 <phase>generate-test-resources</phase>
242                 <goals>
243                   <goal>build-classpath</goal>
244                 </goals>
245                 <configuration>
246                   <!-- needed to run the unit test for DS to generate
247                   the required classpath that is required in the env
248                   of the launch container in the mini mr/yarn cluster
249                   -->
250                   <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
251                 </configuration>
252               </execution>
253             </executions>
254           </plugin>
255         </plugins>
256       </build>
257     </profile>
259     <!--
260       profile for building against Hadoop 3.0.x. Activate using:
261        mvn -Dhadoop.profile=3.0
262     -->
263     <profile>
264       <id>hadoop-3.0</id>
265       <activation>
266         <property>
267           <name>hadoop.profile</name>
268           <value>3.0</value>
269         </property>
270       </activation>
271       <dependencies>
272         <dependency>
273           <groupId>org.apache.hadoop</groupId>
274           <artifactId>hadoop-common</artifactId>
275         </dependency>
276       </dependencies>
277       <build>
278         <plugins>
279           <plugin>
280             <artifactId>maven-dependency-plugin</artifactId>
281             <executions>
282               <execution>
283                 <id>create-mrapp-generated-classpath</id>
284                 <phase>generate-test-resources</phase>
285                 <goals>
286                   <goal>build-classpath</goal>
287                 </goals>
288                 <configuration>
289                   <!-- needed to run the unit test for DS to generate
290                   the required classpath that is required in the env
291                   of the launch container in the mini mr/yarn cluster
292                   -->
293                   <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
294                 </configuration>
295               </execution>
296             </executions>
297           </plugin>
298         </plugins>
299       </build>
300     </profile>
301   </profiles>
302 </project>