Skip to content

Commit cb0f879

Browse files
committed
chore: set separate cacheDirectory configuration for download-maven-plugin usages
1 parent b2bc2d4 commit cb0f879

4 files changed

Lines changed: 14 additions & 0 deletions

File tree

  • java-showcase/gapic-showcase
  • sdk-platform-java
    • gapic-generator-java
    • java-showcase-3.21.0/gapic-showcase
    • java-showcase-3.25.8/gapic-showcase

java-showcase/gapic-showcase/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
https://raw.githubusercontent.com/googleapis/gapic-showcase/v${gapic-showcase.version}/server/services/compliance_suite.json
6969
</url>
7070
<outputDirectory>src/test/resources</outputDirectory>
71+
<cacheDirectory>
72+
${project.build.directory}/download-cache
73+
</cacheDirectory>
7174
<!-- Set this to always download the latest version and overwrite the existing file -->
7275
<overwrite>true</overwrite>
7376
</configuration>

sdk-platform-java/gapic-generator-java/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@
125125
<groupId>com.googlecode.maven-download-plugin</groupId>
126126
<artifactId>download-maven-plugin</artifactId>
127127
<version>1.6.8</version>
128+
<configuration>
129+
<cacheDirectory>
130+
${project.build.directory}/download-cache
131+
</cacheDirectory>
132+
</configuration>
128133
<executions>
129134
<execution>
130135
<id>download-metadata-proto</id>

sdk-platform-java/java-showcase-3.21.0/gapic-showcase/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
https://raw.githubusercontent.com/googleapis/gapic-showcase/v${gapic-showcase.version}/server/services/compliance_suite.json
6161
</url>
6262
<outputDirectory>src/test/resources</outputDirectory>
63+
<cacheDirectory>
64+
${project.build.directory}/download-cache
65+
</cacheDirectory>
6366
<!-- Set this to always download the latest version and overwrite the existing file -->
6467
<overwrite>true</overwrite>
6568
</configuration>

sdk-platform-java/java-showcase-3.25.8/gapic-showcase/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
https://raw.githubusercontent.com/googleapis/gapic-showcase/v${gapic-showcase.version}/server/services/compliance_suite.json
6969
</url>
7070
<outputDirectory>src/test/resources</outputDirectory>
71+
<cacheDirectory>
72+
${project.build.directory}/download-cache
73+
</cacheDirectory>
7174
<!-- Set this to always download the latest version and overwrite the existing file -->
7275
<overwrite>true</overwrite>
7376
</configuration>

0 commit comments

Comments
 (0)