mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-10 21:22:03 +00:00
NPE from InvalidatingPluginArtifactsCache, similar to #347
This commit is contained in:
@@ -43,6 +43,9 @@ public class InvalidatingPluginArtifactsCache extends DefaultPluginArtifactsCach
|
||||
|
||||
@Override
|
||||
public Stream<Path> getDependencyPaths() {
|
||||
if (record.getException() != null) {
|
||||
return Stream.empty();
|
||||
}
|
||||
return record.getArtifacts().stream().map(artifact -> artifact.getFile().toPath());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user