ipfs-shipyard / java-ipfs-http-client

A Java implementation of the HTTP IPFS API
MIT License
539 stars 243 forks source link

jar V1.2.1 from Jitpack doesnt come packed with the dependencies #97

Closed tomerweisman closed 5 years ago

tomerweisman commented 6 years ago

Hi

when importing the V.1.2.1 jar from jitpack - the dependencies (multihash, multiaddr, etc...) are not being packed with it. you need to add the dependencies manually.

going over V1.2.1 Jitpack build log:

[WARNING] Some problems were encountered while building the effective model for io.ipfs:api:jar:v1.2.1
[WARNING] 'dependencies.dependency.systemPath' for com.github.multiformats:java-multiaddr:jar should not point at files within the project directory, ${project.basedir}/lib/multiaddr.jar will be unresolvable by dependent projects @ line 64, column 16
[WARNING] 'dependencies.dependency.systemPath' for com.github.multiformats:java-multihash:jar should not point at files within the project directory, ${project.basedir}/lib/multihash.jar will be unresolvable by dependent projects @ line 71, column 16
[WARNING] 'dependencies.dependency.systemPath' for com.github.multiformats:java-multibase:jar should not point at files within the project directory, ${project.basedir}/lib/multibase.jar will be unresolvable by dependent projects @ line 78, column 16
[WARNING] 'dependencies.dependency.systemPath' for com.github.ipld:java-cid:jar should not point at files within the project directory, ${project.basedir}/lib/cid.jar will be unresolvable by dependent projects @ line 85, column 16`

is there a way to fix it, so the jar will be packed with all dependencies? thanks