dttlgotv commented on issue #3456: compile error: Failed to fetch Maven dependency: URL: https://github.com/apache/incubator-heron/issues/3456#issuecomment-588023145 > > There was an issue which was fixed already in which HTTP was being used instead of HTTPS. Maven Central switched to only work with HTTPS. You can read more about it here: https://blog.sonatype.com/central-repository-moving-to-https > > Make sure you are using a branch which includes this fix. #3436 > > I checkout branch to master pulled 5 days before. The errors is below: > > no such package '@commons_cli_commons_cli//jar': Failed to fetch Maven dependency: Could not transfer artifact commons-cli:commons-cli:jar:1.3.1 from/to commons_cli_commons_cli (https://repo1.maven.org/maven2/): repo1.maven.org and referenced by '//tools/java/src/org/apache/bazel/checkstyle:checkstyle_cpp I cancel the proxy and compile again, the error is below: DEBUG: Rule 'io_bazel_rules_scala' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "5abd638278de10ccccb0b4d614158f394278b828708ba990461334ecc01529a6" ERROR: /Users/cc/heron/incubator-heron/tools/java/src/org/apache/bazel/checkstyle/BUILD:12:1: no such package '@com_puppycrawl_tools_checkstyle//jar': Failed to fetch Maven dependency: Could not transfer artifact com.puppycrawl.tools:checkstyle:jar:6.17 from/to com_puppycrawl_tools_checkstyle (https://repo1.maven.org/maven2/): repo1.maven.org and referenced by '//tools/java/src/org/apache/bazel/checkstyle:checkstyle_java' ERROR: Analysis of target '//heron/config/src/yaml:conf-local-client' failed; build aborted: no such package '@com_puppycrawl_tools_checkstyle//jar': Failed to fetch Maven dependency: Could not transfer artifact com.puppycrawl.tools:checkstyle:jar:6.17 from/to com_puppycrawl_tools_checkstyle (https://repo1.maven.org/maven2/): repo1.maven.org INFO: Elapsed time: 30.216s INFO: 0 processes. FAILED: Build did
---------------------------------------------------------------- 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
