Hello All,
I am trying to set up webapi for postgresql in Ubuntu16.04 environment. Java version 8.0, maven version 3.3.9.
The package creator works for quite a long time and downloaded too many files and suddenly it started throwing errors which are mentioned below:
root@ambuj-OptiPlex-7020:/usr/share/maven/conf# mvn clean package -f /home/WebAPI/ settings.xml -P webapi-postgresql
[INFO] Scanning for projects…
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM /root/.m2/repository/com/fasterxml/jackson/jackson-bom/2.8.7/jackson-bom-2.8.7.pom: unexpected character in markup \ (position: START_TAG seen …e operation, please return to site and resend the information<… @67:2196) @ /root/.m2/repository/com/fasterxml/jackson/jackson-bom/2.8.7/jackson-bom-2.8.7.pom, line 67, column 2196
[FATAL] Non-parseable POM /root/.m2/repository/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom: unexpected character in markup \ (position: START_TAG seen …e operation, please return to site and resend the information<… @67:2196) @ /root/.m2/repository/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom, line 67, column 2196
[ERROR] ‘dependencies.dependency.version’ for com.google.code.gson:gson:jar is missing. @ line 642, column 17
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.ohdsi:WebAPI:1.0.0-SNAPSHOT (/home/WebAPI/pom.xml) has 3 errors
[ERROR] Non-parseable POM /root/.m2/repository/com/fasterxml/jackson/jackson-bom/2.8.7/jackson-bom-2.8.7.pom: unexpected character in markup \ (position: START_TAG seen …e operation, please return to site and resend the information<… @67:2196) @ /root/.m2/repository/com/fasterxml/jackson/jackson-bom/2.8.7/jackson-bom-2.8.7.pom, line 67, column 2196 -> [Help 2]
[ERROR] Non-parseable POM /root/.m2/repository/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom: unexpected character in markup \ (position: START_TAG seen …e operation, please return to site and resend the information<… @67:2196) @ /root/.m2/repository/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom, line 67, column 2196 -> [Help 2]
[ERROR] ‘dependencies.dependency.version’ for com.google.code.gson:gson:jar is missing. @ line 642, column 17
[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
root@ambuj-OptiPlex-7020:/usr/share/maven/conf#
Can someone please help me in fixing this problem or give any suggestions to resolve this.
TIA
-Ambuj