title: Error: POM not present while using mvn deploy command
body: <p>I am using below mentioned command to send jar from my local workspace to Artifcatory in maven repo. I am not using pom.xml to do so. I have configured setting.xml with credentials for Artifactory. </p>
  
  <pre><code>mvn deploy:deploy-file -Durl=https://myartifactory.fkc.com/maven-prereleases
  -DrepositoryId= arti-mavenpre -Dfile=trial.zip -DgroupId=com/org/mydir
  -DartifactId=test -Dversion=1.0 -Dpackaging=zip
  </code></pre>
  
  <p>I get following error while executing above command:</p>
  
  <pre><code>[ERROR] The goal you specified requires a project to execute but there is no
  POM in this directory (C:\Users\raji\script). Please verify you invoked Maven
  from the correct directory. -&gt; [Help 1]
  </code></pre>
  
  <p>What am I doing wrong? I don't want to use pom.xml file. How to make it work without pom?</p>
  
  <p>Thank you.</p>