Christopher Hunt created MNG-5529: ------------------------------------- Summary: Misuse of iterator.remove in DefaultModelBuilder Key: MNG-5529 URL: https://jira.codehaus.org/browse/MNG-5529 Project: Maven 2 & 3 Issue Type: Bug Affects Versions: 3.1.1 Reporter: Christopher Hunt
Line 905 of DefaultModelBuilder removes elements from the list of dependencies for dependency management. The JDK states that the iterator's remove operation is optional and when it is not present then an UnsupportedOperationException will be thrown. My recommendation is that the list of dependencies returned is composed into an array list for working purposes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira