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 <s.jaranow...@gmail.com>
wrote:

> 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 the build uses custom maven plugins with custom or old
> resolvers ....
> some of them execute maven in embedded mode and some fork new maven
> instances ...
> without logs .... corpo way :-(
>
> so thanks everybody for helping .... probably it is only my problem.
>
>
>
> śr., 1 gru 2021 o 15:09 Tamás Cservenák <ta...@cservenak.net> napisał(a):
>
> > 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, which one?)
> >
> > Thanks
> > T
> >
> >
> > On Wed, Dec 1, 2021 at 12:23 PM Slawomir Jaranowski <
> > s.jaranow...@gmail.com>
> > wrote:
> >
> > > 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 a
> situation.
> > >
> > > Does anybody else have a similar problem?
> > >
> > > Please try on your system:
> > > find ~/.m2/repository -type f -size 0
> > >
> > > I use Maven 3.8.4
> > >
> > > --
> > > Sławomir Jaranowski
> > >
> > > https://twitter.com/SlawekJaran
> > > https://github.com/slawekjaranowski
> > > https://linkedin.com/in/slawomirjaranowski
> > >
> >
>
>
> --
> Sławomir Jaranowski
>

Reply via email to