Fail to build project through maven

233 views
Skip to first unread message

ales.p...@gmail.com

unread,
Oct 14, 2016, 3:42:53 PM10/14/16
to Confluent Platform

Hello, 


I am unable to build the project with the included pom.xml file. The required artifacts are not available, and since the confluent maven repo is not browsable, it is hard to find the correct artifacts. I tried both master and 3.1.x release with the same result.


mvn clean install -U


Failed to execute goal on project kafka-connect-hdfs: Could not resolve dependencies for project io.confluent:kafka-connect-hdfs:jar:3.2.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.kafka:connect-api:jar:0.10.2.0-SNAPSHOT, io.confluent:kafka-connect-avro-converter:jar:3.2.0-SNAPSHOT: Could not find artifact org.apache.kafka:connect-api:jar:0.10.2.0-SNAPSHOT in confluent (http://packages.confluent.io/maven/) -> [Help 1]


Any ideas what artifacts I can put in the pom to make it build?


THanks
Ales


ales.p...@gmail.com

unread,
Oct 14, 2016, 4:47:27 PM10/14/16
to Confluent Platform
Follow-up, 

as discussed https://github.com/confluentinc/kafka-connect-hdfs/issues/138, it seems that master (and most of the previous branches) are not directly buildable, because the SNAPSHOT dependencies that are referenced in the pom are not published to the confluent maven repo.

Hence we can either build all the missing dependencies and publish them in a local repo and then build the main project, or we can build the project form the latest tag, which doesn't have SNAPSHOT references - in this case it is tag v3.0.1.


Hope this may help someone (beside the future me, who forgot about the solution)

Ales
Reply all
Reply to author
Forward
0 new messages