Skip to content

Commit 9c70c82

Browse files
committed
HBASE-26097: to resolve hbase version 2.x protobuf version conflict
1 parent d65cccb commit 9c70c82

File tree

3 files changed

+165
-0
lines changed

3 files changed

+165
-0
lines changed
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
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-shaded</artifactId>
27+
<groupId>org.apache.hbase</groupId>
28+
<version>2.0.6</version>
29+
<relativePath>..</relativePath>
30+
</parent>
31+
<artifactId>hbase-shaded-endpoint</artifactId>
32+
<name>Apache HBase - Shaded - Endpoint</name>
33+
<build>
34+
<plugins>
35+
<plugin>
36+
<groupId>org.apache.maven.plugins</groupId>
37+
<artifactId>maven-site-plugin</artifactId>
38+
<configuration>
39+
<skip>true</skip>
40+
</configuration>
41+
</plugin>
42+
<plugin>
43+
<!--Make it so assembly:single does nothing in here-->
44+
<artifactId>maven-assembly-plugin</artifactId>
45+
<configuration>
46+
<skipAssembly>true</skipAssembly>
47+
</configuration>
48+
</plugin>
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-source-plugin</artifactId>
52+
<version>3.0.0</version>
53+
<executions>
54+
<execution>
55+
<id>attach-sources</id>
56+
<phase>verify</phase>
57+
<goals>
58+
<goal>jar-no-fork</goal>
59+
</goals>
60+
</execution>
61+
</executions>
62+
</plugin>
63+
</plugins>
64+
</build>
65+
<dependencies>
66+
<dependency>
67+
<groupId>org.apache.hbase</groupId>
68+
<artifactId>hbase-endpoint</artifactId>
69+
<exclusions>
70+
<exclusion>
71+
<groupId>org.apache.hbase</groupId>
72+
<artifactId>hbase-server</artifactId>
73+
</exclusion>
74+
<exclusion>
75+
<groupId>org.apache.hbase</groupId>
76+
<artifactId>hbase-hadoop2-compat</artifactId>
77+
</exclusion>
78+
<exclusion>
79+
<groupId>org.apache.hadoop</groupId>
80+
<artifactId>hadoop-hdfs</artifactId>
81+
</exclusion>
82+
<exclusion>
83+
<groupId>org.apache.hadoop</groupId>
84+
<artifactId>hadoop-yarn-api</artifactId>
85+
</exclusion>
86+
<exclusion>
87+
<groupId>org.apache.hadoop</groupId>
88+
<artifactId>hadoop-client</artifactId>
89+
</exclusion>
90+
<exclusion>
91+
<groupId>org.apache.hadoop</groupId>
92+
<artifactId>hadoop-mapreduce-client-core</artifactId>
93+
</exclusion>
94+
<exclusion>
95+
<groupId>org.apache.hadoop</groupId>
96+
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
97+
</exclusion>
98+
<exclusion>
99+
<groupId>com.sun.jersey</groupId>
100+
<artifactId>jersey-core</artifactId>
101+
</exclusion>
102+
<exclusion>
103+
<groupId>com.sun.jersey</groupId>
104+
<artifactId>jersey-server</artifactId>
105+
</exclusion>
106+
<exclusion>
107+
<groupId>com.sun.jersey</groupId>
108+
<artifactId>jersey-json</artifactId>
109+
</exclusion>
110+
<exclusion>
111+
<groupId>com.sun.jersey</groupId>
112+
<artifactId>jersey-client</artifactId>
113+
</exclusion>
114+
<exclusion>
115+
<groupId>com.sun.jersey.contribs</groupId>
116+
<artifactId>jersey-guice</artifactId>
117+
</exclusion>
118+
<exclusion>
119+
<groupId>javax.servlet</groupId>
120+
<artifactId>servlet-api</artifactId>
121+
</exclusion>
122+
<exclusion>
123+
<groupId>javax.servlet.jsp</groupId>
124+
<artifactId>jsp-api</artifactId>
125+
</exclusion>
126+
<exclusion>
127+
<groupId>com.fasterxml.jackson.core</groupId>
128+
<artifactId>jackson-databind</artifactId>
129+
</exclusion>
130+
<exclusion>
131+
<groupId>org.slf4j</groupId>
132+
<artifactId>slf4j-api</artifactId>
133+
</exclusion>
134+
<exclusion>
135+
<groupId>org.slf4j</groupId>
136+
<artifactId>slf4j-log4j12</artifactId>
137+
</exclusion>
138+
<exclusion>
139+
<groupId>log4j</groupId>
140+
<artifactId>log4j</artifactId>
141+
</exclusion>
142+
<exclusion>
143+
<groupId>commons-logging</groupId>
144+
<artifactId>commons-logging</artifactId>
145+
</exclusion>
146+
</exclusions>
147+
</dependency>
148+
</dependencies>
149+
150+
<profiles>
151+
<profile>
152+
<id>release</id>
153+
<build>
154+
<plugins>
155+
<plugin>
156+
<groupId>org.apache.maven.plugins</groupId>
157+
<artifactId>maven-shade-plugin</artifactId>
158+
</plugin>
159+
</plugins>
160+
</build>
161+
</profile>
162+
</profiles>
163+
</project>

hbase-shaded/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
</properties>
4141
<modules>
4242
<module>hbase-shaded-client</module>
43+
<module>hbase-shaded-endpoint</module>
4344
<module>hbase-shaded-mapreduce</module>
4445
<module>hbase-shaded-check-invariants</module>
4546
</modules>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
<module>hbase-metrics-api</module>
9191
<module>hbase-metrics</module>
9292
<module>hbase-zookeeper</module>
93+
<module>hbase-shaded-endpoint</module>
9394
</modules>
9495
<scm>
9596
<connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>

0 commit comments

Comments
 (0)