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

Commit 17b504f

Browse files
authored
feat(deps): adopt flatten plugin and google-cloud-shared-dependencies (#33)
1 parent a3f1d34 commit 17b504f

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-10
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ target/
1313
# python utilities
1414
*.pyc
1515
__pycache__
16+
17+
.flattened-pom.xml

pom.xml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,17 @@
6363
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6464
<github.global.server>github</github.global.server>
6565
<site.installationModule>google-identity-accesscontextmanager-parent</site.installationModule>
66-
<google.common-protos.version>1.18.0</google.common-protos.version>
67-
<protobuf.version>3.12.2</protobuf.version>
6866
<junit.version>4.13</junit.version>
6967
</properties>
7068

7169
<dependencyManagement>
7270
<dependencies>
7371
<dependency>
74-
<groupId>com.google.protobuf</groupId>
75-
<artifactId>protobuf-java</artifactId>
76-
<version>${protobuf.version}</version>
77-
</dependency>
78-
<dependency>
79-
<groupId>com.google.api.grpc</groupId>
80-
<artifactId>proto-google-common-protos</artifactId>
81-
<version>${google.common-protos.version}</version>
72+
<groupId>com.google.cloud</groupId>
73+
<artifactId>google-cloud-shared-dependencies</artifactId>
74+
<version>0.8.1</version>
75+
<type>pom</type>
76+
<scope>import</scope>
8277
</dependency>
8378

8479
<dependency>

proto-google-identity-accesscontextmanager-type/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,13 @@
2222
<artifactId>proto-google-common-protos</artifactId>
2323
</dependency>
2424
</dependencies>
25+
26+
<build>
27+
<plugins>
28+
<plugin>
29+
<groupId>org.codehaus.mojo</groupId>
30+
<artifactId>flatten-maven-plugin</artifactId>
31+
</plugin>
32+
</plugins>
33+
</build>
2534
</project>

proto-google-identity-accesscontextmanager-v1/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,13 @@
2727
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:proto-google-identity-accesscontextmanager-v1:current} -->
2828
</dependency>
2929
</dependencies>
30+
31+
<build>
32+
<plugins>
33+
<plugin>
34+
<groupId>org.codehaus.mojo</groupId>
35+
<artifactId>flatten-maven-plugin</artifactId>
36+
</plugin>
37+
</plugins>
38+
</build>
3039
</project>

0 commit comments

Comments
 (0)