title: maven deploying 3rd pom's without jar to nexus repository
body: <p>When I want to deploy 3rd jars to my nexus 3 repository I use this command:</p>
  
  <pre><code>mvn deploy:deploy-file
  -Dfile=&lt;path-to-jar&gt;
  -DpomFile=&lt;path-to-pom&gt;
  -DrepositoryId=&lt;id-to-map-on-server-section-of-settings.xml&gt;
  -Durl=&lt;url-of-the-repository-to-deploy&gt;
  </code></pre>
  
  <p>but this command works only on jars with pom, and there is many artifacts that have only pom without jar, so i am looking for a way to deploy only pom without a jar file. My maven version is 3.3.9</p>