Wagon wagon = wagonManager.getWagon( repository.getProtocol() );
Repository artifactRepository = new Repository( repository.getId(), repository.getUrl() );
wagon.connect( artifactRepository );
collected = new ArrayList();
scan( wagon, "/", collected );
wagon.disconnect();
return collected;
}
catch ( UnsupportedProtocolException e )