You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2019/03/12 06:40:00 UTC
[jira] [Comment Edited] (MNG-6374) ModelBuilder hangs with
malformed pom.xml
[ https://issues.apache.org/jira/browse/MNG-6374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790029#comment-16790029 ]
Hervé Boutemy edited comment on MNG-6374 at 3/12/19 6:39 AM:
-------------------------------------------------------------
plexus-utils upgraded to 3.2.0 in MNG-6597, which fixes the issue with https://gitbox.apache.org/repos/asf?p=maven.git&a=commit&h=0b10fe75a57c8b690444ca7a3262d02b7487b27c
was (Author: hboutemy):
plexus-utils upgraded to 3.2.0 in MNG-6597, which fixes the issue
> 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
> Assignee: Hervé Boutemy
> Priority: Minor
> Fix For: 3.6.1
>
> 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)