Now figuring out the dependencies - there is no tool that will give you that information,
You can try building with the Urber JAR referenced in the POM file. If something does not build - you will have to add extra dependency sections to the POM file.
If you use an AEM API and its not building - test with AEM Dep Finder too: