I have an eclipse project structure that looks something like this:
eclipse project a project b
All of these projects are Maven pro
Simple way : Run -> Run Configurations... -> Classpath
Run -> Run Configurations... -> Classpath