[
https://issues.apache.org/jira/browse/MNG-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MNG-5848.
-------------------------------
Resolution: Not A Problem
Assignee: Robert Scholte
Based on the error-message the xml contains a [non-breaking
space|https://en.wikipedia.org/wiki/Non-breaking_space] (that's the {{\ua0}}).
Tabs, spaces, linebreaks and carriage returns are trimmed, but this character
not. Hence the result is invalid xml.
> Malformed POM expected START_TAG or END_TAG not TEXT
> ----------------------------------------------------
>
> Key: MNG-5848
> URL: https://issues.apache.org/jira/browse/MNG-5848
> Project: Maven
> Issue Type: Bug
> Affects Versions: 3.3.3
> Reporter: Yang Hua Jie
> Assignee: Robert Scholte
> Priority: Blocker
>
> Whenever I added following dependency to my maven, I couldn't run "mvn test"
> for the project.
> {code:xml}
> <dependency>
> <groupId>org.jasypt</groupId>
> <artifactId>jasypt-spring31</artifactId>
> <version>1.9.1</version>
> </dependency>
> {code}
> Exact error is:
> {noformat}
> [ERROR] The project com.cimb.sample:MavenCoverageTest:0.0.1-SNAPSHOT
> (C:\Users\sgscyhjx\git\mavencoveragetest\pom.xml) has 1 error
> [ERROR] Malformed POM C:\Users\sgscyhjx\git\mavencoveragetest\pom.xml:
> expected START_TAG or END_TAG not TEXT (position: TEXT seen
> ...<dependency>\r\n\t\t\ua0\ua0\ua0\ua0<g... @42:9) @
> C:\Users\sgscyhjx\git\mavencoveragetest\pom.xml, line 42, column 9 -> [Help 2]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)