title: How to solve 405 error on maven build to Nexus 3?
body: <p>I have created proxy repos in <code>Nexus 3</code> pointing to <code>Nexus 2</code> hosted repositories. This is to snapshot and release repositories on <code>Nexus 2</code>. Now, on <code>distributionManagement</code> tag, I am using the proxy URLs and trying do a <code>mvn clean deploy</code>. I am getting the following error:</p>
  <pre><code>[INFO] Error deploying artifact: Failed to transfer file: http://nexus3url/repository/m2-snapshots/path/abc-1.1.4-SNAPSHOT.pom. Return code is: 405
  
  Has anyone tried this?
  </code></pre>