Skip to content

<?m2e execute onConfiguration?> fails if pom is big enough (8kb) #22

Closed
@michaldo

Description

@michaldo

pom.xml.txt

Steps to reproduce:

  1. Copy given pom.xml.txt and type mvn validate

Expected: pass
Actual: java.lang.ArrayIndexOutOfBoundsException: 8222

If you remove any fake banana properties from the file to decrease its size, it will pass.

I think something is wrong with buffer https://github.com/codehaus-plexus/plexus-utils/blob/master/src/main/java/org/codehaus/plexus/util/xml/pull/MXParser.java#L343

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions