sonatype/nexus — pull request #284 by cstamas (2012-02-07 18:38:21+00:00)
Title: Fix for IT Nexus3939

It happened to me on local full builds, that this IT got "stuck"
and was restarting Nexus over and over again.

If you take a peek at sources, you will see it will restart Nexus as
many times as the number of "cfs" Lucene segments grow over 7. After stopping
build and inspecting workdir, I realized that in my case, Timeline has almost 20
files, but only 3 of them had "cfs" extension.

This fix simply makes "easier" to corrupt Timeline Lucene index (this is what IT actually
tests, Nexus recovering from corrupted timeline) by taking in account any Lucene segment file
_except_ the segment index (that causes other problem then index corruption)