diff --git a/src/it/full-pom/pom.xml b/src/it/full-pom/pom.xml
index 6b093e27..5edf25c3 100644
--- a/src/it/full-pom/pom.xml
+++ b/src/it/full-pom/pom.xml
@@ -176,6 +176,12 @@
1.7.36
runtime
+
+ io.netty
+ netty-transport-native-kqueue
+ 4.1.91.Final
+ bogus
+
diff --git a/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java b/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
index d4c6b842..be6dfa69 100644
--- a/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
+++ b/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
@@ -533,6 +533,11 @@ private void renderSectionDependencyFileDetails() {
+ " and won't be listed in dependency files details.");
continue;
}
+ if (SummaryTableRowOrder.fromScope(artifact.getScope()) == null) {
+ log.warn("Artifact " + artifact.getId() + " has invalid scope"
+ + " and won't be listed in dependency files details.");
+ continue;
+ }
File artifactFile = dependencies.getFile(artifact);