[
https://issues.apache.org/jira/browse/MBUILDCACHE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865890#comment-17865890
]
ASF GitHub Bot commented on MBUILDCACHE-99:
-------------------------------------------
olamy commented on PR #161:
URL:
https://github.com/apache/maven-build-cache-extension/pull/161#issuecomment-2227802236
Maybe you could add an IT test? Thanks
> 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
>
> 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)