Skip to content

Commit 24e9b13

Browse files
Add maven-dependency-plugin configuration
Ignores gax dependency
1 parent 5c83d18 commit 24e9b13

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

google-cloud-logging/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,19 @@
184184
<artifactId>flatten-maven-plugin</artifactId>
185185
</plugin>
186186
</plugins>
187+
<pluginManagement>
188+
<plugins>
189+
<plugin>
190+
<groupId>org.apache.maven.plugins</groupId>
191+
<artifactId>maven-dependency-plugin</artifactId>
192+
<configuration>
193+
<ignoredUsedUndeclaredDependencies>
194+
<!-- This dependency is used for its native image configuration in the test scope -->
195+
<ignoredUnusedDeclaredDependency>com.google.api:gax:jar</ignoredUnusedDeclaredDependency>
196+
</ignoredUsedUndeclaredDependencies>
197+
</configuration>
198+
</plugin>
199+
</plugins>
200+
</pluginManagement>
187201
</build>
188202
</project>

0 commit comments

Comments
 (0)