Share cache between different projects

It’s possible to share cache between projects?

If I have many projects that share many maven libraries make sense to share a local repository between them to improve build time and consume less space.