How to cache maven artifacts when using Docker?


I have a maven project which I am building inside a docker container using the "Run step within Docker container" option, however all its dependencies are downloaded each time the build runs.

How can I cache the artifacts?

I have tried the "Use own local artifact repository" option to no avail.


1 comment

For anyone else interested, the issue is being addressed here:


Please sign in to leave a comment.