Commit 235da55
authored
Don't try to modify project source roots (#358)
The aggregate javadoc mojo was calling `addAll` directly on the list returned by `project.getCompileSourceRoots`. This bug was silently ignored by Maven 3, but results in an `UnsupportedOperationException` on Maven 4.
Do a defensive copy instead.1 parent 37b76ff commit 235da55
File tree
1 file changed
+1
-1
lines changed- src/main/java/org/apache/maven/plugins/javadoc
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2201 | 2201 | | |
2202 | 2202 | | |
2203 | 2203 | | |
2204 | | - | |
| 2204 | + | |
2205 | 2205 | | |
2206 | 2206 | | |
2207 | 2207 | | |
| |||
0 commit comments