Locked History Actions

Diff for "ivy/Trouble"

Differences between revisions 1 and 2
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 特にgoogle Guice/CollectionsのSHA1チェックサムが間違っていると言われてダウンロードすることができない。 特にgoogle Guice/CollectionsのSHA1チェックサムが間違っていると言われてダウンロードすることができない。
Line 12: Line 12:
 解決策としては(あまりよくはないが)、ivysettings.xmlでチェックサムを無視する設定にする。 解決策としては(あまりよくはないが)、ivysettings.xmlでチェックサムを無視する設定にする。

トラブルとその対処

Mavenリポジトリから取得できない

特にgoogle Guice/CollectionsのSHA1チェックサムが間違っていると言われてダウンロードすることができない。

[ivy:retrieve]  problem while downloading module descriptor:
http://google-maven-repository.googlecode.com/svn/repository/com/google/inject/guice/2.0/guice-2.0.pom:
invalid sha1: expected=6c5029102c03c627275fe183377c0586a3194425
computed=3bb8d0283ecfc05ba8dae825e46980d669265333 (550ms)

解決策としては(あまりよくはないが)、ivysettings.xmlでチェックサムを無視する設定にする。

<ivysettings>
 <property name="ivy.checksums" value=""/> <!-- これ -->
  <conf defaultResolver="ibiblio"/>
  <resolvers>
    <ibiblio name="ibiblio" m2compatible="true"  />
  </resolvers>
</ivysettings>

参考: