javaee-esprit / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

APIs wiki page should be using central Maven repository #763

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Referenced documentation:

https://code.google.com/p/google-api-java-client/wiki/APIs

Please describe in detail the wiki documentation request:

The current Maven snippet for Calendar for example looks like this:

<project>
  <repositories>
    ...
    <repository>
      <id>google-api-services</id>
      <url>http://google-api-client-libraries.appspot.com/mavenrepo</url>
    </repository>
    ...
  </repositories>
  <dependencies>
    ...
    <dependency>
      <groupId>com.google.apis</groupId>
      <artifactId>google-api-services-calendar</artifactId>
      <version>v3-rev35-1.14.1-beta</version>
    </dependency>
    ...
  </dependencies>
</project>

But now that we're using the central Maven repository, we should remove the 
<repositories> section, e.g.:

<project>
  <dependencies>
    ...
    <dependency>
      <groupId>com.google.apis</groupId>
      <artifactId>google-api-services-calendar</artifactId>
      <version>v3-rev35-1.14.1-beta</version>
    </dependency>
    ...
  </dependencies>
</project>

The only tricky part to this is identifying the correct <version> to use based 
on what's actually found on the central Maven repository.

Original issue reported on code.google.com by yan...@google.com on 2 Apr 2013 at 4:09

GoogleCodeExporter commented 9 years ago

Original comment by ngmic...@google.com on 9 Apr 2013 at 8:35