[
https://issues.apache.org/jira/browse/MNG-6374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hervé Boutemy updated MNG-6374:
-------------------------------
Description:
Maven hangs (infinitie loop, 100% CPU) when provided with a malformed pom.xml
file that contains a question mark in a tag name.
Minimal example for a pom.xml:
{noformat}
<project /><?>{noformat}
Running {{mvn}} results in the output:
{noformat}
[INFO] Scanning for projects...{noformat}
And is stuck there forever, instead of providing an error message.
I found this issue using [JQF|https://github.com/rohanpadhye/jqf].
was:
Maven hangs when provided with a malformed pom.xml file that contains a
question mark in a tag name.
Minimal example for a pom.xml:
{noformat}
<project /><?>{noformat}
Running {{mvn}} results in the output:
{noformat}
[INFO] Scanning for projects...{noformat}
And is stuck there forever, instead of providing an error message.
I found this issue using [JQF|https://github.com/rohanpadhye/jqf].
> ModelBuilder hangs with malformed pom.xml
> -----------------------------------------
>
> Key: MNG-6374
> URL: https://issues.apache.org/jira/browse/MNG-6374
> Project: Maven
> Issue Type: Bug
> Components: POM
> Affects Versions: 3.5.2, 3.5.3
> Reporter: Rohan Padhye
> Priority: Minor
> Fix For: 3.6.x-candidate
>
> Attachments: MNG-6374.patch
>
>
> Maven hangs (infinitie loop, 100% CPU) when provided with a malformed pom.xml
> file that contains a question mark in a tag name.
> Minimal example for a pom.xml:
> {noformat}
> <project /><?>{noformat}
>
> Running {{mvn}} results in the output:
> {noformat}
> [INFO] Scanning for projects...{noformat}
>
> And is stuck there forever, instead of providing an error message.
> I found this issue using [JQF|https://github.com/rohanpadhye/jqf].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)