We have created a few projects (modules in terms of maven). when compiled they are dependent on other modules (projects in Jira with independent bitbucket repositories).
While the totally independent modules get compiled successfully, the modules which uses other modules/artifacts as dependencies get failed as they are not able to find the relevant dependencies. which considering the fact that the builds in bitbucket are executed in docker they are not persisted.
I tried using $BITBUCKET_CLONE_DIR, but unfortunately not able to make any headway on how to use it, wherein we can refer these dependencies.
It would be great if somebody can point us to the right documentation and/or provide any help which can help us run these pipelines