Some time ago, I was searching for google gdata maven repository, but I was surprised - it has no any maven repositories! Of course, there are a new google-api-java-client, , but it do not implements all google API’s, for example it don’t implement Provisioning API for domains.
I found some repositories with older versions of library.
Also I found awesome script which helps to create local maven repo for Google’s gdata library.
I used modified version of this script to create my own repository hosted on my server. I’ll happy if it will be helpfull for someone.
Details under the cut
How to use:
First connect the repository to your pom.xml
, such as in the example below:
1 2 3 4 5 6 7 |
|
Also you can use mirror on github:
1 2 3 4 5 6 7 |
|
And secondly use the dependencies. For example using of Calendar API v2.0:
1 2 3 4 5 |
|
That’s it:) I hope it is useful to someone:)
P.S. Modified script you can get here
Upd. 2012-04-24: Repository has been updated, added gdata libraries v1.47.0
Upd. 2012-08-14: Repository has been updated, added gdata libraries v1.47.1
Upd. 2012-12-23: Added sources and javadocs jars