adding missing classifier parameter.. <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> <version>0.10.0.0</version> <type>test-jar</type> <classifier>test</classifier> </dependency>
On Tue, Sep 13, 2016 at 12:07 PM, Manikumar Reddy <manikumar.re...@gmail.com > wrote: > Hi, > > Kafka uses "test" as classifier (default is "tests" ) for test jars. > We can add <classifier>test</classifier> parameter to dependency tag to > resolve the error. > > <dependency> > <groupId>org.apache.kafka</groupId> > <artifactId>kafka-streams</artifactId> > <version>0.10.0.0</version> > <type>test-jar</type> > <scope>test</scope> > </dependency> > > Thanks > Manikumar > > On Tue, Sep 13, 2016 at 11:43 AM, Satish Duggana <satish.dugg...@gmail.com > > wrote: > >> Hi, >> >> 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.j >> ar >> >> >> [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] >> >> >> JIRA is raised at https://issues.apache.org/jira/browse/KAFKA-4156. >> >> Thanks, >> Satish. >> > >