title: Can I include the mvn deploy:deploy-file in the pom or settings.xml instead of cli goal
body: <p>I need to deploy a custom jar to Artifactory along with the jar generated from my Java project. Currently the only method I can find is through command line goal using:</p>
  
  <pre><code>mvn deploy:deploy-file -DgroupId=&lt;group-id&gt; \
    -DartifactId=&lt;artifact-id&gt; \
    -Dversion=&lt;version&gt; \
    -Dpackaging=&lt;type-of-packaging&gt; \
    -Dfile=&lt;path-to-file&gt; \
    -Durl=&lt;url-of-the-repository-to-deploy&gt;
  </code></pre>
  
  <p>Is there a way of including this in the pom file? As a plugin or something?</p>