hi all,
i am creating an EAR file using maven-ear-plugin.
the EAR that I am creating has a unique structure, it must includes folders,sub-folders, war files and jars.
i was able to create the structure i wanted by using the jarModule, for example:
By doing the above the POM file has gotten huge and I am trying to find a way to reduce its size and make it more generic.
this is the structure of what i have so far, will try to make it short:
What I am trying to achieve here is either to move the jarModule/webModule to a different file and include them in my pom, or perhaps inject the modules from a different location.
My desired end result here is that i could use this pom for various projects and each project would only have to update the web/jar modules.
Regarding the dependencies i assume that they should remain in this pom but i am open for other suggestions as well
your advice would be greatly appreciated, thank you!