git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751941
13f79535-47bb-0310-9956-
ffa450edef68
import java.util.HashSet;
import java.util.List;
import java.util.Set;
+import java.util.zip.ZipException;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.IndexReader;
indexerEngine.index( context, artifactContext );
}
}
+ catch ( ZipException e )
+ {
+ // invalid JAR file
+ log.info( e.getMessage() );
+ }
catch ( IOException e )
{
throw new ConsumerException( e.getMessage(), e );