I have a project with one main module that use pom
packaging and several submodules that are defined to use jar
packaging. I want to have some of them ready to run on JDK7 and other for JDK8 (and eventually embed those for JDK7 as dependencies in the JDK8 counterpart).
The goal is to release the submodules as independent jars (e.g. on Maven Central)
Is this approach correct? Any drawback?