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

Commit 0c4c8a5

Browse files
authored
feat(deps): adopt flatten plugin and google-cloud-shared-dependencies (#195)
1 parent 9ccd8a5 commit 0c4c8a5

File tree

5 files changed

+35
-74
lines changed

5 files changed

+35
-74
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ api_key
4343
# Python utilities
4444
*.pyc
4545
artman-genfiles
46-
venv
46+
venv
47+
48+
.flattened-pom.xml

google-cloud-talent/pom.xml

+9
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,13 @@
102102
</dependencies>
103103
</profile>
104104
</profiles>
105+
106+
<build>
107+
<plugins>
108+
<plugin>
109+
<groupId>org.codehaus.mojo</groupId>
110+
<artifactId>flatten-maven-plugin</artifactId>
111+
</plugin>
112+
</plugins>
113+
</build>
105114
</project>

grpc-google-cloud-talent-v4beta1/pom.xml

+9
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,13 @@
5757
</dependencies>
5858
</profile>
5959
</profiles>
60+
61+
<build>
62+
<plugins>
63+
<plugin>
64+
<groupId>org.codehaus.mojo</groupId>
65+
<artifactId>flatten-maven-plugin</artifactId>
66+
</plugin>
67+
</plugins>
68+
</build>
6069
</project>

pom.xml

+5-73
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,6 @@
6363
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6464
<github.global.server>github</github.global.server>
6565
<site.installationModule>google-cloud-talent-parent</site.installationModule>
66-
<google.core.version>1.93.5</google.core.version>
67-
<google.api-common.version>1.9.2</google.api-common.version>
68-
<google.common-protos.version>1.18.0</google.common-protos.version>
69-
<gax.version>1.56.0</gax.version>
70-
<grpc.version>1.30.0</grpc.version>
71-
<protobuf.version>3.12.2</protobuf.version>
72-
<junit.version>4.13</junit.version>
73-
<guava.version>29.0-android</guava.version>
74-
<threeten.version>1.4.4</threeten.version>
75-
<javax.annotations.version>1.3.2</javax.annotations.version>
76-
<animal-sniffer.version>1.18</animal-sniffer.version>
7766
</properties>
7867

7968
<dependencyManagement>
@@ -100,74 +89,17 @@
10089
</dependency>
10190

10291
<dependency>
103-
<groupId>io.grpc</groupId>
104-
<artifactId>grpc-bom</artifactId>
105-
<version>${grpc.version}</version>
106-
<type>pom</type>
107-
<scope>import</scope>
108-
</dependency>
109-
<dependency>
110-
<groupId>com.google.api</groupId>
111-
<artifactId>gax-bom</artifactId>
112-
<version>${gax.version}</version>
113-
<type>pom</type>
114-
<scope>import</scope>
115-
</dependency>
116-
<dependency>
117-
<groupId>com.google.guava</groupId>
118-
<artifactId>guava-bom</artifactId>
119-
<version>${guava.version}</version>
92+
<groupId>com.google.cloud</groupId>
93+
<artifactId>google-cloud-shared-dependencies</artifactId>
94+
<version>0.8.1</version>
12095
<type>pom</type>
12196
<scope>import</scope>
12297
</dependency>
12398

124-
<dependency>
125-
<groupId>com.google.protobuf</groupId>
126-
<artifactId>protobuf-java</artifactId>
127-
<version>${protobuf.version}</version>
128-
</dependency>
129-
<dependency>
130-
<groupId>com.google.api</groupId>
131-
<artifactId>api-common</artifactId>
132-
<version>${google.api-common.version}</version>
133-
</dependency>
134-
<dependency>
135-
<groupId>com.google.api.grpc</groupId>
136-
<artifactId>proto-google-common-protos</artifactId>
137-
<version>${google.common-protos.version}</version>
138-
</dependency>
139-
<dependency>
140-
<groupId>com.google.cloud</groupId>
141-
<artifactId>google-cloud-core</artifactId>
142-
<version>${google.core.version}</version>
143-
</dependency>
144-
<dependency>
145-
<groupId>org.threeten</groupId>
146-
<artifactId>threetenbp</artifactId>
147-
<version>${threeten.version}</version>
148-
</dependency>
149-
<dependency>
150-
<groupId>javax.annotation</groupId>
151-
<artifactId>javax.annotation-api</artifactId>
152-
<version>${javax.annotations.version}</version>
153-
</dependency>
154-
<dependency>
155-
<groupId>org.codehaus.mojo</groupId>
156-
<artifactId>animal-sniffer-annotations</artifactId>
157-
<version>${animal-sniffer.version}</version>
158-
</dependency>
159-
16099
<dependency>
161100
<groupId>junit</groupId>
162101
<artifactId>junit</artifactId>
163-
<version>${junit.version}</version>
164-
<scope>test</scope>
165-
</dependency>
166-
<dependency>
167-
<groupId>com.google.api</groupId>
168-
<artifactId>gax-grpc</artifactId>
169-
<version>${gax.version}</version>
170-
<classifier>testlib</classifier>
102+
<version>4.13</version>
171103
<scope>test</scope>
172104
</dependency>
173105
</dependencies>
@@ -257,7 +189,7 @@
257189
<link>https://developers.google.com/protocol-buffers/docs/reference/java/</link>
258190
<link>https://googleapis.dev/java/google-auth-library/latest/</link>
259191
<link>https://googleapis.dev/java/gax/latest/</link>
260-
<link>https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/</link>
192+
<link>https://googleapis.github.io/api-common-java/</link>
261193
</links>
262194
</configuration>
263195
</plugin>

proto-google-cloud-talent-v4beta1/pom.xml

+9
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,13 @@
3030
<artifactId>guava</artifactId>
3131
</dependency>
3232
</dependencies>
33+
34+
<build>
35+
<plugins>
36+
<plugin>
37+
<groupId>org.codehaus.mojo</groupId>
38+
<artifactId>flatten-maven-plugin</artifactId>
39+
</plugin>
40+
</plugins>
41+
</build>
3342
</project>

0 commit comments

Comments
 (0)