1
+ <!--
2
+ Licensed to the Apache Software Foundation (ASF) under one or more
3
+ contributor license agreements. See the NOTICE file distributed with
4
+ this work for additional information regarding copyright ownership.
5
+ The ASF licenses this file to You under the Apache License, Version 2.0
6
+ (the "License"); you may not use this file except in compliance with
7
+ the License. You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ -->
17
+
18
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
19
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
20
+ <modelVersion >4.0.0</modelVersion >
21
+ <parent >
22
+ <groupId >org.apache.rocketmq</groupId >
23
+ <artifactId >rocketmq-all</artifactId >
24
+ <version >5.2.0</version >
25
+ </parent >
26
+
27
+ <artifactId >grpc-netty-codec-haproxy-shaded</artifactId >
28
+ <packaging >jar</packaging >
29
+
30
+ <name >grpc-netty-codec-haproxy-shaded</name >
31
+
32
+ <properties >
33
+ <maven .compiler.source>8</maven .compiler.source>
34
+ <maven .compiler.target>8</maven .compiler.target>
35
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
36
+ <grpc-netty-shaded .version>4.1.79.Final</grpc-netty-shaded .version>
37
+ </properties >
38
+
39
+ <dependencies >
40
+ <dependency >
41
+ <groupId >io.netty</groupId >
42
+ <artifactId >netty-codec-haproxy</artifactId >
43
+ <version >${grpc-netty-shaded.version} </version >
44
+ </dependency >
45
+ </dependencies >
46
+
47
+ <build >
48
+ <plugins >
49
+ <plugin >
50
+ <groupId >org.apache.maven.plugins</groupId >
51
+ <artifactId >maven-shade-plugin</artifactId >
52
+ <version >${maven-shade-plugin.version} </version >
53
+ <configuration >
54
+ <minimizeJar >false</minimizeJar >
55
+ <createSourcesJar >true</createSourcesJar >
56
+ <shadeSourcesContent >true</shadeSourcesContent >
57
+ <createDependencyReducedPom >false</createDependencyReducedPom >
58
+ <artifactSet >
59
+ <includes >
60
+ <include >io.netty:netty-codec-haproxy</include >
61
+ </includes >
62
+ </artifactSet >
63
+ <transformers >
64
+ <transformer
65
+ implementation =" org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
66
+ <transformer
67
+ implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
68
+ <manifestEntries >
69
+ <Implementation-Title >rocketmq-grpc-netty</Implementation-Title >
70
+ <Implementation-Version >${grpc-netty-shaded.version} -rocketmq</Implementation-Version >
71
+ </manifestEntries >
72
+ </transformer >
73
+ </transformers >
74
+ <relocations >
75
+ <relocation >
76
+ <pattern >io.netty</pattern >
77
+ <shadedPattern >io.grpc.netty.shaded.io.netty</shadedPattern >
78
+ </relocation >
79
+ </relocations >
80
+ </configuration >
81
+ <executions >
82
+ <execution >
83
+ <phase >package</phase >
84
+ <goals >
85
+ <goal >shade</goal >
86
+ </goals >
87
+ </execution >
88
+ </executions >
89
+ </plugin >
90
+ <plugin >
91
+ <groupId >org.apache.maven.plugins</groupId >
92
+ <artifactId >maven-compiler-plugin</artifactId >
93
+ </plugin >
94
+ <plugin >
95
+ <groupId >org.apache.maven.plugins</groupId >
96
+ <artifactId >maven-jar-plugin</artifactId >
97
+ </plugin >
98
+ <plugin >
99
+ <groupId >org.apache.maven.plugins</groupId >
100
+ <artifactId >maven-javadoc-plugin</artifactId >
101
+ </plugin >
102
+ </plugins >
103
+ </build >
104
+ </project >
0 commit comments