Class MavenSetupHelper
java.lang.Object
io.github.mov2day.unifiedtest.reporting.MavenSetupHelper
Helper class to assist with Maven project setup for UnifiedTest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanEnsures that the target directory for reports exists.static booleanEnsures that the ServiceLoader configuration file exists.
-
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
-