function findPlugins (pluginDir) {
    var plugins = [];

    if (fs.existsSync(pluginDir)) {
        plugins = fs.readdirSync(pluginDir).filter(function (fileName) {
            var pluginPath = path.join(pluginDir, fileName);
            var isPlugin = isDirectory(pluginPath) || isSymbolicLink(pluginPath);
            return fileName !== '.svn' && fileName !== 'CVS' && isPlugin;
        });
    }

    return plugins;
}