【发布时间】:2016-11-30 07:35:24
【问题描述】:
如何通过curl Nexus 3 上传 jar?
我尝试使用link tips,但没有成功。
这是我的尝试:
curl -v -F r = -F releases hasPom = true and = -F jar -F file = @. / v12.1.0.1 / pom.xml -F file = @. / v12.1.0.1 / ojdbc7.jar -u admin: admin123 http: // localhost: 8081 / repository / maven releases
curl -v -F r = -F releases hasPom = false -F and -F jar = g = com.oracle.jdbc -F = ojdbc7 -F v = 1.0 p = -F jar -F file = @. / v12 .1.0.1 / ojdbc7.jar -u admin: admin123 http: // localhost: 8081 / repository / maven releases
两者都有 400 Bad Request。
【问题讨论】:
-
为什么你的参数中有那么多空格?