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

Commit ed56f0a

Browse files
committed
feat: add parent pom and bom
1 parent 4036bc5 commit ed56f0a

File tree

10 files changed

+643
-226
lines changed

10 files changed

+643
-226
lines changed

google-cloud-asset-bom/pom.xml

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
<?xml version="1.0"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.google.cloud</groupId>
5+
<artifactId>google-cloud-asset-bom</artifactId>
6+
<version>0.114.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-asset:current} -->
7+
<packaging>pom</packaging>
8+
<parent>
9+
<groupId>com.google.cloud</groupId>
10+
<artifactId>google-cloud-shared-config</artifactId>
11+
<version>0.1.3</version>
12+
</parent>
13+
14+
<name>Google Cloud Core</name>
15+
<url>https://github.com/googleapis/java-asset</url>
16+
<description>
17+
BOM for Google Cloud Asset
18+
</description>
19+
20+
<organization>
21+
<name>Google LLC</name>
22+
</organization>
23+
24+
<developers>
25+
<developer>
26+
<id>chingor13</id>
27+
<name>Jeff Ching</name>
28+
<email>[email protected]</email>
29+
<organization>Google LLC</organization>
30+
<roles>
31+
<role>Developer</role>
32+
</roles>
33+
</developer>
34+
</developers>
35+
36+
<scm>
37+
<connection>scm:git:https://github.com/googleapis/java-asset.git</connection>
38+
<developerConnection>scm:git:[email protected]:googleapis/java-asset.git</developerConnection>
39+
<url>https://github.com/googleapis/java-asset</url>
40+
</scm>
41+
42+
<distributionManagement>
43+
<snapshotRepository>
44+
<id>sonatype-nexus-snapshots</id>
45+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
46+
</snapshotRepository>
47+
<repository>
48+
<id>sonatype-nexus-staging</id>
49+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
50+
</repository>
51+
</distributionManagement>
52+
53+
<licenses>
54+
<license>
55+
<name>The Apache Software License, Version 2.0</name>
56+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
57+
<distribution>repo</distribution>
58+
</license>
59+
</licenses>
60+
61+
<dependencyManagement>
62+
<dependencies>
63+
64+
<dependency>
65+
<groupId>com.google.api.grpc</groupId>
66+
<artifactId>proto-google-cloud-asset-v1</artifactId>
67+
<version>0.79.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-asset-v1:current} -->
68+
</dependency>
69+
<dependency>
70+
<groupId>com.google.api.grpc</groupId>
71+
<artifactId>grpc-google-cloud-asset-v1</artifactId>
72+
<version>0.79.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-asset-v1:current} -->
73+
</dependency>
74+
<dependency>
75+
<groupId>com.google.api.grpc</groupId>
76+
<artifactId>grpc-google-cloud-asset-v1beta1</artifactId>
77+
<version>0.79.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-asset-v1beta1:current} -->
78+
</dependency>
79+
<dependency>
80+
<groupId>com.google.api.grpc</groupId>
81+
<artifactId>grpc-google-cloud-asset-v1p2beta1</artifactId>
82+
<version>0.79.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-asset-v1p2beta1:current} -->
83+
</dependency>
84+
<dependency>
85+
<groupId>com.google.api.grpc</groupId>
86+
<artifactId>proto-google-cloud-asset-v1p2beta1</artifactId>
87+
<version>0.79.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-asset-v1p2beta1:current} -->
88+
</dependency>
89+
<dependency>
90+
<groupId>com.google.api.grpc</groupId>
91+
<artifactId>proto-google-cloud-asset-v1beta1</artifactId>
92+
<version>0.79.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-asset-v1beta1:current} -->
93+
</dependency>
94+
<dependency>
95+
<groupId>com.google.cloud</groupId>
96+
<artifactId>google-cloud-asset</artifactId>
97+
<version>0.114.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-asset:current} -->
98+
</dependency>
99+
</dependencies>
100+
</dependencyManagement>
101+
102+
<build>
103+
<plugins>
104+
<plugin>
105+
<groupId>org.apache.maven.plugins</groupId>
106+
<artifactId>maven-checkstyle-plugin</artifactId>
107+
<configuration>
108+
<skip>true</skip>
109+
</configuration>
110+
</plugin>
111+
</plugins>
112+
</build>
113+
</project>

google-cloud-asset/pom.xml

