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:
Running mvn results in the output:
And is stuck there forever, instead of providing an error message.
I found this issue using JQF.