title: 405 Method Not Allowed when deploying artifact to Nexus
body: <p>I am deploying an artifact to a Nexus snapshot repository that allows redeployment, using the maven command:</p>
  <pre><code>mvn deploy:deploy-file -Durl=https://nexus.perque.com/repo/browse
  /pont-aeri -DrepositoryId=tomcat-nexus.devops-snapshots -DgroupId=com.pont.aeri.pastis -DartifactId=pastis -Dversion=0.0.1-SNAPSHOT -Dpackaging=zip  -Dfile=D:\Users\pastis\IdeaProjects\pastis\pastis-web\target\pastis.war
  </code></pre>
  <p>but I have this error:</p>
  <pre><code>rds/0.0.2/pastis.zip 405 Method Not Allowed
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (Sin
  </code></pre>