rules_jvm_external icon indicating copy to clipboard operation
rules_jvm_external copied to clipboard

Relocated dependencies doesn't resolve

Open mandrean opened this issue 6 years ago • 4 comments

While trying to build a project I run into this error:

ERROR: /private/var/tmp/_bazel_smandrean/5f7e17baa0f0d8192b57baed7ff78f69/external/alchemist/BUILD:4840:9: in deps attribute of jvm_import rule @alchemist//:org_mock_server_mockserver_core: rule '@alchemist//:org_apache_commons_commons_io' does not exist
WARNING: errors encountered while analyzing target '//alchemist:alchemist': it will not be built

Even if I manually add org.apache.commons:commons-io:1.3.2 to the maven_install it still doesn't build.

While inspecting https://mvnrepository.com/artifact/org.apache.commons/commons-io & https://repo1.maven.org/maven2/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.pom, I notice:

image

and

image

So, to me it seems like rules_jvm_external and/or Coursier can't resolve relocated dependencies?

mandrean avatar Sep 24 '19 09:09 mandrean