* @throws MojoExecutionException
* If the repository cannot be created.
*/
protected ScannerPluginRepository getScannerPluginRepository(Store store, Map<String, Object> properties) throws MojoExecutionException {
try {
return new ScannerPluginRepositoryImpl(pluginConfigurationReader, store, properties);
} catch (PluginRepositoryException e) {
throw new MojoExecutionException("Cannot create rule plugin repository.", e);
}
}