Examples of Vcs


Examples of net.mgorski.quicktag.vcs.Vcs

   *
   * @throws MojoExecutionException An exception occurring during the execution of a plugin.
   */
  public void execute() throws MojoExecutionException {

    Vcs activeVcs = Vcs.fromString(this.vcs);
    if (activeVcs == null){
      getLog().error("VCS has not been set. Please set <vcs> parameter to the correct VCS.");
      getLog().error("Currently supported values: SVN, GIT, HG");
      return;
    } else {
      getLog().info(String.format("Maven Quicktag Plugin running with %s version control system.", activeVcs));
    }
    VcsInfoGatherer vcsInfoGatherer = activeVcs.getVcsInfoGatherer();

    if (vcsBinaryPath!= null ) {
      System.out.println("---"+vcsBinaryPath.getClass());
      getLog().debug(String.format("Using %s for vcs binary", vcsBinaryPath));
      vcsInfoGatherer.setVcsBinaryPath(vcsBinaryPath);
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.