Skip to content

Commit 8370cfe

Browse files
authored
chore: skip enforcer check on gRPC dependency (#2151)
1 parent f03b0c8 commit 8370cfe

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,29 @@
168168
<showDeprecation>true</showDeprecation>
169169
</configuration>
170170
</plugin>
171+
<plugin>
172+
<groupId>org.apache.maven.plugins</groupId>
173+
<artifactId>maven-enforcer-plugin</artifactId>
174+
<version>3.0.0-M3</version>
175+
<executions>
176+
<execution>
177+
<id>enforce</id>
178+
<configuration>
179+
<rules>
180+
<requireUpperBoundDeps>
181+
<excludes>
182+
<exclude>io.grpc:grpc-api</exclude>
183+
<exclude>io.grpc:grpc-core</exclude>
184+
</excludes>
185+
</requireUpperBoundDeps>
186+
</rules>
187+
</configuration>
188+
<goals>
189+
<goal>enforce</goal>
190+
</goals>
191+
</execution>
192+
</executions>
193+
</plugin>
171194
</plugins>
172195
</build>
173196

0 commit comments

Comments
 (0)