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">
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
22 <modelVersion>4.0.0</modelVersion>
24 <artifactId>hbase</artifactId>
25 <groupId>org.apache.hbase</groupId>
26 <version>2.0.0-SNAPSHOT</version>
27 <relativePath>..</relativePath>
30 <artifactId>hbase-protocol</artifactId>
31 <name>Apache HBase - Protocol</name>
32 <description>Protobuf protocol classes used by HBase to communicate.</description>
37 <groupId>org.apache.maven.plugins</groupId>
38 <artifactId>maven-site-plugin</artifactId>
43 <!-- Make a jar and put the sources in the jar -->
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-source-plugin</artifactId>
49 <!--Make it so assembly:single does nothing in here-->
50 <artifactId>maven-assembly-plugin</artifactId>
51 <version>${maven.assembly.version}</version>
53 <skipAssembly>true</skipAssembly>
57 <artifactId>maven-surefire-plugin</artifactId>
58 <!-- Always skip the second part executions, since we only run simple unit tests in this module -->
61 <id>secondPartTestsExecution</id>
75 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
77 <groupId>org.eclipse.m2e</groupId>
78 <artifactId>lifecycle-mapping</artifactId>
79 <version>1.0.0</version>
81 <lifecycleMappingMetadata>
84 <pluginExecutionFilter>
85 <groupId>org.apache.hadoop</groupId>
86 <artifactId>hadoop-maven-plugins</artifactId>
87 <versionRange>[2.0.5-alpha,)</versionRange>
91 </pluginExecutionFilter>
97 </lifecycleMappingMetadata>
105 <!-- Intra-project dependencies -->
107 <groupId>org.apache.hbase</groupId>
108 <artifactId>hbase-annotations</artifactId>
111 <groupId>jdk.tools</groupId>
112 <artifactId>jdk.tools</artifactId>
116 <!-- General dependencies -->
118 <groupId>com.google.protobuf</groupId>
119 <artifactId>protobuf-java</artifactId>
122 <groupId>commons-logging</groupId>
123 <artifactId>commons-logging</artifactId>
128 <!-- Skip the tests in this module -->
130 <id>skip-rpc-tests</id>
133 <name>skip-rpc-tests</name>
137 <surefire.skipFirstPart>true</surefire.skipFirstPart>
141 <id>compile-protobuf</id>
144 <name>compile-protobuf</name>
150 <groupId>org.apache.hadoop</groupId>
151 <artifactId>hadoop-maven-plugins</artifactId>
154 <id>compile-protoc</id>
155 <phase>generate-sources</phase>
161 <param>${basedir}/src/main/protobuf</param>
164 <directory>${basedir}/src/main/protobuf</directory>
166 <include>AccessControl.proto</include>
167 <include>Admin.proto</include>
168 <include>Aggregate.proto</include>
169 <include>Authentication.proto</include>
170 <include>Cell.proto</include>
171 <include>Client.proto</include>
172 <include>ClusterId.proto</include>
173 <include>ClusterStatus.proto</include>
174 <include>Comparator.proto</include>
175 <include>Encryption.proto</include>
176 <include>ErrorHandling.proto</include>
177 <include>Filter.proto</include>
178 <include>FS.proto</include>
179 <include>HBase.proto</include>
180 <include>HFile.proto</include>
181 <include>LoadBalancer.proto</include>
182 <include>MapReduce.proto</include>
183 <include>Master.proto</include>
184 <include>MasterProcedure.proto</include>
185 <include>MultiRowMutation.proto</include>
186 <include>Procedure.proto</include>
187 <include>Quota.proto</include>
188 <include>RegionServerStatus.proto</include>
189 <include>RowProcessor.proto</include>
190 <include>RPC.proto</include>
191 <include>SecureBulkLoad.proto</include>
192 <include>Tracing.proto</include>
193 <include>VisibilityLabels.proto</include>
194 <include>WAL.proto</include>
195 <include>ZooKeeper.proto</include>
198 <!--<output>${project.build.directory}/generated-sources/java</output>-->
199 <output>${basedir}/src/main/java/</output>