Skip to content
dcarter edited this page Sep 14, 2010 · 3 revisions

Q: What versions of the gdata APIs are available?
A: Valid <versions> at this time are:
‘1.40.0-SNAPSHOT
‘1.40.1-SNAPSHOT
‘1.40.2-SNAPSHOT
‘1.40.3-SNAPSHOT
‘1.41.0-SNAPSHOT
‘1.41.1-SNAPSHOT

Q: What’s with the SNAPSHOTs?
A: Don’t worry – these are the final, released versions of the jars, as released by the Google Gdata APIs team. They are currently deployed as maven snapshots for testing purposes. Once I’m confident that the generated poms are correct & adequate, I will publish maven release versions, and these will be synced to the Maven central repository. Please send me your feedback, so I can make improvements. Better yet, fork the project & submit back patches.

Q: What’s with the weird groupId? com.github.dcarter.gdata-java-client
A: I can’t release under com.google.gdata (or similar), which is where this project really belongs. I got tired of waiting for the Google Gdata team to do it, and thought if I was going to go to the trouble to create the poms, then I should make them available to everyone else to use via this project.

Q: How do I use the deployed snapshot artifacts?
A: First, add dependencies to your pom.xml for the gdata jars you use directly. Note that the generated poms include the inter-jar dependencies, so you don’t need to specify second-level (transitive) dependencies. In the example below, appropriate versions of gdata-client, gdata-core, google-collect, and jsr305 will also be included in the build as transitive dependencies.

 <dependency>
    <groupId>com.github.dcarter.gdata-java-client</groupId>
    <artifactId>gdata-calendar-2.0</artifactId>
    <version>1.41.1-SNAPSHOT</version>
  </dependency>

then, add the Sonatype Nexus snapshot repository to your pom.xml repositories:

 <repositories>
    <repository>
      <releases>
        <enabled>false</enabled>
        <checksumPolicy>fail</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <checksumPolicy>fail</checksumPolicy>
      </snapshots>
      <id>sonatype-nexus-snapshots</id>
      <name>Sonatype Nexus Snapshots</name>
      <url>http://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
  </repositories>
Clone this wiki locally