Skip to content

Commit cdef3f2

Browse files
Adding 'versioning management' section to README (#2691)
1 parent 29f2d0a commit cdef3f2

1 file changed

Lines changed: 57 additions & 0 deletions

File tree

README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ libraryDependencies += "com.google.cloud" % "google-cloud" % "0.32.0-alpha"
6464

6565
For running on Google App Engine, see [more instructions here](./APPENGINE.md).
6666

67+
If you are running into problems with version conflicts, see [Version Management](#version-management).
68+
6769
Specifying a Project ID
6870
-----------------------
6971

@@ -258,6 +260,61 @@ a higher priority.
258260
**Alpha**: Libraries defined at an Alpha quality level are still a work-in-progress and
259261
are more likely to get backwards-incompatible updates.
260262
263+
Version Management
264+
------------------
265+
266+
The easiest way to solve version conflicts is to use google-cloud's BOM. In Maven, add the following to your POM:
267+
268+
```
269+
<dependencyManagement>
270+
<dependencies>
271+
<dependency>
272+
<groupId>com.google.cloud</groupId>
273+
<artifactId>google-cloud-bom</artifactId>
274+
<version>0.32.0-alpha</version>
275+
<type>pom</type>
276+
<scope>import</scope>
277+
</dependency>
278+
</dependencies>
279+
</dependencyManagement>
280+
```
281+
282+
This BOM is only available starting at version 0.32.0-alpha. If you are having problems with prior versions of
283+
google-cloud, use the following table as a reference to make sure that your versions are compatible. Definitions:
284+
285+
* **alpha**: The version of any alpha package in google-cloud
286+
* **beta**: The version of any beta package in google-cloud
287+
* **GA**: The version of any GA package in google-cloud
288+
* **gax**: The version of com.google.api:gax
289+
* **gax-grpc**: The version of com.google.api:gax-grpc
290+
291+
Something to be aware of is that a package can be promoted from alpha -> beta or beta -> GA between versions, which
292+
means that after a certain point for any given package, the alpha or beta version won't be valid any more.
293+
294+
alpha | beta | GA | gax | gax-grpc
295+
------------- | ------------ | ---------- | ---------- | --------
296+
0.30.0-alpha | 0.30.0-beta | 1.12.0 | 1.15.0 | 1.15.0
297+
0.29.0-alpha | 0.29.0-beta | 1.11.0 | 1.15.0 | 1.15.0
298+
0.28.0-alpha | 0.28.0-beta | 1.10.0 | 1.14.0 | 1.14.0
299+
0.27.0-alpha | 0.27.0-beta | 1.9.0 | 1.13.0 | 0.30.0
300+
0.26.0-alpha | 0.26.0-beta | 1.8.0 | 1.9.0 | 0.26.0
301+
0.25.0-alpha | 0.25.0-beta | 1.7.0 | 1.8.1 | 0.25.1
302+
0.24.0-alpha | 0.24.0-beta | 1.6.0 | 1.8.1 | 0.25.1
303+
0.23.1-alpha | 0.23.1-beta | 1.5.1 | 1.8.1 | 0.25.1
304+
0.23.0-alpha | 0.23.0-beta | 1.5.0 | 1.5.0 | 0.22.0
305+
0.22.0-alpha | 0.22.0-beta | 1.4.0 | 1.5.0 | 0.22.0
306+
0.21.1-alpha | 0.21.1-beta | 1.3.1 | 1.5.0 | 0.22.0
307+
0.21.0-alpha | 0.21.0-beta | 1.3.0 | 1.5.0 | 0.22.0
308+
0.20.3-alpha | 0.20.3-beta | 1.2.3 | 1.4.2 | 0.21.2
309+
0.20.2-alpha | 0.20.2-beta | 1.2.2 | 1.4.2 | 0.21.2
310+
0.20.1-alpha | 0.20.1-beta | 1.2.1 | 1.4.1 | 0.21.1
311+
0.20.0-alpha | 0.20.0-beta | 1.2.0 | 1.3.1 | 0.20.0
312+
0.19.0-alpha | 0.19.0-beta | 1.1.0 | 1.3.0 | 0.19.0
313+
0.18.0-alpha | 0.18.0-beta | 1.0.2 | 1.1.0 | 0.17.0
314+
0.17.2-alpha | 0.17.2-beta | 1.0.1 | 1.0.0 | 0.16.0
315+
0.17.1-alpha | 0.17.1-beta | 1.0.0 | 1.0.0 | 0.16.0
316+
0.17.0-alpha | 0.17.0-beta | 1.0.0-rc4 | 1.0.0-rc1 | 0.15.0
317+
261318
Contributing
262319
------------
263320

0 commit comments

Comments
 (0)