public class PathUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getBaseDir()
Returns the base directory of the current Maven project, used by tests that require absolute
paths.
|
public static String getBaseDir()
This works both when running under Surefire and when runnning a JUnit test from Eclipse, assuming the JUnit launcher default was not changed by the user.
Copyright © 2006–2021 OPS4J - Open Participation Software for Java. All rights reserved.