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

Commit

Permalink
feat: add parent pom (#1)
Browse files Browse the repository at this point in the history
* feat: add parent pom

* fix: animal-sniffer version for upperbound
  • Loading branch information
chingor13 committed Sep 30, 2019
1 parent 928b221 commit 26c07bf
Show file tree
Hide file tree
Showing 4 changed files with 358 additions and 74 deletions.
97 changes: 60 additions & 37 deletions google-cloud-automl/pom.xml
@@ -1,41 +1,75 @@
<?xml version="1.0"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-automl</artifactId>
<version>0.111.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-automl:current} -->
<packaging>jar</packaging>
<name>Google Cloud Auto ML</name>
<url>https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-automl</url>
<description>
Java idiomatic client for Google Cloud Auto ML
</description>
<name>Google Cloud AutoML</name>
<url>https://github.com/googleapis/java-automl</url>
<description>Java idiomatic client for Google Cloud Auto ML</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-clients</artifactId>
<version>0.111.1-alpha-SNAPSHOT</version><!-- {x-version-update:google-cloud-clients:current} -->
<artifactId>google-cloud-automl-parent</artifactId>
<version>0.111.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-automl:current} -->
</parent>
<properties>
<site.installationModule>google-cloud-automl</site.installationModule>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core</artifactId>
<groupId>io.grpc</groupId>
<artifactId>grpc-api</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core-grpc</artifactId>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
<artifactId>api-common</artifactId>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-common-protos</artifactId>
</dependency>

<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-automl-v1beta1</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax</artifactId>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
</dependency>
<dependency>
<groupId>org.threeten</groupId>
<artifactId>threetenbp</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-automl-v1beta1</artifactId>
Expand All @@ -50,29 +84,18 @@
</dependency>
</dependencies>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<show>protected</show>
<nohelp>true</nohelp>
<doclint>none</doclint>
<splitindex>true</splitindex>
<offlineLinks>
<offlineLink>
<url>${project.javadoc.protobufBaseURL}</url>
<location>../../../../../google-api-grpc/proto-google-cloud-automl-v1beta1/target/site/apidocs/</location>
</offlineLink>
<offlineLink>
<url>${project.javadoc.protobufBaseURL}</url>
<location>../../../../../google-api-grpc/grpc-google-cloud-automl-v1beta1/target/site/apidocs/</location>
</offlineLink>
</offlineLinks>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
<profiles>
<profile>
<id>java9</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
60 changes: 32 additions & 28 deletions grpc-google-cloud-automl-v1beta1/pom.xml
Expand Up @@ -2,51 +2,55 @@
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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-automl-v1beta1</artifactId>
<version>0.76.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-automl-v1beta1:current} -->
<name>grpc-google-cloud-automl-v1beta1</name>
<description>GRPC library for grpc-google-cloud-automl-v1beta1</description>
<parent>
<groupId>com.google.api.grpc</groupId>
<artifactId>google-api-grpc</artifactId>
<version>0.76.1-SNAPSHOT</version><!-- {x-version-update:google-api-grpc:current} -->
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-automl-parent</artifactId>
<version>0.111.1-beta-SNAPSHOT</version><!-- {x-version-update:google-cloud-automl:current} -->
</parent>
<dependencies>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-api</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-automl-v1beta1</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
</dependencies>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<show>protected</show>
<nohelp>true</nohelp>
<doclint>none</doclint>
<splitindex>true</splitindex>
<offlineLinks>
<offlineLink>
<url>${project.javadoc.protobufBaseURL}</url>
<location>../../../../proto-google-cloud-automl-v1beta1/target/site/apidocs/</location>
</offlineLink>
</offlineLinks>
</configuration>
</plugin>
</plugins>
</reporting>
</project>

<profiles>
<profile>
<id>java9</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

0 comments on commit 26c07bf

Please sign in to comment.