[
https://issues.apache.org/jira/browse/MNG-6281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17190232#comment-17190232
]
Robert Scholte commented on MNG-6281:
-------------------------------------
[~michaelo] with attached zip: {{mvn clean}} (to clean the local repo) followed
by {{mvn -Dmaven.repo.local=target/local-repo verify -T3}} you might see
failing builds due to ratrace conditions. You likely need to run it several
times. It either breaks with access denied on a lock-file (most likely) or
duplicate XML.
> ArrayIndexOutOfBoundsException caused by pom.xml with invalid/duplicate XML
> ---------------------------------------------------------------------------
>
> Key: MNG-6281
> URL: https://issues.apache.org/jira/browse/MNG-6281
> Project: Maven
> Issue Type: Sub-task
> Components: POM
> Affects Versions: 3.5.0
> Reporter: Robert Scholte
> Priority: Major
> Fix For: 3.7.x-candidate
>
> Attachments: MNG-6281.zip
>
>
> This is a hard one to recognize and to reproduce, but there are cases where
> (for unknown reasons) that the content of the XML is duplicated in the pom
> file.
> Up until version 3.5.0 this was not an issue, because the XML parser stopped
> parsing once hitting the closing project-tag, ignoring any content afterwards.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)