Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10670

repo.maven.apache.org: Name or service not known

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None
    • Environment:
      Fedora 33, Aarch64

      Description

      ./gradlew jar 

      fails: 

      > Configure project :
      Building project 'core' with Scala version 2.13.3
      Building project 'streams-scala' with Scala version 2.13.3

      > Task :clients:processMessages
      MessageGenerator: processed 121 Kafka message JSON files(s).

      > Task :clients:compileJava FAILED

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':clients:compileJava'.
        > Could not resolve all files for configuration ':clients:compileClasspath'.
        > Could not resolve org.xerial.snappy:snappy-java:1.1.7.7.
        Required by:
        project :clients
        > Could not resolve org.xerial.snappy:snappy-java:1.1.7.7.
        > Could not get resource 'https://repo.maven.apache.org/maven2/org/xerial/snappy/snappy-java/1.1.7.7/snappy-java-1.1.7.7.pom'.
        > Could not HEAD 'https://repo.maven.apache.org/maven2/org/xerial/snappy/snappy-java/1.1.7.7/snappy-java-1.1.7.7.pom'.
        > repo.maven.apache.org: Name or service not known
      • Try:
        Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

      Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
      Use '--warning-mode all' to show the individual deprecation warnings.
      See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

      BUILD FAILED in 21s
      4 actionable tasks: 4 executed

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              LutzWeischerFujitsu Lutz Weischer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: