hyperledger-iroha / iroha-java

https://wiki.hyperledger.org/display/iroha
28 stars 38 forks source link

Maven entry is outdated (0.0.8) #54

Closed Ambrevar closed 4 years ago

Ambrevar commented 4 years ago

See https://search.maven.org/artifact/jp.co.soramitsu/iroha. Would it be possible to update it? It could be useful in particular for those who cannot set up a full JDK environment to build iroha-java. Thanks!

Warchant commented 4 years ago

Use jitpack https://jitpack.io/#hyperledger/iroha-java/6.1.0

Ambrevar commented 4 years ago

Thanks, didn't know about Jitpack, good tip!

Question: Why is Jitpack referring to tag 6.1.0 while the latest release is 1.1.0 on GitHub?

I've added the Jitpack lines to my Leiningen project, then running lein deps I get

> lein deps
Retrieving com/github/hyperledger/iroha-java/client/6.1.0/client-6.1.0.pom from jitpack
...
Retrieving com/github/hyperledger/iroha-java/client/6.1.0/client-6.1.0.jar from jitpack
Could not find artifact io.grpc:protoc-gen-grpc-java:jar:1.12.0 in central (https://repo1.maven.org/maven2/)
Could not find artifact io.grpc:protoc-gen-grpc-java:jar:1.12.0 in clojars (https://repo.clojars.org/)
Could not find artifact io.grpc:protoc-gen-grpc-java:jar:1.12.0 in jitpack (https://jitpack.io)
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.

Any clue why io.grpc:protoc-gen-grpc-java cannot be fetched? (I'm not behind a proxy.)

Warchant commented 4 years ago

@Ambrevar pay attention that actual tag name is different from version in a title. image

Tag name is a semver version of iroha-java library itself. Title version describes compatibility with Iroha.

Ambrevar commented 4 years ago

Oh, indeed, makes sense now, thanks!