Download the zip package from googlecode at http://code.google.com/p/gdata-java-client/downloads/list
then cd to the lib directory and run
mvn install:install-file -DgroupId=gdata -DartifactId=base -Dversion=1.0 -Dfile=gdata-base-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=blogger -Dversion=2.0 -Dfile=gdata-blogger-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=blogger-meta -Dversion=2.0 -Dfile=gdata-blogger-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=books -Dversion=1.0 -Dfile=gdata-books-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=books-meta -Dversion=1.0 -Dfile=gdata-books-meta-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=calendar -Dversion=2.0 -Dfile=gdata-calendar-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=calendar-meta -Dversion=2.0 -Dfile=gdata-calendar-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=client -Dversion=1.0 -Dfile=gdata-client-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=client-meta -Dversion=1.0 -Dfile=gdata-client-meta-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=codesearch -Dversion=2.0 -Dfile=gdata-codesearch-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=codesearch-meta -Dversion=2.0 -Dfile=gdata-codesearch-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=contacts -Dversion=2.0 -Dfile=gdata-contacts-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=contacts-meta -Dversion=2.0 -Dfile=gdata-contacts-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=core -Dversion=1.0 -Dfile=gdata-core-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=docs -Dversion=2.0 -Dfile=gdata-docs-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=docs-meta -Dversion=2.0 -Dfile=gdata-docs-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=finance -Dversion=2.0 -Dfile=gdata-finance-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=finance-meta -Dversion=2.0 -Dfile=gdata-finance-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=health -Dversion=2.0 -Dfile=gdata-health-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=health-meta -Dversion=2.0 -Dfile=gdata-health-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=media -Dversion=1.0 -Dfile=gdata-media-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=photos -Dversion=1.0 -Dfile=gdata-photos-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=photos-meta -Dversion=1.0 -Dfile=gdata-photos-meta-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=spreadsheet -Dversion=2.0 -Dfile=gdata-spreadsheet-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=spreadsheet-meta -Dversion=2.0 -Dfile=gdata-spreadsheet-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=youtube -Dversion=2.0 -Dfile=gdata-youtube-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=youtube-meta -Dversion=2.0 -Dfile=gdata-youtube-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
4 comments:
Yeah, I too was disappointed these are not in a public maven repo.
I'm hoping you can explain something. I don't understand Google's versions.
The download is something like version 1.39.1 which contains source and a bunch of jars.
However the jars have versions like 1.0, 2.0 or 3.0.
So what has the version 1.39.1? The source? What is this source?
If I want to work with the calendar API do i just need the jars and not the source?!? How do I get the latest jars if these just have versions 1.0, etc?
This versioning makes no sense. I wish they would have used standard maven versioning. Please explain.
There are needed jsr305.jar and google-collect-1.0-rc1.jar
Great help. Thanks a lot :-)
Nice Post keep updating like this,
http://www.selfcarinsurance.com/how-to-compare-car-insurance-quotes/
How to Compare Car Insurance Quotes
Compare Car Insurance
Car Insurance Quotes
Post a Comment