我已将解析器添加到 ivysettings.xml
<ibiblio name="google-api-services" root="http://mavenrepo.google-api-java-client.googlecode.com/hg" m2compatible="true" />
但是得到一个错误
module not found: com.google.apis#google-api-services-drive;v2-rev13-1.8.0-beta
我已将解析器添加到 ivysettings.xml
<ibiblio name="google-api-services" root="http://mavenrepo.google-api-java-client.googlecode.com/hg" m2compatible="true" />
但是得到一个错误
module not found: com.google.apis#google-api-services-drive;v2-rev13-1.8.0-beta
它对我来说很好解决.....也许你的ivysettings文件有问题?
以下示例配置 google api services repo 和 Maven Central。
<ivysettings>
<settings defaultResolver="repos" />
<resolvers>
<chain name="repos">
<ibiblio name="central" m2compatible="true"/>
<ibiblio name="google-api-services" m2compatible="true" root="http://mavenrepo.google-api-java-client.googlecode.com/hg"/>
</chain>
</resolvers>
</ivysettings>