simpligility / maven-repository-tools

Tools for interacting with Maven repositories
Eclipse Public License 1.0
137 stars 66 forks source link

Ignore hidden files #39

Closed whittlec closed 6 years ago

whittlec commented 6 years ago

Consider a file as visible if it is not hidden and it does not start with a dot.

Using the utility to copy artifacts from a Nexus 2 repository on the filesystem to Nexus 3 failed because the utility treated the Nexus control directories (.index, .meta, .nexus) as visible.

This change will treat . files as hidden even when they're not on Unix, and allows the copying to progress.

mosabua commented 6 years ago

That was stupid logic error on my end. Do you need a new release with the merge?

whittlec commented 6 years ago

A new release would help. Thanks!

mosabua commented 6 years ago

I will get it out the coming week.

mosabua commented 6 years ago

done