Class MavenSetupHelper

java.lang.Object
io.github.mov2day.unifiedtest.reporting.MavenSetupHelper

public class MavenSetupHelper extends Object
Helper class to assist with Maven project setup for UnifiedTest.
  • Constructor Details

    • MavenSetupHelper

      public MavenSetupHelper()
  • Method Details

    • ensureServiceLoaderFileExists

      public static boolean ensureServiceLoaderFileExists()
      Ensures that the ServiceLoader configuration file exists. This method checks for the META-INF/services file in both Maven and Gradle project layouts.
      Returns:
      true if the file exists or was created successfully, false otherwise
    • ensureReportDirectoryExists

      public static boolean ensureReportDirectoryExists()
      Ensures that the target directory for reports exists.
      Returns:
      true if the directory exists or was created successfully, false otherwise