File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
main/java/org/apache/maven/report/projectinfo/dependencies/renderer Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 176
176
<version >1.7.36</version >
177
177
<scope >runtime</scope >
178
178
</dependency >
179
+ <dependency >
180
+ <groupId >io.netty</groupId >
181
+ <artifactId >netty-transport-native-kqueue</artifactId >
182
+ <version >4.1.91.Final</version >
183
+ <scope >bogus</scope >
184
+ </dependency >
179
185
</dependencies >
180
186
181
187
<build >
Original file line number Diff line number Diff line change @@ -533,6 +533,11 @@ private void renderSectionDependencyFileDetails() {
533
533
+ " and won't be listed in dependency files details." );
534
534
continue ;
535
535
}
536
+ if (SummaryTableRowOrder .fromScope (artifact .getScope ()) == null ) {
537
+ log .warn ("Artifact " + artifact .getId () + " has invalid scope"
538
+ + " and won't be listed in dependency files details." );
539
+ continue ;
540
+ }
536
541
537
542
File artifactFile = dependencies .getFile (artifact );
538
543
You can’t perform that action at this time.
0 commit comments