Added submodules to demo the issue.
Adding aggregator pom to build both projects in the same flow.