I am creating a tool to schedule two maven builds one after another using maven-invoker APIs.
Both maven projects are multi-module huge projects.
The first projects build without issues and the next project build stucks after sometime.
I suspect there is some kind of thread related issue which causes it.
I have raised an issue on jira -
I have also attached thread-dump for your reference.