mirror of https://github.com/apache/maven.git
[MNG-8084] add system properties to test (#1500)
fixes ./${user.home} directory creation during tests execution
This commit is contained in:
parent
3d3137920a
commit
d8199bf3b9
|
@ -153,6 +153,7 @@ public class ApiRunner {
|
|||
super(session, repositorySystem, repositories, resolverRepositories, lookup);
|
||||
systemProperties = System.getenv().entrySet().stream()
|
||||
.collect(Collectors.toMap(e -> "env." + e.getKey(), e -> e.getValue()));
|
||||
System.getProperties().forEach((k, v) -> systemProperties.put(k.toString(), v.toString()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue