Satish Duggana created KAFKA-4156:
-------------------------------------
Summary: Not able to download tests jar of kafka and kafka-streams
from maven repo.
Key: KAFKA-4156
URL: https://issues.apache.org/jira/browse/KAFKA-4156
Project: Kafka
Issue Type: Bug
Components: packaging
Affects Versions: 0.10.0.1, 0.10.0.0
Reporter: Satish Duggana
Priority: Blocker
Fix For: 0.10.0.1, 0.10.0.0
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-test.jar instead of kafka-streams-0.10.0.0-tests.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]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)