mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-24 05:05:10 +00:00
Do not add mvnd-client.jar to daemon's class path
This commit is contained in:
@@ -43,7 +43,10 @@ public class MavenDaemon {
|
||||
throw new RuntimeException("Could not list " + p, e);
|
||||
}
|
||||
})
|
||||
.filter(p -> p.getFileName().toString().endsWith(".jar"))
|
||||
.filter(p -> {
|
||||
final String fileName = p.getFileName().toString();
|
||||
return fileName.endsWith(".jar") && !fileName.startsWith("mvnd-client-");
|
||||
})
|
||||
.filter(Files::isRegularFile),
|
||||
/* resources */
|
||||
Stream.of(mvndHome.resolve("mvn/conf"), mvndHome.resolve("mvn/conf/logging")))
|
||||
|
Reference in New Issue
Block a user