I'm building a project with Maven. This project has multiple modules. Most of them are located in the same repository (github) but others are located in different repositories (github and bitbucket).
I want my project to be built at once.
This is my schema:
ParentProject (pom.xml) <--- located at bitbucket
_module1
_module2
...
External project (opensource tool for my project at github)
External project (internal tool for my project at bitbucket)
I've taken a look at scm and release plugins in maven, but every one focuses on how to push or commit changes to the repo, not in download any branch from external repos.
How to achieve this?