result.setVersion( version );
result.setRepository( repo );
}
else
{
throw new PluginVersionResolutionException( request.getGroupId(), request.getArtifactId(),
request.getRepositorySession().getLocalRepository(),
request.getRepositories(),
"Plugin not found in any plugin repository" );
}
}