[ 
https://issues.apache.org/jira/browse/MNG-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16062104#comment-16062104
 ] 

Dave Wolf commented on MNG-6243:
--------------------------------

Removing my .m2/repository/* contents did in fact correct the problem. I also 
understand why none of my searches turned up MNG-6216, it (incorrectly) has the 
exception as IndexArrayOutOfBounds. IMO, the title of 6216 should be changed to 
"ArrayIndexOutOfBoundsException when parsing POM" so that anyone using the 
actual exception name would have the possibility of finding it.

> Build fails with ArrayIndexOutOfBoundsException: 53090
> ------------------------------------------------------
>
>                 Key: MNG-6243
>                 URL: https://issues.apache.org/jira/browse/MNG-6243
>             Project: Maven
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 3.5.0
>         Environment: macos 10.12.6 & CENTOS 7, java 8_131, maven 3.5
>            Reporter: Dave Wolf
>            Assignee: Robert Scholte
>         Attachments: redacted_dtos_pom.xml, redacted_pom.xml
>
>
> my team has a multi-module maven project that builds fine using Maven 3.3.9, 
> but fails when using Maven 3.5.0. In both cases (i.e. maven versions), the 
> build is using java 8_131. The failures occur both on MacOS Sierra 10.12.6 
> and CENTOS 7. A separate non-multi-module project builds fine under both 
> versions of Maven.
> I've updated the parent pom with the flatten-maven-plugin per the Maven CI 
> Friendly Versions doc. I've checked the other issues on here and else where 
> not finding an answered similar issue. There is another unanswered 
> StackOverflow 
> [question|https://stackoverflow.com/questions/44559325/maven-is-throwing-arrayoutofboundsexception]:
>  that may have it's roots in the same issue.
> Any help determining the problem would be much appreciated.
>     failed build with [Maven 3.5.0|https://pastebin.com/vHTE7HGA]:
>     successful build with [Maven 3.3.9|https://pastebin.com/37wc4Ybq]:
> I've attached the parent pom and one of the child pom files.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to