{
result = resolveFromRepository( request );
if ( StringUtils.isEmpty( result.getVersion() ) )
{
throw new PluginVersionResolutionException( request.getGroupId(), request.getArtifactId(),
request.getLocalRepository(),
request.getRemoteRepositories(),
"Plugin not found in any plugin repository" );
}
else if ( logger.isDebugEnabled() )