2013-08-22 24 views
0

我試圖使用谷歌的API服務的數據存儲-protobuf的(見https://developers.google.com/datastore/docs/downloads)與SBT,但它給了我這些錯誤:如何在SBT或Maven中使用google-api-services-datastore-protobuf?

[warn] io problem while parsing ivy file: http://repo1.maven.org/maven2/com/google/apis/google-api-services-datastore-protobuf/v1beta1-rev1-1.0.0-rc1/google-api-services-datastore-protobuf-v1beta1-rev1-1.0.0-rc1.pom: Impossible to load parent for file:/Applications/play-2.1.1/framework/../repository/cache/com.google.apis/google-api-services-datastore-protobuf/ivy-v1beta1-rev1-1.0.0-rc1.xml.original. Parent=com.google.apis#google-api-services-datastore-protobuf-parent;v1beta1-rev1-1.0.0-rc1 
[warn] module not found: com.google.apis#google-api-services-datastore-protobuf;v1beta1-rev1-1.0.0-rc1 

我不是很熟悉,但SBT所以我也嘗試它與maven但我得到了類似的結果:

Failed to read artifact descriptor for com.google.apis:google-api-services-datastore-protobuf:jar:v1beta1-rev2-1.0.1: Could not find artifact com.google.apis:google-api-services-datastore-protobuf-parent:pom:v1beta1-rev2-1.0.1 in central (http://repo1.maven.org/maven2) 

它看起來像父pom丟失或什麼。有沒有辦法解決它或忽略失蹤的父母?

+0

我得到相同的結果後'libraryDependencies + = 「com.google.apis」 % 「谷歌的API服務,數據存儲,protobuf的」 % 「v1beta1-rev2-1.0.1」',所以我假設他們的pom有問題。我無法找到[google-api-services-datastore-protobuf-parent](http://search.maven.org/#search%7Cga%7C1%7Cgoogle-api-services-datastore-protobuf-parent)。我建議你與Google聯繫。 –

回答

3

父POM確實失蹤,但這個固定now

請參閱本issue瞭解更多詳情。