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

Commit 26c07bf

Browse files
authored
feat: add parent pom (#1)
* feat: add parent pom * fix: animal-sniffer version for upperbound
1 parent 928b221 commit 26c07bf

File tree

4 files changed

+358
-74
lines changed

4 files changed

+358
-74
lines changed

google-cloud-automl/pom.xml

Lines changed: 60 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,75 @@
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-automl</artifactId>
56
<version>0.111.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-automl:current} -->
67
<packaging>jar</packaging>
7-
<name>Google Cloud Auto ML</name>
8-
<url>https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl</url>
9-
<description>
10-
Java idiomatic client for Google Cloud Auto ML
11-
</description>
8+
<name>Google Cloud AutoML</name>
9+
<url>https://github.com/googleapis/java-automl</url>
10+
<description>Java idiomatic client for Google Cloud Auto ML</description>
1211
<parent>
1312
<groupId>com.google.cloud</groupId>
14-
<artifactId>google-cloud-clients</artifactId>
15-
<version>0.111.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-clients:current} -->
13+
<artifactId>google-cloud-automl-parent</artifactId>
14+
<version>0.111.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-automl:current} -->
1615
</parent>
1716
<properties>
1817
<site.installationModule>google-cloud-automl</site.installationModule>
1918
</properties>
2019
<dependencies>
2120
<dependency>
22-
<groupId>${project.groupId}</groupId>
23-
<artifactId>google-cloud-core</artifactId>
21+
<groupId>io.grpc</groupId>
22+
<artifactId>grpc-api</artifactId>
2423
</dependency>
2524
<dependency>
26-
<groupId>${project.groupId}</groupId>
27-
<artifactId>google-cloud-core-grpc</artifactId>
25+
<groupId>io.grpc</groupId>
26+
<artifactId>grpc-stub</artifactId>
2827
</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>
39+
</dependency>
40+
<dependency>
41+
<groupId>com.google.api.grpc</groupId>
42+
<artifactId>proto-google-common-protos</artifactId>
43+
</dependency>
44+
2945
<dependency>
3046
<groupId>com.google.api.grpc</groupId>
3147
<artifactId>proto-google-cloud-automl-v1beta1</artifactId>
3248
</dependency>
49+
<dependency>
50+
<groupId>com.google.guava</groupId>
51+
<artifactId>guava</artifactId>
52+
</dependency>
53+
<dependency>
54+
<groupId>com.google.api</groupId>
55+
<artifactId>gax</artifactId>
56+
</dependency>
57+
<dependency>
58+
<groupId>com.google.api</groupId>
59+
<artifactId>gax-grpc</artifactId>
60+
</dependency>
61+
<dependency>
62+
<groupId>org.threeten</groupId>
63+
<artifactId>threetenbp</artifactId>
64+
</dependency>
65+
3366
<!-- Test dependencies -->
3467
<dependency>
3568
<groupId>junit</groupId>
3669
<artifactId>junit</artifactId>
3770
<scope>test</scope>
3871
</dependency>
72+
3973
<dependency>
4074
<groupId>com.google.api.grpc</groupId>
4175
<artifactId>grpc-google-cloud-automl-v1beta1</artifactId>
@@ -50,29 +84,18 @@
5084
</dependency>
5185
</dependencies>
5286

53-
<reporting>
54-
<plugins>
55-
<plugin>
56-
<groupId>org.apache.maven.plugins</groupId>
57-
<artifactId>maven-javadoc-plugin</artifactId>
58-
<version>3.1.1</version>
59-
<configuration>
60-
<show>protected</show>
61-
<nohelp>true</nohelp>
62-
<doclint>none</doclint>
63-
<splitindex>true</splitindex>
64-
<offlineLinks>
65-
<offlineLink>
66-
<url>${project.javadoc.protobufBaseURL}</url>
67-
<location>../../../../../google-api-grpc/proto-google-cloud-automl-v1beta1/target/site/apidocs/</location>
68-
</offlineLink>
69-
<offlineLink>
70-
<url>${project.javadoc.protobufBaseURL}</url>
71-
<location>../../../../../google-api-grpc/grpc-google-cloud-automl-v1beta1/target/site/apidocs/</location>
72-
</offlineLink>
73-
</offlineLinks>
74-
</configuration>
75-
</plugin>
76-
</plugins>
77-
</reporting>
78-
</project>
87+
<profiles>
88+
<profile>
89+
<id>java9</id>
90+
<activation>
91+
<jdk>[9,)</jdk>
92+
</activation>
93+
<dependencies>
94+
<dependency>
95+
<groupId>javax.annotation</groupId>
96+
<artifactId>javax.annotation-api</artifactId>
97+
</dependency>
98+
</dependencies>
99+
</profile>
100+
</profiles>
101+
</project>

grpc-google-cloud-automl-v1beta1/pom.xml

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,51 +2,55 @@
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.google.api.grpc</groupId>
56
<artifactId>grpc-google-cloud-automl-v1beta1</artifactId>
67
<version>0.76.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-automl-v1beta1:current} -->
78
<name>grpc-google-cloud-automl-v1beta1</name>
89
<description>GRPC library for grpc-google-cloud-automl-v1beta1</description>
910
<parent>
10-
<groupId>com.google.api.grpc</groupId>
11-
<artifactId>google-api-grpc</artifactId>
12-
<version>0.76.1-SNAPSHOT</version><!-- {x-version-update:google-api-grpc:current} -->
11+
<groupId>com.google.cloud</groupId>
12+
<artifactId>google-cloud-automl-parent</artifactId>
13+
<version>0.111.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-automl:current} -->
1314
</parent>
1415
<dependencies>
16+
<dependency>
17+
<groupId>io.grpc</groupId>
18+
<artifactId>grpc-api</artifactId>
19+
</dependency>
1520
<dependency>
1621
<groupId>io.grpc</groupId>
1722
<artifactId>grpc-stub</artifactId>
18-
<scope>compile</scope>
1923
</dependency>
2024
<dependency>
2125
<groupId>io.grpc</groupId>
2226
<artifactId>grpc-protobuf</artifactId>
23-
<scope>compile</scope>
27+
</dependency>
28+
<dependency>
29+
<groupId>com.google.protobuf</groupId>
30+
<artifactId>protobuf-java</artifactId>
2431
</dependency>
2532
<dependency>
2633
<groupId>com.google.api.grpc</groupId>
2734
<artifactId>proto-google-cloud-automl-v1beta1</artifactId>
28-
<scope>compile</scope>
35+
</dependency>
36+
<dependency>
37+
<groupId>com.google.guava</groupId>
38+
<artifactId>guava</artifactId>
2939
</dependency>
3040
</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-automl-v1beta1/target/site/apidocs/</location>
46-
</offlineLink>
47-
</offlineLinks>
48-
</configuration>
49-
</plugin>
50-
</plugins>
51-
</reporting>
52-
</project>
41+
42+
<profiles>
43+
<profile>
44+
<id>java9</id>
45+
<activation>
46+
<jdk>[9,)</jdk>
47+
</activation>
48+
<dependencies>
49+
<dependency>
50+
<groupId>javax.annotation</groupId>
51+
<artifactId>javax.annotation-api</artifactId>
52+
</dependency>
53+
</dependencies>
54+
</profile>
55+
</profiles>
56+
</project>

0 commit comments

Comments
 (0)