Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add google-api-client-bom artifact #1213

Merged
merged 2 commits into from
Nov 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions google-api-client-bom/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Google API Client Library Bill of Materials

The `google-api-client-bom` module is a pom that can be used to import consistent
versions of `google-api-client` components.

To use it in Maven, add the following to your `pom.xml`:

[//]: # ({x-version-update-start:google-api-client-bom:released})
```xml
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-bom</artifactId>
<version>1.26.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
```
[//]: # ({x-version-update-end})

## License

Apache 2.0 - See [LICENSE] for more information.

[LICENSE]: https://github.com/googleapis/google-api-java-client/blob/master/LICENSE
103 changes: 103 additions & 0 deletions google-api-client-bom/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<?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.api-client</groupId>
<artifactId>google-api-client-bom</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client-bom:current} -->
<packaging>pom</packaging>

<name>Google API Client Library for Java BOM</name>
<url>https://github.com/googleapis/google-api-java-client/tree/master/google-api-client-bom</url>
<description>
BOM for Google API Client Library for Java
</description>

<organization>
<name>Google LLC</name>
</organization>

<scm>
<connection>scm:git:https://github.com/googleapis/google-api-java-client.git</connection>
<developerConnection>scm:git:[email protected]:googleapis/google-api-java-client.git</developerConnection>
<url>https://github.com/googleapis/google-api-java-client</url>
</scm>

<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<site>
<id>github-pages-site</id>
<name>Deployment through GitHub's site deployment plugin</name>
<url>site/google-cloud-bom</url>
</site>
</distributionManagement>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-android</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->

This comment was marked as spam.

This comment was marked as spam.

</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-appengine</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-assembly</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-gson</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-jackson2</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-java6</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-protobuf</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-servlet</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-xml</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
</dependencies>
</dependencyManagement>
</project>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
<module>google-api-client-android</module>
<module>google-api-client-appengine</module>
<module>google-api-client-assembly</module>
<module>google-api-client-bom</module>
<module>google-api-client-gson</module>
<module>google-api-client-jackson2</module>
<module>google-api-client-java6</module>
Expand Down