Revert "add curl option for uploading to nexus"

This reverts commit c11f0c6c41b6d7502407a6322cfd252e4838f2f0.