Consider the following enterprise application layering example:
- project-services -> POJO Services layer
- project-web -> Web application, depends upon 'project-services', deployed as a WAR
- project-web-services -> Web Services , depends upon 'project-services', deployed as a separate WAR, not currently exposed over internet
- project-standalone -> Cron Jobs, depends upon 'project-services'
What would be the right approach for organizing this in Maven. Should I create a multi-module maven project? if 'project-services' is a Maven module, can it be shared with other three projects each of which is an independent deployable unit?
In my previous projects I have simply created 4 different Maven projects and never felt much need of anything else.
Want to validate whether there is a better way than what I have been doing previously.