title: Maven deploying without uploading any pom file
body: <p>I'm building a multiplatform javafx application. The final process is to create an installer (exe,dmg,deb.. with jre bundled) and upload it to a special "product release" repo. Given how javafx build needs to be done, it runs an jenkins matrix job on 3 different platforms. The last step is the deployment. I attach the installer with the build-helper-maven plugin. </p>
  
  <p>I'm able to upload the installer correctly for one platform, but because the deploy seems to upload the pom file, it cannot be uploaded again from another jenkins slave.</p>
  
  <p>First I was having problem of maven uploading the "main jar", but I managed to disable that by binding the jar plugin to 'none' phase (I use the maven-javafx-plugin which creates own main jar). However I'm unable to disable the pom generation and uploading. I have set</p>
  
  <pre><code>&lt;generatePom&gt;false&lt;/generatePom&gt; 
  </code></pre>
  
  <p>for the maven-deploy-plugin but it seems to not have any effect (I assume it works for the main jar which I have already disabled).</p>
  
  <p>Is it possible to disable the pom generation/upload completely (similar like gradle's 'uploadDescriptor false' option) and only upload 'attached artifacts' ?</p>
  
  <p>EDIT/NOTE: I probably try the deploy file option next, <a href="https://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html" rel="nofollow">https://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html</a>, but it would be nice to know if this can be done on the complete project level</p>