Skip to content

Commit 68f24f2

Browse files
JoeWang1127suztomo
andauthored
chore: declare test-jar in GAX's testlib artifacts (#1474)
* chore: add test jar * add test jar for showcase * how about duplicating entries? * testlib for gax-httpjson too * add source comment --------- Co-authored-by: Tomo Suzuki <[email protected]>
1 parent f8ccd2a commit 68f24f2

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

gapic-generator-java/pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@
374374
<dependency>
375375
<groupId>com.google.api</groupId>
376376
<artifactId>gax</artifactId>
377+
<!-- import the test code, https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html -->
378+
<type>test-jar</type>
377379
<classifier>testlib</classifier>
378380
</dependency>
379381
<dependency>
@@ -383,6 +385,8 @@
383385
<dependency>
384386
<groupId>com.google.api</groupId>
385387
<artifactId>gax-grpc</artifactId>
388+
<!-- import the test code, https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html -->
389+
<type>test-jar</type>
386390
<classifier>testlib</classifier>
387391
</dependency>
388392
<dependency>
@@ -392,6 +396,8 @@
392396
<dependency>
393397
<groupId>com.google.api</groupId>
394398
<artifactId>gax-httpjson</artifactId>
399+
<!-- import the test code, https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html -->
400+
<type>test-jar</type>
395401
<classifier>testlib</classifier>
396402
</dependency>
397403
<dependency>

gax-java/gax-bom/pom.xml

+22
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<groupId>com.google.cloud</groupId>
1313
<artifactId>google-cloud-shared-config</artifactId>
1414
<version>1.5.5</version>
15+
<relativePath/>
1516
</parent>
1617

1718
<developers>
@@ -48,12 +49,26 @@
4849
<groupId>com.google.api</groupId>
4950
<artifactId>gax</artifactId>
5051
<version>2.23.3-SNAPSHOT</version><!-- {x-version-update:gax:current} -->
52+
<type>test-jar</type>
5153
<classifier>testlib</classifier>
5254
</dependency>
55+
<dependency>
56+
<groupId>com.google.api</groupId>
57+
<artifactId>gax</artifactId>
58+
<version>2.23.3-SNAPSHOT</version><!-- {x-version-update:gax:current} -->
59+
<classifier>testlib</classifier>
60+
</dependency>
61+
<dependency>
62+
<groupId>com.google.api</groupId>
63+
<artifactId>gax-grpc</artifactId>
64+
<version>2.23.3-SNAPSHOT</version><!-- {x-version-update:gax-grpc:current} -->
65+
</dependency>
5366
<dependency>
5467
<groupId>com.google.api</groupId>
5568
<artifactId>gax-grpc</artifactId>
5669
<version>2.23.3-SNAPSHOT</version><!-- {x-version-update:gax-grpc:current} -->
70+
<type>test-jar</type>
71+
<classifier>testlib</classifier>
5772
</dependency>
5873
<dependency>
5974
<groupId>com.google.api</groupId>
@@ -66,6 +81,13 @@
6681
<artifactId>gax-httpjson</artifactId>
6782
<version>0.108.3-SNAPSHOT</version><!-- {x-version-update:gax-httpjson:current} -->
6883
</dependency>
84+
<dependency>
85+
<groupId>com.google.api</groupId>
86+
<artifactId>gax-httpjson</artifactId>
87+
<version>0.108.3-SNAPSHOT</version><!-- {x-version-update:gax-httpjson:current} -->
88+
<type>test-jar</type>
89+
<classifier>testlib</classifier>
90+
</dependency>
6991
<dependency>
7092
<groupId>com.google.api</groupId>
7193
<artifactId>gax-httpjson</artifactId>

0 commit comments

Comments
 (0)