This issue occurs when cvsweb(http/https) is the preferred method for retrieving remote pom.xml.
In web interface, the import of a maven project via pom url fails, because the pom.xml url is in the form:
https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
but the backend is retrieving the wrong pom url
https://HOST/viewvc/PROJECT/pom.xml (webpage of pom.xml's revision history)
The part after the ? character is truncated.