title: how to upload JAR to Nexus OSS 3?
body: <p>How to perform an upload of a jar via <code>curl</code> the Nexus 3?
  I tried using the <a href="https://support.sonatype.com/hc/en-us/articles/213465818-How-can-I-programatically-upload-an-artifact-into-Nexus" rel="noreferrer">link tips</a> but without success.</p>
  
  <p>Here are my attempts:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>Both have 400 Bad Request.</p>