Google Code プロジェクトの依存関係を自動的に解決するように grails を取得したいと思います。
https://code.google.com/p/google-api-java-client/
Maven の例は次のようになります。
<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-storage</artifactId>
<version>v1beta1-rev21-1.14.1-beta</version>
</dependency>
...
</dependencies>
</project>
これは私が試したコマンドです:
grails install-dependency com.google.apis:google-api-services-storage:google-api-services-storage --repository=http://google-api-client-libraries.appspot.com/mavenrepo
そして失敗した結果:
There was an error resolving the dependency 'com.google.apis:google-api-services-storage:google-api-services-storage'.
This could be because you have passed an invalid dependency name or because the dependency was not found in one of the default repositories.
Try passing a valid Maven repository with the --repository argument.
spider:cloud-storage-prototype spider$