4 ms·
Hmm, I Java world we pretty much always used a local (company-owned) Maven proxy server, which grabbed packages from public repos and cached them locally to mak
by izacus 9y ago
Hmm, I Java world we pretty much always used a local (company-owned) Maven proxy server, which grabbed packages from public repos and cached them locally to make sure builds still work if public servers were down or slow... or packages disappeared.
This isn't a standard practice in JS world?
- bpicolo 9y agoIt is at big orgs, but not small shops.
- usernam33 9y agoWe do it even at home. Not full dep-server but local backup.
- tomjakubowski 9y agoI’ve worked at places where the Java devs used Maven Central directly. I’ve also worked at a place where the Node devs use an on-premises copy of dependencies for builds and deploys. It might not be as standard a practice in the Java world as you think.
- brown9-2 9y agoWhere did those Java devs who pulled from Maven central directly publish their artifacts?
- stephengillie 9y agoPossibly Sonarqube Nexus. The Java devs at my workplace use Sonarqube along with Jenkins and Maven on the same server. I believe they communicate through the shared directory on the file system. (Pet peeve: another product named "Nexus". Please choose original names for your software.)
- trampi 9y agoIt's Sonatype Nexus, Sonarqube is the code quality checker.
- javajosh 9y agoYes, for those who use `yarn`. (Yarn's package caching looks a lot like Mavens)
- fcarraldo 9y agoyarn does local caching in developer laptops. What GP is referring to is having an on-prem private dependency server which acts as a cache and proxy to the centralized public dependency repo.
- mjal 9y agoWe use Nexus at work and have linked up NPM to it along with several Maven repos. I don't know why anyone wouldn't do this if they were a business.
- james-mcelwain 9y agoYes, of course. A centralized repository for a package manager is always going to be a single point of failure.
- ake1 9y agoi use yarn-offline-mirror and save all tarballs in the repository, works fairly well.
- rmrfrmrf 9y agoYes, if your company has Artifactory or similar. I think most of these outraged folks are just memeing.
- 8n4vidtmkvmk 9y agoNot "standard", but there's definitely a couple solutions for this. We tried one at my work but it seemed a bit flakey.