[ https://issues.apache.org/jira/browse/MBUILDCACHE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MBUILDCACHE-99: ------------------------------------ Fix Version/s: 1.3.0 > Project checksum fails to identify moved files in certain cases > --------------------------------------------------------------- > > Key: MBUILDCACHE-99 > URL: https://issues.apache.org/jira/browse/MBUILDCACHE-99 > Project: Maven Build Cache Extension > Issue Type: Bug > Affects Versions: 1.2.0 > Reporter: Amir Hadadi > Priority: Major > Labels: pull-request-available > Fix For: 1.3.0 > > > Input files checksum is calculated by sorting all files and using their > content (but not their path) to update a checksum. > Let's say that there are 2 files named A,B and B gets renamed to C. Since the > order of the files didn't change and the contents of the files didn't change, > the input files checksum remains the same. > The solution is to include the normalized file path in the file checksum > calculation. -- This message was sent by Atlassian Jira (v8.20.10#820010)