title: Is it possible to have <packaging>jar</packaging> in a parent pom file?
body: <p>I am trying to not reinvent the wheel here with my POM files.  I have a pom that I am trying to convert into a parent pom.xml file in maven.</p>
  
  <p>The project is setup as the following structure:</p>
  
  <pre><code>    core
      |
       ---- pom.xml
      |
       ---- Proj A
            | 
             ---- &lt;parent&gt; pom.xml
            |
            Proj A - module 1
            |
             ---- pom.xml
            |
            Proj A - module 2
            |
             ---- pom.xml
     |
      ---- Proj B
           |
            ---- pom.xml
  </code></pre>
  
  <p>I have everything seemingly set up correctly, except something is throwing me off.  I have this defined in the cor pom.xml file:</p>
  
  <pre><code>    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.imx.core&lt;/groupId&gt;
      &lt;artifactId&gt;imx-core&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;pom&lt;/packaging&gt;
  &lt;modules&gt;
      &lt;module&gt;Proj A&lt;/module&gt;
      &lt;module&gt;Proj B&lt;/module&gt;
  &lt;/modules&gt;
  </code></pre>
  
  <p>It all seems to build except the imx-core artifact, which it's putting in the .m2 repo. Since the packaging is no longer "jar" but now "pom", how would I go about creating the jar package from the core's pom file?</p>
  
  <p>The long way to do it (I'm assuming) is to create a completely new pom which is a dedicated parent and child out all the other poms?  If this could be done in the existing core/pom.xml file that would be better.  Or am I not thinking about this the right way?</p>