目前从构建中获得一些输出如下:
Retrieving com/google/protobuf/protobuf-java/3.3.0/protobuf-java-3.3.0.jar from central
Retrieving com/google/protobuf/protobuf-java-util/3.3.0/protobuf-java-util-3.3.0.jar from central
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in central (https://repo1.maven.org/maven2/)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in clojars (https://clojars.org/repo/)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in sonatype snapshots (https://oss.sonatype.org/content/repositories/snapshots)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in sonatype releases (https://oss.sonatype.org/content/repositories/releases)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in SonatypeSnapshots (https://oss.sonatype.org/content/repositories/snapshots/)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in SonatypeReleases (https://oss.sonatype.org/content/repositories/releases/)
因此它找到protobuf-java
和protobuf-java-util
很好,但无法找到protoc
??
我查了一下,声称它在那里:https://mvnrepository.com/artifact/com.google.protobuf/protoc
我在project.clj
:
[com.google.protobuf/protobuf-java "3.3.0"]
[com.google.protobuf/protobuf-java-util "3.3.0"]
[com.google.protobuf/protoc "3.3.0"]
它找到前两个罚款,然后在最后一个失败!
我不能为我的生活弄清楚这里发生了什么。任何线索?我之前已经解决了许多愚蠢的依赖问题,但这个问题毫无意义。
谢谢!