title: Packaging jar is invalid Aggregator project need pom as packaging
body: <p>My project has different modules.</p>
  
  <ul>
  <li>Each module has a pom.xml which specifies jar packaging. </li>
  <li>Each pom refers to common parent.</li>
  <li>In the parent module there is also a pom.xml which includes all the modules.</li>
  </ul>
  
  <p>When I tried to package using the pom.xml of the parent module, it shows the error - "Packaging jar is invalid Aggregator project need pom as packaging".</p>
  
  <p>What can I do to make an executable jar of the application from maven?</p>