Community
Participate
Working Groups
Created attachment 273233 [details] Screenshot Accidently I create a wrong pom without the <project> tag. Example pom.xml: ------ <modelVersion>4.0.0</modelVersion> <groupId>com.vogella.maven</groupId> <artifactId>com.vogella.maven.executablejar</artifactId> <version>0.1.0-SNAPSHOT</version> <packaging>jar</packaging> ------ m2e showed me an error marker in the editor but no problem marker in the Problems view. Also the marker had no error message. I would expect at least a hover text with "Invalid format of the pom" for something similar. See screenshot.
Interesting. When you save the pom, you get an error marker: Project build error: Non-parseable POM /Users/fbricon/Dev/workspaces/sdk-photon-M6/aaaaaaaaaa/pom.xml: start tag not allowed in epilog but got g (position: END_TAG seen ...</modelVersion>\n\n <g... @3:5)
So, the message-less marker (which doesn't appear to be an actual org.eclipse.core.internal.resources.Marker) is added by the XMLValidator, detecting the xml is malformed. So moving to the -hopefully- proper project.
What was the value in the Type column of the Problems View?
Can you fill in the version numbers on this, and try it with and without the Maven tools? Without the Maven tools, I see "The markup in the document following the root element must be well-formed." in Oxygen.3.
Have not seen a lot of request for that.