We have two modules parent and child, If we add packaing type as 'pom' in child pom.xml file, when we add child module pom.xml in maven projects in intellij it will load dependent modules(parent) pom.xml files automatically but if we create jar file for child module it contains only parent module files,it is not adding child module files.but if we change with 'jar' we need to add manually parent and child modules pom.xml files in maven projects in intellij
Is it possible to add two packaging types in maven with that I can load dependent pom files automatically and in jar I will get child and parent module files