Lets say my module is dependent on artifact ‘A.jar’ with version ‘1.0’. I run my build script, the artifact is downloaded from binary repository and is cached on my machine. If someone updated the same artifact ‘A.jar’ and uploaded it with same version ‘1.0’ in the binary repository. Running build script again does not download the latest artifact. It seems once the artifact for a given version is cached locally build scripts do not try to download it again.
Shouldn’t there be some check (may be based on timestamp and md5sum) if the cached artifact and that available in binary repository are same or not and if different download the latest one.