Lines changed: 63 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,83 @@
11
<?xml version="1.0"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.google.cloud</groupId>
45
<artifactId>google-cloud-asset</artifactId>
56
<version>0.114.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-asset:current} -->
67
<packaging>jar</packaging>
78
<name>Google Cloud Asset</name>
8-
<url>https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-asset</url>
9-
<description>
10-
Java idiomatic client for Google Cloud Asset
11-
</description>
9+
<url>https://github.com/googleapis/java-asset</url>
10+
<description>Java idiomatic client for Google Cloud Asset</description>
1211
<parent>
1312
<groupId>com.google.cloud</groupId>
14-
<artifactId>google-cloud-clients</artifactId>
15-
<version>0.114.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-clients:current} -->
13+
<artifactId>google-cloud-asset-parent</artifactId>
14+
<version>0.114.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-asset:current} -->
1615
</parent>
1716
<properties>
1817
<site.installationModule>google-cloud-asset</site.installationModule>
1918
</properties>
2019
<dependencies>
2120
<dependency>
22-
<groupId>${project.groupId}</groupId>
23-
<artifactId>google-cloud-core-grpc</artifactId>
21+
<groupId>io.grpc</groupId>
22+
<artifactId>grpc-api</artifactId>
23+
</dependency>
24+
<dependency>
25+
<groupId>io.grpc</groupId>
26+
<artifactId>grpc-stub</artifactId>
27+
</dependency>
28+
<dependency>
29+
<groupId>io.grpc</groupId>
30+
<artifactId>grpc-protobuf</artifactId>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.google.api</groupId>
34+
<artifactId>api-common</artifactId>
35+
</dependency>
36+
<dependency>
37+
<groupId>com.google.protobuf</groupId>
38+
<artifactId>protobuf-java</artifactId>
2439
</dependency>
2540
<dependency>
2641
<groupId>com.google.api.grpc</groupId>
27-
<artifactId>proto-google-cloud-asset-v1</artifactId>
42+
<artifactId>proto-google-common-protos</artifactId>
2843
</dependency>
44+
2945
<dependency>
3046
<groupId>com.google.api.grpc</groupId>
31-
<artifactId>proto-google-cloud-asset-v1beta1</artifactId>
47+
<artifactId>proto-google-cloud-asset-v1</artifactId>
3248
</dependency>
3349
<dependency>
3450
<groupId>com.google.api.grpc</groupId>
3551
<artifactId>proto-google-cloud-asset-v1p2beta1</artifactId>
3652
</dependency>
53+
<dependency>
54+
<groupId>com.google.api.grpc</groupId>
55+
<artifactId>proto-google-cloud-asset-v1beta1</artifactId>
56+
</dependency>
57+
<dependency>
58+
<groupId>com.google.guava</groupId>
59+
<artifactId>guava</artifactId>
60+
</dependency>
61+
<dependency>
62+
<groupId>com.google.api</groupId>
63+
<artifactId>gax</artifactId>
64+
</dependency>
65+
<dependency>
66+
<groupId>com.google.api</groupId>
67+
<artifactId>gax-grpc</artifactId>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.threeten</groupId>
71+
<artifactId>threetenbp</artifactId>
72+
</dependency>
73+
3774
<!-- Test dependencies -->
3875
<dependency>
3976
<groupId>junit</groupId>
4077
<artifactId>junit</artifactId>
4178
<scope>test</scope>
4279
</dependency>
80+
4381
<dependency>
4482
<groupId>com.google.api.grpc</groupId>
4583
<artifactId>grpc-google-cloud-asset-v1</artifactId>
@@ -64,45 +102,18 @@
64102
</dependency>
65103
</dependencies>
66104

