1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!--
3+
4+ Licensed under the Apache License, Version 2.0 (the "License");
5+ you may not use this file except in compliance with the License.
6+ You may obtain a copy of the License at
7+
8+ http://www.apache.org/licenses/LICENSE-2.0
9+
10+ Unless required by applicable law or agreed to in writing, software
11+ distributed under the License is distributed on an "AS IS" BASIS,
12+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ See the License for the specific language governing permissions and
14+ limitations under the License.
15+
16+ -->
17+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
18+ 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+ <parent >
21+ <artifactId >joyqueue-client</artifactId >
22+ <groupId >com.jd.joyqueue</groupId >
23+ <version >4.1.0-SNAPSHOT</version >
24+ </parent >
25+ <modelVersion >4.0.0</modelVersion >
26+
27+ <artifactId >joyqueue-client-all-shaded</artifactId >
28+
29+ <dependencies >
30+ <dependency >
31+ <groupId >com.jd.joyqueue</groupId >
32+ <artifactId >joyqueue-client-core</artifactId >
33+ </dependency >
34+ <dependency >
35+ <groupId >com.jd.joyqueue</groupId >
36+ <artifactId >joyqueue-client-kafka</artifactId >
37+ </dependency >
38+ <dependency >
39+ <groupId >org.slf4j</groupId >
40+ <artifactId >slf4j-api</artifactId >
41+ </dependency >
42+ </dependencies >
43+
44+ <build >
45+ <resources >
46+ <resource >
47+ <directory >src/main/resources</directory >
48+ <filtering >true</filtering >
49+ </resource >
50+ </resources >
51+ <plugins >
52+ <plugin >
53+ <groupId >org.apache.maven.plugins</groupId >
54+ <artifactId >maven-shade-plugin</artifactId >
55+ <version >3.2.1</version >
56+ <executions >
57+ <execution >
58+ <phase >package</phase >
59+ <goals >
60+ <goal >shade</goal >
61+ </goals >
62+ <configuration >
63+ <minimizeJar >false</minimizeJar >
64+ <artifactSet >
65+ <excludes >
66+ <exclude >org.slf4j:slf4j-api:*</exclude >
67+ </excludes >
68+ </artifactSet >
69+ <relocations >
70+ <relocation >
71+ <pattern >com.codahale</pattern >
72+ <shadedPattern >com.jd.joyqueue.shaded.com.codahale</shadedPattern >
73+ </relocation >
74+ <relocation >
75+ <pattern >org.objectweb.asm</pattern >
76+ <shadedPattern >com.jd.joyqueue.shaded.org.objectweb.asm</shadedPattern >
77+ </relocation >
78+ <relocation >
79+ <pattern >com.google</pattern >
80+ <shadedPattern >com.jd.joyqueue.shaded.com.google</shadedPattern >
81+ </relocation >
82+ <relocation >
83+ <pattern >io.netty</pattern >
84+ <shadedPattern >com.jd.joyqueue.shaded.io.netty</shadedPattern >
85+ </relocation >
86+ <relocation >
87+ <pattern >javax.inject</pattern >
88+ <shadedPattern >com.jd.joyqueue.shaded.javax.inject</shadedPattern >
89+ </relocation >
90+ <relocation >
91+ <pattern >javax.validation</pattern >
92+ <shadedPattern >com.jd.joyqueue.shaded.javax.validation</shadedPattern >
93+ </relocation >
94+ <relocation >
95+ <pattern >org.aopalliance</pattern >
96+ <shadedPattern >com.jd.joyqueue.shaded.org.aopalliance</shadedPattern >
97+ </relocation >
98+ <relocation >
99+ <pattern >org.apache</pattern >
100+ <shadedPattern >com.jd.joyqueue.shaded.org.apache</shadedPattern >
101+ </relocation >
102+ <relocation >
103+ <pattern >org.xerial.snappy</pattern >
104+ <shadedPattern >com.jd.joyqueue.shaded.org.xerial.snappy</shadedPattern >
105+ </relocation >
106+ <relocation >
107+ <pattern >net.jpountz.lz4</pattern >
108+ <shadedPattern >com.jd.joyqueue.shaded.net.jpountz.lz4</shadedPattern >
109+ </relocation >
110+ <relocation >
111+ <pattern >com.jd.laf.extension</pattern >
112+ <shadedPattern >com.jd.joyqueue.shaded.com.jd.laf.extension</shadedPattern >
113+ </relocation >
114+ </relocations >
115+ </configuration >
116+ </execution >
117+ </executions >
118+ </plugin >
119+ </plugins >
120+ </build >
121+ </project >
0 commit comments