title: Maven Deploy : Return code is: 409, ReasonPhrase:Conflict
body: <p>I am trying to deploy our project artifact i.e. jar file to a remote repo which I have access to.</p>
  
  <p>Below are the steps which I have done but am getting error when trying to deploy the jar,</p>
  
  <ol>
  <li><p>Created settings-security.xml in local m2 repo and created encrypted master password.</p></li>
  <li><p>Use distributionManagement in pom.xml to deploy the artifact to repo. Specified the id, name and url for the repo under repository tag.</p></li>
  <li><p>Put the same id in my settings.xml and provided my sid and svn password (encrypted). I have write access to repo (verified by uploading the jar using tortoise client).</p></li>
  </ol>
  
  <p>Now, when I try to deploy, I get conflict exception. Below is the error,</p>
  
  <blockquote>
    <p>org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
    execute goal
    org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file
    (default-cli) on project : Failed to deploy artifacts: Could not
    transfer artifact abc:jar:1.0.0 from/to abc-repo (url):</p>
  </blockquote>
  
  <p>Return code is: 409, ReasonPhrase:Conflict.</p>