corda / accounts

Accounts on Corda
Other
36 stars 38 forks source link

Could not resolve net.corda:corda-core:4.3-RC01 #68

Closed opticyclic closed 5 years ago

opticyclic commented 5 years ago

The build fails to resolve the corda jars:


* What went wrong:
Execution failed for task ':contracts:compileKotlin'.
> Could not resolve all files for configuration ':contracts:compileClasspath'.
   > Could not resolve net.corda:corda-core:4.3-RC01.
     Required by:
         project :contracts
      > Could not resolve net.corda:corda-core:4.3-RC01.
         > Could not get resource 'https://jitpack.io/net/corda/corda-core/4.3-RC01/corda-core-4.3-RC01.pom'.
            > Could not GET 'https://jitpack.io/net/corda/corda-core/4.3-RC01/corda-core-4.3-RC01.pom'. Received status code 522 from server: Origin Connection Time-out

See the logs in this CI run: https://dev.azure.com/opticyclic/corda-accounts-ci/_build/results?buildId=5

This is probably due to the ordering of the repositories.

It is further compounded by the fact that mavenLocal() is included which will hide the issue from developers that are also working on the main corda repo and have the dependency there.