title: How to generate jar for maven parent project
body: <p>Maven requires a parent project to have</p>
  
  <p><code>&lt;packaging&gt;pom&lt;/packaging&gt;</code></p>
  
  <p>clause in the parent's pom.xml. When such a project installed, only a pom-file generated into the maven repository. Jar-file is not generated, no matter if the parent project has any Java code. That forces me to have extra empty parent projects, which is overkill. Logically, some of my libraries could be parents at the same time.</p>
  
  <p>Is there a way to generate both pom and jar files for a parent project without removing/adding the <code>packaging</code> clause between installs?</p>