apache / apache/maven

[MNG-6864] Malformed --> Invalid error message

Open
#8,438 1 comment 0 reactions 0 assignees View on GitHub
bug priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Elliotte Rusty Harold](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elharo)** opened **[MNG-6864](https://issues.apache.org/jira/browse/MNG-6864?redirect=false)** and commented

Recently got this error messge:

 

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Malformed POM /home/elharo/java-docs-samples/storage/space/debugstorage/pom.xml: Unrecognised tag: 'project' (position: START_TAG seen ...\\n \n \... `@33`:14) @ /home/elharo/java-docs-samples/storage/space/debugstorage/pom.xml, line 33, column 14

 

The error message was mostly correct. I had some elements where they weren't supposed to be. However the POM was well-formed as all tags balanced. It was invalid–not malformed–because the tags weren't where they should be.

 

 

---
No further details from [MNG-6864](https://issues.apache.org/jira/browse/MNG-6864?redirect=false)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.