title: maven deploy-file to private artifactory
body: <p>I've set up an artifactory and I am able to to deploy my artifacts to it with <code>mvn deploy</code>. </p>
  
  <p>However, I am unable to to <code>deploy-file</code>, which I am easily able to install:</p>
  
  <pre><code>mvn install:install-file -Dfile=my.jar -DgroupId=org.group -DartifactId=art -Dversion=3.0-SNAPSHOT -Dpackaging=jar
  </code></pre>
  
  <p>When I try:</p>
  
  <pre><code>mvn deploy:deploy-file -Durl=http://myartifactory/artifactory/repositoryId -DrepositoryId=repositoryId -Dfile=my.jar -DgroupId=org.group -DartifactId=art -Dversion=3.0-SNAPSHOT -Dpackaging=jar
  </code></pre>
  
  <p>I always get:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file (default-cli) on project standalone-pom: Failed to retrieve remote metadata org.directwebremoting:dwr:3.0.0-rc3-SNAPSHOT/maven-metadata.xml: Could not transfer metadata org.directwebremoting:dwr:3.0.0-rc3-SNAPSHOT/maven-metadata.xml from/to repository (http://triphop:8081/artifactory/repository): Access denied to: http://triphop:8081/artifactory/repository/org/directwebremoting/dwr/3.0.0-rc3-SNAPSHOT/maven-metadata.xml -&gt; [Help 1]
  </code></pre>
  
  <p>In the log of the artifactory I am getting:</p>
  
  <pre><code>20130809142431|0|REQUEST|non_authenticated_user|GET|/repository/org/group/art/3.0-SNAPSHOT/maven-metadata.xml|HTTP/1.1|401|0
  </code></pre>
  
  <p>Why the maven is trying to fetch the meta data? Why it does not upload them?</p>