2013-11-04 38 views
0

我試圖模擬Maven工件發佈到我的Nexus存儲庫,試圖瞭解爲什麼我的gradle構建失敗。缺少請求實體對PUT到Nexus的響應

我嘗試:

curl -u 'me:secret'\ 
    -X PUT\ 
    -T my-artifact\ 
    -H 'Content-Type: maven-artifact/3.0.4'\ 
    http://nexus/nexus/content/repositories/snapshots 

,我也得到:

<body> 
    <h1>400 - Bad Request</h1> 
    <p>Missing request entity</p> 
</body> 

什麼是 「失蹤實體」?

+0

有關http://stackoverflow.com/questions/19733585/how-do-gradle-uploads-really-work –

回答