HBASE-14085 Update LICENSE and NOTICE files.
[hbase.git] / hbase-protocol / pom.xml
blob66142b01a6baf5921b165050cc177a51daaaa67c
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-protocol</artifactId>
31     <name>Apache HBase - Protocol</name>
32     <description>Protobuf protocol classes used by HBase to communicate.</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 simple unit tests in this module -->
59             <executions>
60                 <execution>
61                     <id>secondPartTestsExecution</id>
62                     <phase>test</phase>
63                     <goals>
64                         <goal>test</goal>
65                     </goals>
66                     <configuration>
67                         <skip>true</skip>
68                     </configuration>
69                 </execution>
70             </executions>
71         </plugin>
72        </plugins>
73       <pluginManagement>
74         <plugins>
75           <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
76           <plugin>
77             <groupId>org.eclipse.m2e</groupId>
78             <artifactId>lifecycle-mapping</artifactId>
79             <version>1.0.0</version>
80             <configuration>
81               <lifecycleMappingMetadata>
82                 <pluginExecutions>
83                   <pluginExecution>
84                     <pluginExecutionFilter>
85                       <groupId>org.apache.hadoop</groupId>
86                       <artifactId>hadoop-maven-plugins</artifactId>
87                       <versionRange>[2.0.5-alpha,)</versionRange>
88                       <goals>
89                         <goal>protoc</goal>
90                       </goals>
91                     </pluginExecutionFilter>
92                     <action>
93                       <ignore></ignore>
94                     </action>
95                   </pluginExecution>
96                 </pluginExecutions>
97               </lifecycleMappingMetadata>
98             </configuration>
99           </plugin>
100          </plugins>
101       </pluginManagement>
102     </build>
104     <dependencies>
105       <!-- Intra-project dependencies -->
106       <dependency>
107         <groupId>org.apache.hbase</groupId>
108         <artifactId>hbase-annotations</artifactId>
109         <exclusions>
110           <exclusion>
111             <groupId>jdk.tools</groupId>
112             <artifactId>jdk.tools</artifactId>
113           </exclusion>
114         </exclusions>
115       </dependency>
116       <!-- General dependencies -->
117       <dependency>
118         <groupId>com.google.protobuf</groupId>
119         <artifactId>protobuf-java</artifactId>
120       </dependency>
121       <dependency>
122         <groupId>commons-logging</groupId>
123         <artifactId>commons-logging</artifactId>
124       </dependency>
125     </dependencies>
127     <profiles>
128         <!-- Skip the tests in this module -->
129         <profile>
130             <id>skip-rpc-tests</id>
131             <activation>
132                 <property>
133                     <name>skip-rpc-tests</name>
134                 </property>
135             </activation>
136             <properties>
137                 <surefire.skipFirstPart>true</surefire.skipFirstPart>
138             </properties>
139         </profile>
140         <profile>
141           <id>compile-protobuf</id>
142           <activation>
143             <property>
144               <name>compile-protobuf</name>
145             </property>
146           </activation>
147           <build>
148             <plugins>
149               <plugin>
150                 <groupId>org.apache.hadoop</groupId>
151                 <artifactId>hadoop-maven-plugins</artifactId>
152                 <executions>
153                   <execution>
154                     <id>compile-protoc</id>
155                     <phase>generate-sources</phase>
156                     <goals>
157                       <goal>protoc</goal>
158                     </goals>
159                     <configuration>
160                       <imports>
161                         <param>${basedir}/src/main/protobuf</param>
162                       </imports>
163                       <source>
164                         <directory>${basedir}/src/main/protobuf</directory>
165                         <includes>
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>
196                         </includes>
197                       </source>
198                       <!--<output>${project.build.directory}/generated-sources/java</output>-->
199                      <output>${basedir}/src/main/java/</output>
200                     </configuration>
201                   </execution>
202                 </executions>
203               </plugin>
204             </plugins>
205           </build>
206         </profile>
207     </profiles>
208 </project>