2013-03-29 14:49:42 -04:00
|
|
|
<?xml version="1.0"?>
|
2019-05-21 15:34:25 -04:00
|
|
|
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2017-07-05 15:06:29 -04:00
|
|
|
<!--
|
2012-11-20 18:26:00 -05:00
|
|
|
/**
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
* or more contributor license agreements. See the NOTICE file
|
|
|
|
* distributed with this work for additional information
|
|
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
|
|
* to you under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance
|
|
|
|
* with the License. You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
2017-07-05 15:06:29 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
2017-08-19 04:23:52 -04:00
|
|
|
<artifactId>hbase-build-configuration</artifactId>
|
2017-07-05 15:06:29 -04:00
|
|
|
<groupId>org.apache.hbase</groupId>
|
2019-08-13 23:48:14 -04:00
|
|
|
<version>2.1.6</version>
|
2017-08-19 04:23:52 -04:00
|
|
|
<relativePath>../hbase-build-configuration</relativePath>
|
2017-07-05 15:06:29 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>hbase-protocol</artifactId>
|
|
|
|
<name>Apache HBase - Protocol</name>
|
|
|
|
<description>Protobuf protocol classes used by HBase to communicate.</description>
|
|
|
|
<properties>
|
|
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- Make a jar and put the sources in the jar -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
</plugin>
|
2013-03-29 14:49:42 -04:00
|
|
|
<plugin>
|
|
|
|
<!--Make it so assembly:single does nothing in here-->
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skipAssembly>true</skipAssembly>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-07-05 15:06:29 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<!-- Always skip the second part executions, since we only run simple unit tests in this module -->
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>secondPartTestsExecution</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
2017-07-07 00:48:41 -04:00
|
|
|
<configuration>
|
2017-07-05 15:06:29 -04:00
|
|
|
<skip>true</skip>
|
2017-07-07 00:48:41 -04:00
|
|
|
</configuration>
|
2017-07-05 15:06:29 -04:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>compile-protoc</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-03-21 21:24:14 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>net.revelc.code</groupId>
|
|
|
|
<artifactId>warbucks-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2019-03-27 10:03:59 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
|
|
<artifactId>replacer</artifactId>
|
|
|
|
<version>1.5.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>replace</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<basedir>${basedir}/target/generated-sources/</basedir>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.java</include>
|
|
|
|
</includes>
|
|
|
|
<replacements>
|
|
|
|
<replacement>
|
|
|
|
<token>(public)(\W+static)?(\W+final)?(\W+class)</token>
|
|
|
|
<value>@javax.annotation.Generated("proto") $1$2$3$4</value>
|
|
|
|
</replacement>
|
|
|
|
<!-- replacer doesn't support anchoring or negative lookbehind -->
|
|
|
|
<replacement>
|
|
|
|
<token>(@javax.annotation.Generated\("proto"\) ){2}</token>
|
|
|
|
<value>$1</value>
|
|
|
|
</replacement>
|
|
|
|
</replacements>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-07-05 15:06:29 -04:00
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-maven-plugins</artifactId>
|
|
|
|
<versionRange>[2.0.5-alpha,)</versionRange>
|
2017-07-07 00:48:41 -04:00
|
|
|
<goals>
|
2017-07-05 15:06:29 -04:00
|
|
|
<goal>protoc</goal>
|
2017-07-07 00:48:41 -04:00
|
|
|
</goals>
|
2017-07-05 15:06:29 -04:00
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore/>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<!-- General dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2017-12-18 05:14:30 -05:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2017-07-05 15:06:29 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
|
|
<!-- Skip the tests in this module -->
|
|
|
|
<profile>
|
|
|
|
<id>skipProtocolTests</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>skipProtocolTests</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<surefire.skipFirstPart>true</surefire.skipFirstPart>
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2013-02-23 17:38:58 -05:00
|
|
|
</project>
|