public class GitUtil extends Object
@Nullable public static String getBranch(@Nonnull Path gitBaseFolder, org.apache.maven.plugin.logging.Log logger) throws org.apache.maven.plugin.MojoExecutionException
gitBaseFolder - the Git repository "root" folder.logger - the Log to use for logging.null if it couldn't
be determined.org.apache.maven.plugin.MojoExecutionException - If an error occurs during the operation.Copyright © 2024. All rights reserved.