Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with pom.xml file #59

Closed
sdurette opened this issue Jun 10, 2015 · 1 comment
Closed

Issue with pom.xml file #59

sdurette opened this issue Jun 10, 2015 · 1 comment

Comments

@sdurette
Copy link

After doing a git pull origin master, mvn clean install stops with the error:

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project (C:\app\CFLint\pom.xml) has 1 error
[ERROR] Non-parseable POM C:\app\CFLint\pom.xml: in comment after two dashes (--) next character must be > not \t (p
\n\t\t\t\r\n\t<!--\t... @205:7) @ line 205, column 7 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException

The problem is that a comment is embedded inside of another comment. The outer comment starts at line 179 and ends at line 260. The inner comment starts at line 205 and ends at line 218. The solution is either delete the internal comment or just remove the comment markers on 205 and 218.

The maven clean install will then work.

ryaneberly added a commit that referenced this issue Jun 10, 2015
#59

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@ryaneberly
Copy link
Contributor

@sdurette Thanks, fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants