Errors while compiling emrapi module

Application Name: EMRAPI Module Version Number: 2.2

Question: I have forked and cloned the emrapi module but when I try to compile it, I keep getting an error about a missing plugin. How can I resolve this? @dkayiwa This is the error [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.4: 1 problem was encountered while building the effective model [ERROR] [FATAL] Non-parseable POM /Users/vincentasantehokie/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom: end tag name </head> must be the same as start tag <meta> from line 302 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @303:8) @ line 303, column 8

Delete this folder /Users/vincentasantehokie/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.4

Then compile again and tell us what happens.

The error remains the same even after deleting the above folder

Can you paste the full log at pastebin.com?

Full log can be found here

Delete this folder /home/kangethe/.m2/repository/org/apache/maven/

Then compile again and tell us what happens.

New error with a failure in the EMR API module OMOD. Full log can be found HERE

Now delete this folder and compile again /home/kangethe/.m2/repository/org/openmrs/maven

All is fixed. Thanks @dkayiwa