Skip to content

Commit d67c4e1

Browse files
authored
fix: Declare dependency updates explicitly while leveraging Netty BOM (#1156)
1 parent 2acf78b commit d67c4e1

1 file changed

Lines changed: 59 additions & 53 deletions

File tree

  • cloudplatform/connectivity-ztis

cloudplatform/connectivity-ztis/pom.xml

Lines changed: 59 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -41,63 +41,14 @@
4141
<type>pom</type>
4242
<scope>import</scope>
4343
</dependency>
44-
4544
<!-- Enforce minor netty dependency upgrade for grpc-netty -->
46-
<!-- Remove if CVE-2026-33870 and CVE-2026-33871 are no longer affected. -->
45+
<!-- Remove when CVE-2026-33870 and CVE-2026-33871 are no longer affected. -->
4746
<dependency>
4847
<groupId>io.netty</groupId>
49-
<artifactId>netty-handler</artifactId>
50-
<version>${netty.version}</version>
51-
</dependency>
52-
<dependency>
53-
<groupId>io.netty</groupId>
54-
<artifactId>netty-handler-proxy</artifactId>
55-
<version>${netty.version}</version>
56-
</dependency>
57-
<dependency>
58-
<groupId>io.netty</groupId>
59-
<artifactId>netty-codec</artifactId>
60-
<version>${netty.version}</version>
61-
</dependency>
62-
<dependency>
63-
<groupId>io.netty</groupId>
64-
<artifactId>netty-common</artifactId>
65-
<version>${netty.version}</version>
66-
</dependency>
67-
<dependency>
68-
<groupId>io.netty</groupId>
69-
<artifactId>netty-transport</artifactId>
70-
<version>${netty.version}</version>
71-
</dependency>
72-
<dependency>
73-
<groupId>io.netty</groupId>
74-
<artifactId>netty-codec-http</artifactId>
75-
<version>${netty.version}</version>
76-
</dependency>
77-
<dependency>
78-
<groupId>io.netty</groupId>
79-
<artifactId>netty-codec-socks</artifactId>
80-
<version>${netty.version}</version>
81-
</dependency>
82-
<dependency>
83-
<groupId>io.netty</groupId>
84-
<artifactId>netty-buffer</artifactId>
85-
<version>${netty.version}</version>
86-
</dependency>
87-
<dependency>
88-
<groupId>io.netty</groupId>
89-
<artifactId>netty-resolver</artifactId>
90-
<version>${netty.version}</version>
91-
</dependency>
92-
<dependency>
93-
<groupId>io.netty</groupId>
94-
<artifactId>netty-codec-http2</artifactId>
95-
<version>${netty.version}</version>
96-
</dependency>
97-
<dependency>
98-
<groupId>io.netty</groupId>
99-
<artifactId>netty-transport-native-unix-common</artifactId>
48+
<artifactId>netty-bom</artifactId>
10049
<version>${netty.version}</version>
50+
<type>pom</type>
51+
<scope>import</scope>
10152
</dependency>
10253
</dependencies>
10354
</dependencyManagement>
@@ -168,6 +119,61 @@
168119
<groupId>org.slf4j</groupId>
169120
<artifactId>slf4j-api</artifactId>
170121
</dependency>
122+
<dependency>
123+
<groupId>io.netty</groupId>
124+
<artifactId>netty-handler</artifactId>
125+
<scope>runtime</scope>
126+
</dependency>
127+
<dependency>
128+
<groupId>io.netty</groupId>
129+
<artifactId>netty-handler-proxy</artifactId>
130+
<scope>runtime</scope>
131+
</dependency>
132+
<dependency>
133+
<groupId>io.netty</groupId>
134+
<artifactId>netty-codec</artifactId>
135+
<scope>runtime</scope>
136+
</dependency>
137+
<dependency>
138+
<groupId>io.netty</groupId>
139+
<artifactId>netty-common</artifactId>
140+
<scope>runtime</scope>
141+
</dependency>
142+
<dependency>
143+
<groupId>io.netty</groupId>
144+
<artifactId>netty-transport</artifactId>
145+
<scope>runtime</scope>
146+
</dependency>
147+
<dependency>
148+
<groupId>io.netty</groupId>
149+
<artifactId>netty-codec-http</artifactId>
150+
<scope>runtime</scope>
151+
</dependency>
152+
<dependency>
153+
<groupId>io.netty</groupId>
154+
<artifactId>netty-codec-socks</artifactId>
155+
<scope>runtime</scope>
156+
</dependency>
157+
<dependency>
158+
<groupId>io.netty</groupId>
159+
<artifactId>netty-buffer</artifactId>
160+
<scope>runtime</scope>
161+
</dependency>
162+
<dependency>
163+
<groupId>io.netty</groupId>
164+
<artifactId>netty-resolver</artifactId>
165+
<scope>runtime</scope>
166+
</dependency>
167+
<dependency>
168+
<groupId>io.netty</groupId>
169+
<artifactId>netty-codec-http2</artifactId>
170+
<scope>runtime</scope>
171+
</dependency>
172+
<dependency>
173+
<groupId>io.netty</groupId>
174+
<artifactId>netty-transport-native-unix-common</artifactId>
175+
<scope>runtime</scope>
176+
</dependency>
171177
<dependency>
172178
<groupId>commons-beanutils</groupId>
173179
<artifactId>commons-beanutils</artifactId>

0 commit comments

Comments
 (0)