Re: Empty jars in local .m2/repository

2021-12-01 Thread Tamás Cservenák
Just googled and found this old but rather very similar (0 byte files) SO post: https://stackoverflow.com/questions/38537913/artifactory-virtual-repo-some-files-cant-be-downloaded-zero-bytes-sent-to-cli HTH T On Wed, Dec 1, 2021, 16:43 Slawomir Jaranowski wrote: > Environment: > - vanilla Mave

Re: Empty jars in local .m2/repository

2021-12-01 Thread Slawomir Jaranowski
Environment: - vanilla Maven - Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) - maven build in single thread mode - no change for locking - Artifactory 6.23.28 as MRM in settings.xml I have defined one repository for private items and mirror for the rest but ... I found that th

Re: Empty jars in local .m2/repository

2021-12-01 Thread Tamás Cservenák
Forgot to respond: - on my laptop (just OSS work, no MRM used): no 0 byte files (6 or so months old laptop) - on my desktop ($$$ work + OSS work, MRM used): same as Romain, found only lock/part files that are 0 (this is 5 years old desktop) Both are Linux Mint 20.2. HTH T On Wed, Dec 1, 2021 at

Re: Empty jars in local .m2/repository

2021-12-01 Thread Tamás Cservenák
Slawomir, Qs: - do you use only "vanilla" Maven? (so ASF one, no mvnd, takari smart builder, etc) - do you use maven single threaded or MT? - do you use some alternative than default locking? - I think you are "solo" user, not AV affected corporation, but still, do you use any MRM (and if yes, whi

Re: Empty jars in local .m2/repository

2021-12-01 Thread Paul Hammant
Corporations that do anti-virus content filtering of incoming GETs, have occasionally seen corrupt jars in ~/.m2 and their shared Nexus/Artifactory. In that case there was text content for the jar (insead of a zip) and if you looked at it, you saw a HTML page talking of the A-V transgression but w

Re: Empty jars in local .m2/repository

2021-12-01 Thread Slawomir Jaranowski
With Maven 3.6.2 I had similar issues ... so last week I upgrade on my CI system to 3.8.4 ... not fix śr., 1 gru 2021 o 12:27 Romain Manni-Bucau napisał(a): > Hi, > > I have a few coming from p2 plugins and .lock/.part files (missing cleanup > but no big deal I guess). All other 0 sized artifact

Re: Empty jars in local .m2/repository

2021-12-01 Thread Romain Manni-Bucau
Hi, I have a few coming from p2 plugins and .lock/.part files (missing cleanup but no big deal I guess). All other 0 sized artifacts are related to data exploded in .m2 by plugins but unrelated to maven (like graal distro exploded, npm tar.gz exploded etc). Side note: I mainly use 3.6.3 on projec

Empty jars in local .m2/repository

2021-12-01 Thread Slawomir Jaranowski
Hi, >From time to time I have jars in .m2/repository of size 0. Probably some network issues are the reason for this situation. I can't reproduce this today. I need some hints which component is responsible for storing artifacts in .m2 Or some other hints which can help to reproduce, debug such