------- Error on compiling: C:\Users\sanjay\maven\MyMavenProject>mvn compile [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Malformed POM C:\Users\sanjay\maven\MyMavenProject\pom.xml: expected STA RT_TAG or END_TAG not TEXT (position: TEXT seen ...<dependency>\r\n\ua0\ua0\ua0\ ua0<g... @20:7) @ C:\Users\sanjay\maven\MyMavenProject\pom.xml, line 20, column 7 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.testing:MyMavenProject:1.0-SNAPSHOT (C:\Users\sanjay\m aven\MyMavenProject\pom.xml) has 1 error [ERROR] Malformed POM C:\Users\sanjay\maven\MyMavenProject\pom.xml: expected START_TAG or END_TAG not TEXT (position: TEXT seen ...<dependency>\r\n\ua0\ua0\ ua0\ua0<g... @20:7) @ C:\Users\sanjay\maven\MyMavenProject\pom.xml, line 20, co lumn 7 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin gException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseExce ption