Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

fix: declaring test-scope artifact as runtime #1014

Merged
merged 1 commit into from
Aug 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions google-cloud-aiplatform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-iam-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<!--
Within this repository this dependency is only used in tests. However,
making this test scope causes undeclared dependencies after the
flatten-maven-plugin.
https://github.com/mojohaus/flatten-maven-plugin/issues/185
-->
<scope>runtime</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
Expand Down Expand Up @@ -108,11 +119,6 @@
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<profiles>
Expand Down