import org.apache.maven.archiva.indexer.search.CrossRepositorySearch;
import org.apache.maven.archiva.indexer.search.SearchResultLimits;
import org.apache.maven.archiva.indexer.search.SearchResults;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* Searcher used for testing purposes only.
public class IndexJavaPublicMethodsCrossRepositorySearch
implements CrossRepositorySearch
{
+ private Logger log = LoggerFactory.getLogger( IndexJavaPublicMethodsCrossRepositorySearch.class );
+
private ManagedRepositoryConfiguration localIndexedRepo;
private RepositoryContentIndexFactory indexFactory;
}
catch ( ParseException e )
{
+ log.error( e.getMessage() );
}
return new SearchResults();
}
catch ( java.text.ParseException e )
{
-
+ log.error( e.getMessage() );
}
}
}
}
catch ( IOException e )
{
-
+ log.error( e.getMessage() );
}
finally
{
}
catch ( IOException ie )
{
-
+ log.error( ie.getMessage() );
}
}
}
catch ( RepositoryIndexSearchException e )
{
-
+ log.error( e.getMessage() );
}
}
return searchableList;