留置权:即使我在 Maven 上找到所有其他 protobuf 罐子,也找不到 protoc 罐子?
lein: Cannot find protoc jar on maven even though I find all the other protobuffer jars on there?
目前构建的一些输出如下:
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"]
前两个没问题,最后一个就失败了!
我一辈子都弄不明白这里到底发生了什么。有线索吗??我以前解决过很多愚蠢的依赖问题,但是这个没有意义。
谢谢!
此特定工件需要您指定描述运行时平台的分类器:
[com.google.protobuf/protoc "3.3.0" :classifier "linux-x86"]
如果您使用 The Central Repository Search Engine 并搜索 "protoc",您会在第一行看到它,并且在 Download
列中列出了所有不同的分类器。
目前构建的一些输出如下:
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"]
前两个没问题,最后一个就失败了!
我一辈子都弄不明白这里到底发生了什么。有线索吗??我以前解决过很多愚蠢的依赖问题,但是这个没有意义。
谢谢!
此特定工件需要您指定描述运行时平台的分类器:
[com.google.protobuf/protoc "3.3.0" :classifier "linux-x86"]
如果您使用 The Central Repository Search Engine 并搜索 "protoc",您会在第一行看到它,并且在 Download
列中列出了所有不同的分类器。