Я использую CentOS 7, Maven3.6.0, Java 8. Пытаюсь создать пакет .war для своего проекта, но когда я выполняю команду, он загружает необходимые файлы и в конце выдает ошибки.Я прилагаю ошибки здесь вместе с файлом POM.XML.
, пожалуйста, дайте мне знать, что с ним не так. Ссылка на файл POM.XML, который я использую TIA
и ниже ошибки 
[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 ...psis = true;\n }\n\n\tvar recipientsList = "";\n\n\tfor (var i=0; i < ... @184:20) @ /root/.m2/repository/com/fasterxml/jackson/jackson-bom/2.8.7/jackson-bom-2.8.7.pom, line 184, column 20
[FATAL] Non-parseable POM /root/.m2/repository/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom: start tag unexpected character ; (position: TEXT seen ...\n\tvar recipientsList = "";\n\n\tfor (var i=0; i<recipientsArr.length;... @184:39) @ /root/.m2/repository/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom, line 184, column 39
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.ohdsi:WebAPI:1.0.0-SNAPSHOT (/root/WebAPI/pom.xml) has 2 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 ...psis = true;\n }\n\n\tvar recipientsList = "";\n\n\tfor (var i=0; i < ... @184:20) @ /root/.m2/repository/com/fasterxml/jackson/jackson-bom/2.8.7/jackson-bom-2.8.7.pom, line 184, column 20 -> [Help 2]
[ERROR] Non-parseable POM /root/.m2/repository/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom: start tag unexpected character ; (position: TEXT seen ...\n\tvar recipientsList = "";\n\n\tfor (var i=0; i<recipientsArr.length;... @184:39) @ /root/.m2/repository/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom, line 184, column 39 -> [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
ниже указан компонент POM.xml, для которого отображается ошибка:
// Отображение списка получателей и массива.// String [] receientsArr - Массив получателей.// [int ellipsisLimit] - строка за пределами этой длины будет вырезана и добавлена многоточие.Необязательно, по умолчанию 0 - многоточие отсутствует.// [bool useLinebreakes] - следует ли добавлять разрыв строки после каждого получателя.Необязательно, по умолчанию установлено значение true.
function recipientsArr2StrInTable(recipientsArr, ellipsisLimit,
useLinebreakes)
if (ellipsisLimit == undefined)
{
ellipsisLimit = 0;
}
if (useLinebreakes == undefined)
{
useEllipsis = true;
}
var recipientsList = "";
for (var i=0; i<recipientsArr.length; i++)
{
recipientsList += HTMLEncode(recipientsArr[i].address);
if (i < recipientsArr.length-1)
{
recipientsList += ", ";
if (useLinebreakes)
{
recipientsList += "<br>";
}
}
}
if (ellipsisLimit > 0)
{
//recipientsList = Ext.util.Format.ellipsis(recipientsList,
ellipsisLimit);
recipientsList = recipientsList;
}
return recipientsList;
}
Пожалуйста, предложите.
TIA