Stefan Oehme created MJAVADOC-826:
-------------------------------------

             Summary: 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


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)

Reply via email to