* @throws MojoExecutionException
*/
protected RepositoryId getRepository(final MavenProject project,
final String owner, final String name)
throws MojoExecutionException {
RepositoryId repository = null;
if(StringUtils.isNotBlank(name) && StringUtils.isNotBlank(owner)){
repository = RepositoryId.create(owner, name);
}else{
throw new MojoExecutionException("No GitHub repository (owner and name) configured");
}
if (isDebug())
debug(MessageFormat.format("Using GitHub repository {0}",
repository.generateId()));
return repository;
}