}
@VisibleForTesting
void putGitDescribe(@NotNull Properties properties, @NotNull Repository repository) throws MojoExecutionException {
try {
DescribeResult describeResult = DescribeCommand
.on(repository)
.withLoggerBridge(loggerBridge)
.setVerbose(verbose)
.apply(gitDescribe)
.call();
put(properties, COMMIT_DESCRIBE, describeResult.toString());
} catch (GitAPIException ex) {
throw new MojoExecutionException("Unable to obtain git.commit.id.describe information", ex);
}
}