Gary D. Gregory created MNG-7316:
------------------------------------
Summary: MavenProject.getAttachedArtifacts() regression with 3.8.1
Key: MNG-7316
URL: https://issues.apache.org/jira/browse/MNG-7316
Project: Maven
Issue Type: Bug
Components: Core
Affects Versions: 3.8.3, 3.8.2
Reporter: Gary D. Gregory
The method {{MavenProject.getAttachedArtifacts()}} as of 3.8.2 breaks releasing
components for us at Apache Commons using our Maven Release plugin because the
list returned is now immutable, we now get an exception when calling
{{remove()}} on the collection returned by the API; see
[https://github.com/apache/commons-release-plugin/blob/master/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java#L137]
This worked fine in 3.8.1, may you please change it back for 3.8.4?
We cannot use Maven 3.8.2 and 3.8.3 to release our components.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)