I have several JSF projects (built by maven) which depend on a project with common web resources.
I have two possibilities:
a) All projects have packaging type war and the maven-war-plugin will merge everything into one war (overlay).
b) My project with common web resources is packaged as war and all the other projects become jar artifacts. These projects have ALL their web resources under src/main/resources/META-INF/resources (servlet 3 API) and no longer have a src/main/webapp folder.
Are there disadvantages with this approach?
I think, b) shows great modularity but the "new" directory structure could confuse the developers.