67-
<reporting>
68-
<plugins>
69-
<plugin>
70-
<groupId>org.apache.maven.plugins</groupId>
71-
<artifactId>maven-javadoc-plugin</artifactId>
72-
<version>3.1.1</version>
73-
<configuration>
74-
<show>protected</show>
75-
<nohelp>true</nohelp>
76-
<doclint>none</doclint>
77-
<splitindex>true</splitindex>
78-
<offlineLinks>
79-
<offlineLink>
80-
<url>${project.javadoc.protobufBaseURL}</url>
81-
<location>../../../../../google-api-grpc/proto-google-cloud-asset-v1/target/site/apidocs/</location>
82-
</offlineLink>
83-
<offlineLink>
84-
<url>${project.javadoc.protobufBaseURL}</url>
85-
<location>../../../../../google-api-grpc/grpc-google-cloud-asset-v1/target/site/apidocs/</location>
86-
</offlineLink>
87-
<offlineLink>
88-
<url>${project.javadoc.protobufBaseURL}</url>
89-
<location>../../../../../google-api-grpc/proto-google-cloud-asset-v1beta1/target/site/apidocs/</location>
90-
</offlineLink>
91-
<offlineLink>
92-
<url>${project.javadoc.protobufBaseURL}</url>
93-
<location>../../../../../google-api-grpc/grpc-google-cloud-asset-v1beta1/target/site/apidocs/</location>
94-
</offlineLink>
95-
<offlineLink>
96-
<url>${project.javadoc.protobufBaseURL}</url>
97-
<location>../../../../../google-api-grpc/proto-google-cloud-asset-v1p2beta1/target/site/apidocs/</location>
98-
</offlineLink>
99-
<offlineLink>
100-
<url>${project.javadoc.protobufBaseURL}</url>
101-
<location>../../../../../google-api-grpc/grpc-google-cloud-asset-v1p2beta1/target/site/apidocs/</location>
102-
</offlineLink>
103-
</offlineLinks>
104-
</configuration>
105-
</plugin>
106-
</plugins>
107-
</reporting>
108-
</project>
105+
<profiles>
106+
<profile>
107+
<id>java9</id>
108+
<activation>
109+
<jdk>[9,)</jdk>
110+
</activation>
111+
<dependencies>
112+
<dependency>
113+
<groupId>javax.annotation</groupId>
114+
<artifactId>javax.annotation-api</artifactId>
115+
</dependency>
116+
</dependencies>
117+
</profile>
118+
</profiles>
119+
</project>

grpc-google-cloud-asset-v1/pom.xml

Lines changed: 53 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,56 @@
11
<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-
<artifactId>grpc-google-cloud-asset-v1</artifactId>
6-
<version>0.79.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-asset-v1:current} -->
7-
<name>grpc-google-cloud-asset-v1</name>
8-
<description>GRPC library for grpc-google-cloud-asset-v1</description>
9-
<parent>
10-
<groupId>com.google.api.grpc</groupId>
11-
<artifactId>google-api-grpc</artifactId>
12-
<version>0.79.1-SNAPSHOT</version><!-- {x-version-update:google-api-grpc:current} -->
13-
</parent>
14-
<dependencies>
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-asset-v1</artifactId>
7+
<version>0.79.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-asset-v1:current} -->
8+
<name>grpc-google-cloud-asset-v1</name>
9+
<description>GRPC library for grpc-google-cloud-asset-v1</description>
10+
<parent>
11+
<groupId>com.google.cloud</groupId>
12+
<artifactId>google-cloud-asset-parent</artifactId>
13+
<version>0.114.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-asset: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-cloud-asset-v1</artifactId>
35+
</dependency>
36+
<dependency>
37+
<groupId>com.google.guava</groupId>
38+
<artifactId>guava</artifactId>
39+
</dependency>
40+
</dependencies>
41+
42+
<profiles>
43+
<profile>
44+
<id>java9</id>
45+
<activation>
46+
<jdk>[9,)</jdk>
47+
</activation>
48+
<dependencies>
1549
<dependency>
16-
<groupId>io.grpc</groupId>
17-
<artifactId>grpc-stub</artifactId>
18-
<scope>compile</scope>
50+
<groupId>javax.annotation</groupId>
51+
<artifactId>javax.annotation-api</artifactId>
1952
</dependency>
20-
<dependency>
21-
<groupId>io.grpc</groupId>
22-
<artifactId>grpc-protobuf</artifactId>
23-
<scope>compile</scope>
24-
</dependency>
25-
<dependency>
26-
<groupId>com.google.api.grpc</groupId>
27-
<artifactId>proto-google-cloud-asset-v1</artifactId>
28-
<scope>compile</scope>
29-
</dependency>
30-
</dependencies>
31-
<reporting>
32-
<plugins>
33-
<plugin>
34-
<groupId>org.apache.maven.plugins</groupId>
35-
<artifactId>maven-javadoc-plugin</artifactId>
36-
<version>3.1.1</version>
37-
<configuration>
38-
<show>protected</show>
39-
<nohelp>true</nohelp>
40-
<doclint>none</doclint>
41-
<splitindex>true</splitindex>
42-
<offlineLinks>
43-
<offlineLink>
44-
<url>${project.javadoc.protobufBaseURL}</url>
45-
<location>../../../../proto-google-cloud-asset-v1/target/site/apidocs/</location>
46-
</offlineLink>
47-
</offlineLinks>
48-
</configuration>
49-
</plugin>
50-
</plugins>
51-
</reporting>
52-
</project>
53+
</dependencies>
54+
</profile>
55+
</profiles>
56+
</project>

0 commit comments

Comments
 (0)