Skip to content

Commit 05d437c

Browse files
committed
Excluding transitive netty dependencies in favor of declared netty dependency
1 parent 0a3e6ef commit 05d437c

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

browsermob-core-littleproxy/pom.xml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@
151151
<artifactId>phantomjsdriver</artifactId>
152152
<version>1.2.1</version>
153153
<scope>test</scope>
154+
<!-- exclude legacy netty implementations in transitive dependencies -->
155+
<exclusions>
156+
<exclusion>
157+
<groupId>io.netty</groupId>
158+
<artifactId>netty</artifactId>
159+
</exclusion>
160+
</exclusions>
154161
</dependency>
155162

156163
<dependency>
@@ -174,6 +181,35 @@
174181
<groupId>ch.qos.logback</groupId>
175182
<artifactId>logback-classic</artifactId>
176183
</exclusion>
184+
<!-- exclude individual netty transitive dependencies, since we include netty-all -->
185+
<exclusion>
186+
<groupId>io.netty</groupId>
187+
<artifactId>netty-codec-socks</artifactId>
188+
</exclusion>
189+
<exclusion>
190+
<groupId>io.netty</groupId>
191+
<artifactId>netty-buffer</artifactId>
192+
</exclusion>
193+
<exclusion>
194+
<groupId>io.netty</groupId>
195+
<artifactId>netty-codec</artifactId>
196+
</exclusion>
197+
<exclusion>
198+
<groupId>io.netty</groupId>
199+
<artifactId>netty-codec-http</artifactId>
200+
</exclusion>
201+
<exclusion>
202+
<groupId>io.netty</groupId>
203+
<artifactId>netty-common</artifactId>
204+
</exclusion>
205+
<exclusion>
206+
<groupId>io.netty</groupId>
207+
<artifactId>netty-handler</artifactId>
208+
</exclusion>
209+
<exclusion>
210+
<groupId>io.netty</groupId>
211+
<artifactId>netty-transport</artifactId>
212+
</exclusion>
177213
</exclusions>
178214
</dependency>
179215

browsermob-core/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@
198198
<artifactId>phantomjsdriver</artifactId>
199199
<version>1.2.1</version>
200200
<scope>test</scope>
201+
<!-- exclude legacy netty implementations in transitive dependencies -->
202+
<exclusions>
203+
<exclusion>
204+
<groupId>io.netty</groupId>
205+
<artifactId>netty</artifactId>
206+
</exclusion>
207+
</exclusions>
201208
</dependency>
202209

203210
<dependency>

browsermob-rest/pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,35 @@
123123
<groupId>ch.qos.logback</groupId>
124124
<artifactId>logback-classic</artifactId>
125125
</exclusion>
126+
<!-- exclude individual netty transitive dependencies, since we include netty-all -->
127+
<exclusion>
128+
<groupId>io.netty</groupId>
129+
<artifactId>netty-codec-socks</artifactId>
130+
</exclusion>
131+
<exclusion>
132+
<groupId>io.netty</groupId>
133+
<artifactId>netty-buffer</artifactId>
134+
</exclusion>
135+
<exclusion>
136+
<groupId>io.netty</groupId>
137+
<artifactId>netty-codec</artifactId>
138+
</exclusion>
139+
<exclusion>
140+
<groupId>io.netty</groupId>
141+
<artifactId>netty-codec-http</artifactId>
142+
</exclusion>
143+
<exclusion>
144+
<groupId>io.netty</groupId>
145+
<artifactId>netty-common</artifactId>
146+
</exclusion>
147+
<exclusion>
148+
<groupId>io.netty</groupId>
149+
<artifactId>netty-handler</artifactId>
150+
</exclusion>
151+
<exclusion>
152+
<groupId>io.netty</groupId>
153+
<artifactId>netty-transport</artifactId>
154+
</exclusion>
126155
</exclusions>
127156
</dependency>
128157

0 commit comments

Comments
 (0)