jin commented on issue #3433: WIP: Use new Bazel plugin to dynamically find 
transitive Maven dependencies
URL: https://github.com/apache/incubator-heron/pull/3433#issuecomment-573919661
 
 
   Looks like you're missing a `@maven` dep somewhere:
   
   ```
   (05:44:45) WARNING: 
/home/travis/build/apache/incubator-heron/heron/healthmgr/tests/java/BUILD:52:12:
 in srcs attribute of java_library rule 
//heron/healthmgr/tests/java:healthmgr-tests: please do not import 
'//heron/healthmgr/src/java:org/apache/heron/healthmgr/HealthManager.java' 
directly. You should either move the file to this package or depend on an 
appropriate rule there
   (05:44:53) Analyzing: 709 targets (392 packages loaded, 5535 targets 
configured)
   (05:44:58) ERROR: 
/home/travis/build/apache/incubator-heron/contrib/spouts/kafka/src/java/BUILD:24:1:
 no such target '@maven//:org_apache_kafka_kafka_clients': target 
'org_apache_kafka_kafka_clients' not declared in package '' defined by 
/home/travis/.cache/bazel/_bazel_travis/be6dac4936703c7eedcb4f5cf38cdd65/external/maven/BUILD
 and referenced by '//contrib/spouts/kafka/src/java:heron-kafka-spout-java'
   (05:44:58) INFO: Call stack for the definition of repository 
'com_google_guava_guava_jdk5_17_0' which is a http_file (rule definition at 
/home/travis/.cache/bazel/_bazel_travis/be6dac4936703c7eedcb4f5cf38cdd65/external/bazel_tools/tools/build_defs/repo/http.bzl:340:13):
    - 
/home/travis/.cache/bazel/_bazel_travis/be6dac4936703c7eedcb4f5cf38cdd65/external/maven/defs.bzl:165:5
    - /home/travis/build/apache/incubator-heron/WORKSPACE:136:1
   (05:44:58) ERROR: 
/home/travis/build/apache/incubator-heron/contrib/spouts/kafka/test/java/BUILD:11:1:
 no such target '@maven//:org_apache_kafka_kafka_clients': target 
'org_apache_kafka_kafka_clients' not declared in package '' defined by 
/home/travis/.cache/bazel/_bazel_travis/be6dac4936703c7eedcb4f5c
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to