Cool discussion. I do like this idea of modelling the resource VS artefact.

* I change the system clock between publications of a changing artefact.
> Say I publish an artefact, then move the clock back 1 hour, then publish
> the artefact again. The timestamp on the newer artefact is earlier than the
> older artefact.
>

This is a real  - we had that few times at the corpo, i.e. out-of-sync
system clocks led to insane issues in the mavenized environment.


> In short, relative comparison of timestamps is always a bad idea. We
> should be treating them as opaque identifiers (i.e. can only check for
> equality) and never on their own (i.e. include length as well).
>

I'm sold.

Cheers!
-- 
Szczepan Faber
Principal engineer@gradleware
Lead@mockito

Reply via email to