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

Commit 3836cc8

Browse files
authored
feat(deps): import google-cloud-shared-dependencies and use maven-flatten-plugin (#94)
* feat(deps): import google-cloud-shared-dependencies and use maven-flatten-plugin * deps: use 0.8.1
1 parent b325e56 commit 3836cc8

2 files changed

Lines changed: 16 additions & 69 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,6 @@ api_key
4242
# Python utilities
4343
*.pyc
4444
artman-genfiles
45-
venv
45+
venv
46+
47+
.flattened-pom.xml

pom.xml

Lines changed: 13 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -60,68 +60,14 @@
6060
</licenses>
6161
<properties>
6262
<site.installationModule>grafeas</site.installationModule>
63-
<grpc.version>1.29.0</grpc.version>
64-
<api-client.version>1.30.9</api-client.version>
65-
<google.core.version>1.93.5</google.core.version>
66-
<gax.version>1.56.0</gax.version>
67-
<http-client-bom.version>1.35.0</http-client-bom.version>
68-
<guava.version>29.0-android</guava.version>
69-
<junit.version>4.12</junit.version>
70-
<google.common-protos.version>1.18.0</google.common-protos.version>
71-
<protobuf.version>3.12.2</protobuf.version>
72-
<threeten.version>1.4.4</threeten.version>
73-
<google.api-common.version>1.9.2</google.api-common.version>
74-
<junit.version>4.13</junit.version>
7563
</properties>
7664

7765
<dependencyManagement>
7866
<dependencies>
79-
<dependency>
80-
<groupId>io.grpc</groupId>
81-
<artifactId>grpc-bom</artifactId>
82-
<version>${grpc.version}</version>
83-
<type>pom</type>
84-
<scope>import</scope>
85-
</dependency>
86-
<dependency>
87-
<groupId>com.google.api-client</groupId>
88-
<artifactId>google-api-client-bom</artifactId>
89-
<version>${api-client.version}</version>
90-
<type>pom</type>
91-
<scope>import</scope>
92-
</dependency>
9367
<dependency>
9468
<groupId>com.google.cloud</groupId>
95-
<artifactId>google-cloud-core-bom</artifactId>
96-
<version>${google.core.version}</version>
97-
<type>pom</type>
98-
<scope>import</scope>
99-
</dependency>
100-
<dependency>
101-
<groupId>com.google.api</groupId>
102-
<artifactId>gax-bom</artifactId>
103-
<version>${gax.version}</version>
104-
<type>pom</type>
105-
<scope>import</scope>
106-
</dependency>
107-
<dependency>
108-
<groupId>com.google.api</groupId>
109-
<artifactId>gax-bom</artifactId>
110-
<version>${gax.version}</version>
111-
<type>pom</type>
112-
<scope>import</scope>
113-
</dependency>
114-
<dependency>
115-
<groupId>com.google.http-client</groupId>
116-
<artifactId>google-http-client-bom</artifactId>
117-
<version>${http-client-bom.version}</version>
118-
<type>pom</type>
119-
<scope>import</scope>
120-
</dependency>
121-
<dependency>
122-
<groupId>com.google.guava</groupId>
123-
<artifactId>guava-bom</artifactId>
124-
<version>${guava.version}</version>
69+
<artifactId>google-cloud-shared-dependencies</artifactId>
70+
<version>0.8.1</version>
12571
<type>pom</type>
12672
<scope>import</scope>
12773
</dependency>
@@ -132,59 +78,49 @@
13278
<dependency>
13379
<groupId>com.google.api.grpc</groupId>
13480
<artifactId>proto-google-common-protos</artifactId>
135-
<version>${google.common-protos.version}</version>
13681
</dependency>
13782
<dependency>
13883
<groupId>com.google.protobuf</groupId>
13984
<artifactId>protobuf-java</artifactId>
140-
<version>${protobuf.version}</version>
14185
</dependency>
14286
<dependency>
14387
<groupId>com.google.api</groupId>
14488
<artifactId>gax-grpc</artifactId>
145-
<version>${gax.version}</version>
14689
</dependency>
14790
<dependency>
14891
<groupId>com.google.guava</groupId>
14992
<artifactId>guava</artifactId>
150-
<version>${guava.version}</version>
15193
</dependency>
15294
<dependency>
15395
<groupId>com.google.api</groupId>
15496
<artifactId>gax</artifactId>
155-
<version>${gax.version}</version>
15697
</dependency>
15798
<dependency>
15899
<groupId>org.threeten</groupId>
159100
<artifactId>threetenbp</artifactId>
160-
<version>${threeten.version}</version>
161101
</dependency>
162102
<dependency>
163103
<groupId>io.grpc</groupId>
164104
<artifactId>grpc-api</artifactId>
165-
<version>${grpc.version}</version>
166105
</dependency>
167106
<dependency>
168107
<groupId>io.grpc</groupId>
169108
<artifactId>grpc-protobuf</artifactId>
170-
<version>${grpc.version}</version>
171109
</dependency>
172110
<dependency>
173111
<groupId>io.grpc</groupId>
174112
<artifactId>grpc-stub</artifactId>
175-
<version>${grpc.version}</version>
176113
</dependency>
177114
<dependency>
178115
<groupId>com.google.api</groupId>
179116
<artifactId>api-common</artifactId>
180-
<version>${google.api-common.version}</version>
181117
</dependency>
182118

183119
<!-- Test dependencies -->
184120
<dependency>
185121
<groupId>junit</groupId>
186122
<artifactId>junit</artifactId>
187-
<version>${junit.version}</version>
123+
<version>4.13</version>
188124
<scope>test</scope>
189125
</dependency>
190126
<dependency>
@@ -302,10 +238,19 @@
302238
<link>https://developers.google.com/protocol-buffers/docs/reference/java/</link>
303239
<link>https://googleapis.dev/java/google-auth-library/latest/</link>
304240
<link>https://googleapis.dev/java/gax/latest/</link>
305-
<link>https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/</link>
241+
<link>https://googleapis.github.io/api-common-java/1.9.0/apidocs/</link>
306242
</links>
307243
</configuration>
308244
</plugin>
309245
</plugins>
310246
</reporting>
247+
248+
<build>
249+
<plugins>
250+
<plugin>
251+
<groupId>org.codehaus.mojo</groupId>
252+
<artifactId>flatten-maven-plugin</artifactId>
253+
</plugin>
254+
</plugins>
255+
</build>
311256
</project>

0 commit comments

Comments
 (0)