Skip to content

Commit 7769d80

Browse files
committed
add maven config for new grpc module
1 parent ba01874 commit 7769d80

File tree

4 files changed

+100
-0
lines changed

4 files changed

+100
-0
lines changed

google-cloud-datastore-bom/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
<artifactId>google-cloud-datastore</artifactId>
5555
<version>2.17.6-SNAPSHOT</version><!-- {x-version-update:google-cloud-datastore:current} -->
5656
</dependency>
57+
<dependency>
58+
<groupId>com.google.api.grpc</groupId>
59+
<artifactId>grpc-google-cloud-datastore-v1</artifactId>
60+
<version>2.17.5</version><!-- {x-version-update:grpc-google-cloud-datastore-v1:current} -->
61+
</dependency>
5762
<dependency>
5863
<groupId>com.google.api.grpc</groupId>
5964
<artifactId>grpc-google-cloud-datastore-admin-v1</artifactId>

google-cloud-datastore/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
<site.installationModule>google-cloud-datastore</site.installationModule>
1919
</properties>
2020
<dependencies>
21+
<dependency>
22+
<groupId>com.google.api.grpc</groupId>
23+
<artifactId>grpc-google-cloud-datastore-v1</artifactId>
24+
</dependency>
2125
<dependency>
2226
<groupId>com.google.api.grpc</groupId>
2327
<artifactId>grpc-google-cloud-datastore-admin-v1</artifactId>
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.google.api.grpc</groupId>
6+
<artifactId>grpc-google-cloud-datastore-v1</artifactId>
7+
<version>2.17.5</version><!-- {x-version-update:grpc-google-cloud-datastore-v1:current} -->
8+
<name>grpc-google-cloud-datastore-v1</name>
9+
<description>GRPC library for google-cloud-datastore</description>
10+
<parent>
11+
<groupId>com.google.cloud</groupId>
12+
<artifactId>google-cloud-datastore-parent</artifactId>
13+
<version>2.17.5</version><!-- {x-version-update:google-cloud-datastore:current} -->
14+
</parent>
15+
<dependencies>
16+
<dependency>
17+
<groupId>io.grpc</groupId>
18+
<artifactId>grpc-api</artifactId>
19+
</dependency>
20+
<dependency>
21+
<groupId>io.grpc</groupId>
22+
<artifactId>grpc-stub</artifactId>
23+
</dependency>
24+
<dependency>
25+
<groupId>io.grpc</groupId>
26+
<artifactId>grpc-protobuf</artifactId>
27+
</dependency>
28+
<dependency>
29+
<groupId>com.google.protobuf</groupId>
30+
<artifactId>protobuf-java</artifactId>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.google.api.grpc</groupId>
34+
<artifactId>proto-google-common-protos</artifactId>
35+
</dependency>
36+
<dependency>
37+
<groupId>com.google.api.grpc</groupId>
38+
<artifactId>proto-google-cloud-datastore-v1</artifactId>
39+
</dependency>
40+
<dependency>
41+
<groupId>com.google.guava</groupId>
42+
<artifactId>guava</artifactId>
43+
</dependency>
44+
</dependencies>
45+
46+
<profiles>
47+
<profile>
48+
<id>java9</id>
49+
<activation>
50+
<jdk>[9,)</jdk>
51+
</activation>
52+
<dependencies>
53+
<dependency>
54+
<groupId>javax.annotation</groupId>
55+
<artifactId>javax.annotation-api</artifactId>
56+
</dependency>
57+
</dependencies>
58+
</profile>
59+
</profiles>
60+
61+
<build>
62+
<plugins>
63+
<plugin>
64+
<groupId>org.codehaus.mojo</groupId>
65+
<artifactId>flatten-maven-plugin</artifactId>
66+
</plugin>
67+
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-checkstyle-plugin</artifactId>
71+
<configuration>
72+
<skip>true</skip> <!-- TODO(gapic_upgrade): remove this configuration once we have Owlbot running for V3 version -->
73+
</configuration>
74+
</plugin>
75+
76+
<plugin>
77+
<groupId>org.codehaus.mojo</groupId>
78+
<artifactId>clirr-maven-plugin</artifactId>
79+
<configuration>
80+
<skip>true</skip> <!-- TODO(gapic_upgrade): remove this configuration once we V3 goes GA -->
81+
</configuration>
82+
</plugin>
83+
</plugins>
84+
</build>
85+
</project>

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,11 @@
176176
<artifactId>proto-google-cloud-datastore-v1</artifactId>
177177
<version>0.108.6-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-datastore-v1:current} -->
178178
</dependency>
179+
<dependency>
180+
<groupId>com.google.api.grpc</groupId>
181+
<artifactId>grpc-google-cloud-datastore-v1</artifactId>
182+
<version>2.17.5</version><!-- {x-version-update:grpc-google-cloud-datastore-v1:current} -->
183+
</dependency>
179184
<dependency>
180185
<groupId>com.google.cloud.datastore</groupId>
181186
<artifactId>datastore-v1-proto-client</artifactId>
@@ -266,6 +271,7 @@
266271

267272
<modules>
268273
<module>google-cloud-datastore</module>
274+
<module>grpc-google-cloud-datastore-v1</module>
269275
<module>grpc-google-cloud-datastore-admin-v1</module>
270276
<module>proto-google-cloud-datastore-v1</module>
271277
<module>proto-google-cloud-datastore-admin-v1</module>

0 commit comments

Comments
 (0)