Skip to content

Commit

Permalink
Add google-api-client-bom artifact (#1213)
Browse files Browse the repository at this point in the history
* Add google-api-client-bom artifact

* Apply README.md suggestions
  • Loading branch information
chingor13 authored Nov 7, 2018
1 parent 28e089f commit 2dbd90c
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 0 deletions.
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} -->
</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

0 comments on commit 2dbd90c

Please sign in to comment.