Added PackageManager::generateResourceRepository()
Added support for plugins