You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (Jira)" <ji...@apache.org> on 2025/02/03 09:01:00 UTC

[jira] [Assigned] (MJAVADOC-826) Aggregate mojo broken on Maven 4

     [ https://issues.apache.org/jira/browse/MJAVADOC-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy reassigned MJAVADOC-826:
-------------------------------------

    Assignee: Olivier Lamy

> Aggregate mojo broken on Maven 4
> --------------------------------
>
>                 Key: MJAVADOC-826
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-826
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>            Reporter: Stefan Oehme
>            Assignee: Olivier Lamy
>            Priority: Major
>
> On Maven 4, the aggregate plugin fails with
> {code:java}
> Caused by: java.lang.UnsupportedOperationException
>     at java.util.ImmutableCollections.uoe(ImmutableCollections.java:142)
>     at java.util.ImmutableCollections$AbstractImmutableCollection.addAll(ImmutableCollections.java:148)
>     at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.getSourcePaths(AbstractJavadocMojo.java:2207) {code}
> This is because it tries to modify the project's sourceRoots instead of making a copy first.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)