Is there any way to cache these or reduce it to one download per referenced library rather than 1 per reference? Thanks for the great tooling which keeps getting better.
Gordon
The code directly responsible for downloading the sources is in MvnBndRepository:
However, that doesn’t explain why this code is being triggered for @Gordon.Hutchison. I was under the impression that sources are never downloaded automatically during builds (hence the reason why . It is only invoked on-demand when you try to do a source lookup. So I’m not sure what’s triggering the source downloads for @Gordon.Hutchison .
A bnd launch will trigger a download of sources during source lookup:
Also, the MavenBndRepository should only try and download the source if it’s not already present in the local Maven cache.
So we probably need a little bit more context from @Gordon.Hutchison to try and debug this one. @Gordon.Hutchison, if you could do a small video capture of the behaviour when it is happening and post it here, that would help a lot. Also please confirm the Bndtools version that you are using. Thanks!