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

Not able to download tests jar of kafka and kafka-streams from maven repo.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.10.0.0, 0.10.0.1
    • Fix Version/s: None
    • Component/s: packaging
    • Labels:
      None

      Description

      Below dependency is added in one of our repos to use EmbeddedKafkaCluster but dependency installation fails with an error mentioned later.

      <dependency>
      <groupId>org.apache.kafka</groupId>
      <artifactId>kafka-streams</artifactId>
      <version>0.10.0.0</version>
      <type>test-jar</type>
      <scope>test</scope>
      </dependency>

      This fails with an error below as https://repository.apache.org/content/repositories/snapshots/org/apache/kafka/kafka-streams/0.10.0.0/kafka-streams-0.10.0.0-tests.jar not available. But https://repository.apache.org/content/repositories/snapshots/org/apache/kafka/kafka-streams/0.10.0.0/kafka-streams-0.10.0.0-test.jar is available. You may need to fix POM to install right name which is kafka-streams-0.10.0.0-tests.jar instead of kafka-streams-0.10.0.0-test.jar

      [ERROR] Failed to execute goal on project schema-registry-avro: Could not resolve dependencies for project com.hortonworks.registries:schema-registry-avro:jar:0.1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.kafka:kafka-clients:jar:tests:0.10.0.0, org.apache.kafka:kafka-streams:jar:tests:0.10.0.0: Could not find artifact org.apache.kafka:kafka-clients:jar:tests:0.10.0.0 in central (http://repo1.maven.org/maven2/) -> [Help 1]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              satish.duggana Satish Duggana
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: