mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-26 23:45:47 +00:00
Honor ${maven.home}/conf/logging/logback.xml
This commit is contained in:
@@ -164,7 +164,8 @@ public class MvndTestExtension implements BeforeAllCallback, BeforeEachCallback,
|
||||
testExecutionDir,
|
||||
testExecutionDir,
|
||||
Paths.get(System.getProperty("java.home")).toAbsolutePath().normalize(),
|
||||
localMavenRepository, settingsPath);
|
||||
localMavenRepository, settingsPath,
|
||||
mvndHome.resolve("conf/logging/logback.xml"));
|
||||
final DaemonRegistry registry = new DaemonRegistry(layout.registry());
|
||||
|
||||
return new MvndResource(layout, registry, isNative, timeoutMs);
|
||||
|
@@ -23,9 +23,9 @@ public class TestLayout extends ClientLayout {
|
||||
private final Path testDir;
|
||||
|
||||
public TestLayout(Path testDir, Path mvndPropertiesPath, Path mavenHome, Path userDir, Path multiModuleProjectDirectory,
|
||||
Path javaHome,
|
||||
Path localMavenRepository, Path settings) {
|
||||
super(mvndPropertiesPath, mavenHome, userDir, multiModuleProjectDirectory, javaHome, localMavenRepository, settings);
|
||||
Path javaHome, Path localMavenRepository, Path settings, Path logbackConfigurationPath) {
|
||||
super(mvndPropertiesPath, mavenHome, userDir, multiModuleProjectDirectory, javaHome, localMavenRepository,
|
||||
settings, logbackConfigurationPath);
|
||||
this.testDir = testDir;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user