Package org.codehaus.mojo.build.git

Examples of org.codehaus.mojo.build.git.GitBranchParseCommand.execute()


            } else if (repository.getProviderRepository() instanceof GitScmProviderRepository) {
              GitBranchParseCommand command = new GitBranchParseCommand();

              command.setLogger(getLogger());

              ScmResult execute = command.execute(repository.getProviderRepository(),
                  new ScmFileSet( scmDirectory ),
                  new CommandParameters());
              String output = execute.getCommandOutput();
              getLog().debug("Output: " + output);
              String[] split = StringUtils.split(output);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.