How can I share dependency cache between repositories?


We have a 4 different Java modules in our project. Each one in it's own repository.

The problem is that some of them are dependent on other.

We're currently moving from Jenkins, where all repositories use same maven local repo, but here every bitbucket repository use own maven repo dependency cache, so I can't build my code due the fact that dependency is stored in another repo cache.


Can I somehow group repositories, make them use one maven cache, or access other repository cache from another one?

1 answer

0 votes

I have the same question and exactly the same problem.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

656 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot