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

Commit

Permalink
feat(deps): adopt flatten plugin and google-cloud-shared-dependencies (
Browse files Browse the repository at this point in the history
  • Loading branch information
yangnuoyu committed Jun 18, 2020
1 parent bcfe491 commit 2dded4e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -13,3 +13,5 @@ target/
# python utilities
*.pyc
__pycache__

.flattened-pom.xml
20 changes: 7 additions & 13 deletions pom.xml
Expand Up @@ -63,28 +63,22 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<github.global.server>github</github.global.server>
<site.installationModule>google-cloud-orgpolicy-parent</site.installationModule>
<google.common-protos.version>1.18.0</google.common-protos.version>
<protobuf.version>3.12.2</protobuf.version>
<junit.version>4.13</junit.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>${protobuf.version}</version>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-common-protos</artifactId>
<version>${google.common-protos.version}</version>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-dependencies</artifactId>
<version>0.8.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<version>4.13</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -157,7 +151,7 @@
<link>https://developers.google.com/protocol-buffers/docs/reference/java/</link>
<link>https://googleapis.dev/java/google-auth-library/latest/</link>
<link>https://googleapis.dev/java/gax/latest/</link>
<link>https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/</link>
<link>https://googleapis.github.io/api-common-java/</link>
</links>
</configuration>
</plugin>
Expand Down
9 changes: 9 additions & 0 deletions proto-google-cloud-orgpolicy-v1/pom.xml
Expand Up @@ -22,4 +22,13 @@
<artifactId>proto-google-common-protos</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 2dded4e

Please sign in to comment.