nicoulaj / checksum-maven-plugin

Compute Maven project artifacts/dependencies/files checksum digests.
https://checksum-maven-plugin.nicoulaj.net
Apache License 2.0
42 stars 40 forks source link

ignore line endings in text files #126

Closed delanym closed 1 year ago

delanym commented 3 years ago

We checksum sql and the like. We've had to mandate a line ending at git checkout, but this only applies once the file is checked out. Building a snapshot JAR with a new SQL file might result in a different checksum. The plugin seems the most obvious place to strip line ending before checksuming.

delanym commented 1 year ago

This should be handled at checkout with .gitattributes