I have a general question about Maven's multi module project. When and why to go for it?
Maven – Why and when to create a multi-module Maven project
mavenmulti-moduleproject-organization
Related Topic
- Java – How to add local jar files to a Maven project
- Maven – Updating version numbers of modules in a multi-module Maven project
- Java – What exactly is a Maven Snapshot and why do we need it
- Java – IntelliJ – Convert a Java project/module into a Maven project/module
- Eclipse – How to fix error “Updating Maven Project”. Unsupported IClasspathEntry kind=4
- Java – Cannot change version of project facet Dynamic Web Module to 3.0
Best Answer
The answer of @Esko Luontola
could be misinterpreted. If you have modules which will be deployed separately, it's exactly the opposite. In such case, you should never create a multi-module build. This should be done via simple separate maven projects.
The idea of a multi-module build is if you have modules which belong together like an ear project which usually consists of several others like client, server, ejb, war, etc. This is usually handled via a multi-module build which means all modules have the same version number but can be accessed and used by other separately.