awslabs / kinesis-kafka-connector

kinesis-kafka-connector is connector based on Kafka Connect to publish messages to Amazon Kinesis streams or Amazon Kinesis Firehose.
Apache License 2.0
153 stars 91 forks source link

Unable to build jar: Could not resolve dependencies #16

Closed smj19 closed 6 years ago

smj19 commented 6 years ago

Hi, I cloned the repo for the gitHub page and tried "mvn package" from the folder but it fails with this error. Please let me know how to fix this.

$mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building amazon-kinesis-kafka-connecter 0.0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://mvn.fanops.net/nexus/content/groups/public/com/amazonaws/amazon-kinesis-producer/0.12.3/amazon-kinesis-producer-0.12.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.920 s
[INFO] Finished at: 2017-12-06T11:19:06-08:00
[INFO] Final Memory: 20M/212M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project amazon-kinesis-kafka-connecter: Could not resolve dependencies for project com.amazonaws:amazon-kinesis-kafka-connecter:jar:0.0.8-SNAPSHOT: Could not transfer artifact com.amazonaws:amazon-kinesis-producer:jar:0.12.3 from/to nexus (http://mvn.fanops.net/nexus/content/groups/public): GET request of: com/amazonaws/amazon-kinesis-producer/0.12.3/amazon-kinesis-producer-0.12.3.jar from nexus failed: Premature end of Content-Length delimited message body (expected: 19124866; received: 1457472 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException