reifyhealth / lein-git-down

A Leiningen plugin for resolving dependencies from Git
MIT License
82 stars 6 forks source link

Fix for cases where checksum file already exists #11

Closed manderson202 closed 5 years ago

manderson202 commented 5 years ago

In general, the artifacts that are produced by calls to the Maven Wagon should be idempotent. In this particular case when resolving transitive git dependencies the checksum call was made twice. The second time it failed because the checksum file already existed and the regex confused it for the file to checksum (eg: pom or jar). This fixes the regex for these cases.