Hi everyone,

Yesterday Luca Toscano and me had a call to look into improving the situation 
of artifact downloads by caching .

I was a bit surprised that the „nexus“ code is still in place and still seem to 
work somehow. 

Since having a repository server (a specialized proxy for maven repos) is 
technically a much cleaner solution than messing with the .m2/repository maven 
cache -- since it can be shared across architectures and os and even support 
more built tools -- I would like to step back from my proposal to use docker 
volumes to share the raw m2 cache between instances.

What need to be done is to either update to a current version of nexus or 
switch to a different maven proxy which can be setup , updated and configured 
more easily.

I asked a search machine for alternatives and tripped over this project 
https://github.com/jenkins-x/bucketrepo 
<https://github.com/jenkins-x/bucketrepo>
which promises to be a low-footprint minimal replacement for nexus, which could 
even use S3 as a backing store.

There was a configuration example for nginx as well : 
https://github.com/lkiesow/weblog.lkiesow.de/blob/master/20170413-nginx-as-fast-maven-repository-proxy.md
 
<https://github.com/lkiesow/weblog.lkiesow.de/blob/master/20170413-nginx-as-fast-maven-repository-proxy.md>

Best 
  Olaf 

Reply via email to