Package CIserver.app

Class MavenCompiler

java.lang.Object
CIserver.app.MavenCompiler

public class MavenCompiler extends Object
Class that compiles Java projects with Maven and reports if the compilation and tests were successful.
  • Constructor Details

    • MavenCompiler

      public MavenCompiler()
  • Method Details

    • compile

      public String compile(String project)
      This method compiles a Maven project
      Parameters:
      project - name of the root directory of the project
      Returns:
      boolean value to indicate if the compilation was successful