Dependency on subproject does not resolve subproject dependencies

Please see the question here:

Basically, one project (module A) depends on another (module B) which uses custom maven repos to resolve it’s dependencies. However, when resolving the dependencies of module A, it cannot find all the dependencies of module B.

Please help me fix this. Thank you!