HBASE-25424 Find a way to config OpenTelemetry tracing without direct… (#2808)
[hbase.git] / hbase-external-blockcache / pom.xml
blob6c12c863f58fefa86ee93fe0c1dde120f7d77d25
1 <?xml version="1.0"?>
2 <project xmlns="https://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://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   </build>
94   <dependencies>
95     <dependency>
96       <groupId>org.apache.hbase</groupId>
97       <artifactId>hbase-common</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.apache.hbase</groupId>
101       <artifactId>hbase-server</artifactId>
102     </dependency>
103     <dependency>
104       <groupId>net.spy</groupId>
105       <artifactId>spymemcached</artifactId>
106       <optional>true</optional>
107     </dependency>
108     <dependency>
109       <groupId>org.slf4j</groupId>
110       <artifactId>slf4j-api</artifactId>
111     </dependency>
112     <dependency>
113       <groupId>junit</groupId>
114       <artifactId>junit</artifactId>
115       <scope>test</scope>
116     </dependency>
117   </dependencies>
119   <profiles>
120     <!-- Needs to make the profile in apache parent pom -->
121     <profile>
122       <id>apache-release</id>
123       <build>
124         <plugins>
125           <plugin>
126             <groupId>org.apache.maven.plugins</groupId>
127             <artifactId>maven-resources-plugin</artifactId>
128             <executions>
129               <execution>
130                 <id>license-javadocs</id>
131                 <phase>prepare-package</phase>
132                 <goals>
133                   <goal>copy-resources</goal>
134                 </goals>
135                 <configuration>
136                   <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
137                   <resources>
138                     <resource>
139                       <directory>src/main/javadoc/META-INF/</directory>
140                       <targetPath>META-INF/</targetPath>
141                       <includes>
142                         <include>NOTICE</include>
143                       </includes>
144                       <filtering>true</filtering>
145                     </resource>
146                   </resources>
147                 </configuration>
148               </execution>
149             </executions>
150           </plugin>
151         </plugins>
152       </build>
153     </profile>
154     <!-- Skip the tests in this module -->
155     <profile>
156       <id>skipCommonTests</id>
157       <activation>
158         <property>
159           <name>skipCommonTests</name>
160         </property>
161       </activation>
162       <properties>
163         <surefire.skipFirstPart>true</surefire.skipFirstPart>
164       </properties>
165     </profile>
166     <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
167     <profile>
168       <id>hadoop-3.0</id>
169       <activation>
170         <property><name>!hadoop.profile</name></property>
171       </activation>
172       <dependencies>
173         <dependency>
174           <groupId>org.apache.hadoop</groupId>
175           <artifactId>hadoop-common</artifactId>
176         </dependency>
177       </dependencies>
178       <build>
179         <plugins>
180           <plugin>
181             <artifactId>maven-dependency-plugin</artifactId>
182             <executions>
183               <execution>
184                 <id>create-mrapp-generated-classpath</id>
185                 <phase>generate-test-resources</phase>
186                 <goals>
187                   <goal>build-classpath</goal>
188                 </goals>
189                 <configuration>
190                   <!-- needed to run the unit test for DS to generate
191                   the required classpath that is required in the env
192                   of the launch container in the mini mr/yarn cluster
193                   -->
194                   <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
195                 </configuration>
196               </execution>
197             </executions>
198           </plugin>
199         </plugins>
200       </build>
201     </profile>
202     <profile>
203       <id>eclipse-specific</id>
204       <activation>
205         <property>
206           <name>m2e.version</name>
207         </property>
208       </activation>
209       <build>
210         <pluginManagement>
211           <plugins>
212             <!--This plugin's configuration is used to store Eclipse m2e settings
213                  only. It has no influence on the Maven build itself. -->
214             <plugin>
215               <groupId>org.eclipse.m2e</groupId>
216               <artifactId>lifecycle-mapping</artifactId>
217               <configuration>
218                 <lifecycleMappingMetadata>
219                   <pluginExecutions>
220                     <pluginExecution>
221                       <pluginExecutionFilter>
222                         <groupId>org.apache.maven.plugins</groupId>
223                         <artifactId>maven-antrun-plugin</artifactId>
224                         <versionRange>[${maven.antrun.version}]</versionRange>
225                         <goals>
226                           <goal>run</goal>
227                         </goals>
228                       </pluginExecutionFilter>
229                       <action>
230                         <execute/>
231                       </action>
232                     </pluginExecution>
233                     <pluginExecution>
234                       <pluginExecutionFilter>
235                         <groupId>org.apache.maven.plugins</groupId>
236                         <artifactId>maven-dependency-plugin</artifactId>
237                         <versionRange>[2.8,)</versionRange>
238                         <goals>
239                           <goal>build-classpath</goal>
240                         </goals>
241                       </pluginExecutionFilter>
242                       <action>
243                         <ignore></ignore>
244                       </action>
245                     </pluginExecution>
246                   </pluginExecutions>
247                 </lifecycleMappingMetadata>
248               </configuration>
249             </plugin>
250           </plugins>
251         </pluginManagement>
252       </build>
253     </profile>
254   </profiles>
255 </project>