I have an eclipse project structure that looks something like this:
eclipse project a project b
All of these projects are Maven pro
What you need to do is this:
You should be ready to go. It's actually only a 2 minute exercise. Good luck