Skip to content

Commit e9a4ce5

Browse files
authored
fix: fix dependency declaration to properly include runtime scope (#1238)
Change the scope of the following dependencies to runtime from test * io.grpc:grpc-stub * io.grpc:grpc-core * com.google.http-client:google-http-client
1 parent 75e03c2 commit e9a4ce5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

google-cloud-pubsub/pom.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<dependency>
2525
<groupId>io.grpc</groupId>
2626
<artifactId>grpc-stub</artifactId>
27-
<scope>test</scope>
27+
<scope>runtime</scope>
2828
</dependency>
2929
<dependency>
3030
<groupId>io.grpc</groupId>
@@ -85,7 +85,7 @@
8585
<dependency>
8686
<groupId>io.grpc</groupId>
8787
<artifactId>grpc-core</artifactId>
88-
<scope>test</scope>
88+
<scope>runtime</scope>
8989
</dependency>
9090
<dependency>
9191
<groupId>com.google.errorprone</groupId>
@@ -98,7 +98,7 @@
9898
<dependency>
9999
<groupId>com.google.http-client</groupId>
100100
<artifactId>google-http-client</artifactId>
101-
<scope>test</scope>
101+
<scope>runtime</scope>
102102
</dependency>
103103

104104
<!-- Test dependencies -->
@@ -169,7 +169,6 @@
169169
<plugin>
170170
<groupId>org.apache.maven.plugins</groupId>
171171
<artifactId>maven-dependency-plugin</artifactId>
172-
<version>3.3.0</version>
173172
<configuration>
174173
<ignoredUnusedDeclaredDependencies>
175174
<ignoredUnusedDeclaredDependency>com.google.auth:google-auth-library-oauth2-http:jar</ignoredUnusedDeclaredDependency>

0 commit comments

Comments
 (0)