mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-13 07:04:14 +08:00
NPE from InvalidatingProjectArtifactsCache when building a Quarkus deployment module from a tag, fixes #347
This commit is contained in:
@@ -45,6 +45,9 @@ public class InvalidatingProjectArtifactsCache extends DefaultProjectArtifactsCa
|
||||
|
||||
@Override
|
||||
public Stream<Path> getDependencyPaths() {
|
||||
if (record.getException() != null) {
|
||||
return Stream.empty();
|
||||
}
|
||||
return record.getArtifacts().stream()
|
||||
.map(Artifact::getFile)
|
||||
.filter(Objects::nonNull)
|
||||
|
||||
Reference in New Issue
Block a user