使用命令上传jar包到nexus上
curl -v -u 'admin:123456' --upload-file kafka_2.11-1.1.0.jar http://10.0.0.1:8081/nexus/repository/maven-releases/org/apache/kafka/1.1.0/kafka_2.11-1.1.0.jar
curl -v -u 'admin:123456' --upload-file kafka_2.11-1.1.0.jar http://10.0.0.1:8081/nexus/repository/maven-releases/org/apache/kafka/1.1.0/kafka_2.11-1.1.0.jar