2017-05-05 6 views
2

は現在、ビルドからいくつかの出力を有する:lein:他のprotobuffer jarファイルが見つかっても、maven上のproto jarファイルが見つかりませんか?次のように

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-javaprotobuf-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"] 

それは最初の二つの罰金は、最後に失敗した見つけました!

私の人生にとって、ここで何が起こっているのか理解できません。すべての手がかり?以前は多くの愚かな依存関係の問題を解決しましたが、これは意味をなさないものです。

ありがとうございます!

答えて

1

この特定のアーティファクトは、ランタイム・プラットフォームを記述する分類子を指定する必要があります:

[com.google.protobuf/protoc "3.3.0" :classifier "linux-x86"] 

あなたがThe Central Repository Search Engineを使用し、「protoc」を検索すると、すべての異なる分類を持つ最初の行に表示されますDownload列に記載されています。

関連する問題