My maven project uses the Directory API client library for Java, and I needed to include it as a dependency. But on the Directory API Client Library for Java page, under the heading “Add a library to your project”, when I select maven as the build environment that it always displayed,
"Add the following to your pom.xml file:
This library is in the process of downloading to the central Maven repository. Please check back in a few hours. "
in the last couple of weeks.
Since I used Google Drive addiction in another project as follows,
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-drive</artifactId>
<version>v2-rev60-1.13.2-beta</version>
</dependency>
I tried the same way, including,
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-directory</artifactId>
<version>v1-rev28-1.17.0-rc</version>
</dependency>
but it didn’t work.
pom, ,
<repository>
<id>google-api-services</id>
<url>http://google-api-client-libraries.appspot.com/mavenrepo</url>
</repository>
maven Directory API Client Library Java.