maven和jboss演示应用程序“Ticket-Monster”的问题

时间:2015-08-28 14:57:38

标签: maven intellij-idea jboss

我从github https://github.com/jbossdemocentral/continuous-delivery-demo-app

克隆了这个存储库

我运行了mvn clean包但是出现以下错误:

enter image description here

我在下面的链接中配置了settings.xml settings.xm

我用Intellij Idea和maven apache-maven-3.3.3并指向defaut settings.xml(修改如上所述)

在Intellij Idea外面运行时我遇到同样的错误

使用mvn -X clean package运行(请参阅settings.xml) mvn -X clean package

使用mvn clean包运行 mvn clean package

> [INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM C:\Users\iguissouma\.m2\repository\org\jboss\bom\eap\j
boss-javaee-6.0-with-hibernate\6.2.3.GA\jboss-javaee-6.0-with-hibernate-6.2.3.GA
.pom: end tag name </span> must match start tag name <img> from line 177 (positi
on: START_TAG seen ...ccess.redhat.com/chrome_themes/nimbus/img/l_redhat-lg.png"
></span>... @177:118)  @ C:\Users\iguissouma\.m2\repository\org\jboss\bom\eap\jb
oss-javaee-6.0-with-hibernate\6.2.3.GA\jboss-javaee-6.0-with-hibernate-6.2.3.GA.
pom, line 177, column 118
[FATAL] Non-parseable POM C:\Users\iguissouma\.m2\repository\org\jboss\bom\eap\j
boss-javaee-6.0-with-resteasy\6.2.3.GA\jboss-javaee-6.0-with-resteasy-6.2.3.GA.p
om: end tag name </span> must match start tag name <img> from line 177 (position
: START_TAG seen ...ccess.redhat.com/chrome_themes/nimbus/img/l_redhat-lg.png"><
/span>... @177:118)  @ C:\Users\iguissouma\.m2\repository\org\jboss\bom\eap\jbos
s-javaee-6.0-with-resteasy\6.2.3.GA\jboss-javaee-6.0-with-resteasy-6.2.3.GA.pom,
 line 177, column 118
[ERROR] 'dependencies.dependency.version' for org.hibernate:hibernate-validator:
jar is missing. @ line 210, column 21
[ERROR] 'dependencies.dependency.version' for org.hibernate:hibernate-jpamodelge
n:jar is missing. @ line 227, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jackso
n-provider:jar is missing. @ line 264, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.resteasy:resteasy-jaxrs:
jar is missing. @ line 269, column 21
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.jboss.examples:ticket-monster:2.6.88-SNAPSHOT (C:\dev-
world\lab-world\continuous-delivery-demo-app\pom.xml) has 6 errors
[ERROR]     Non-parseable POM C:\Users\iguissouma\.m2\repository\org\jboss\bom\e
ap\jboss-javaee-6.0-with-hibernate\6.2.3.GA\jboss-javaee-6.0-with-hibernate-6.2.
3.GA.pom: end tag name </span> must match start tag name <img> from line 177 (po
sition: START_TAG seen ...ccess.redhat.com/chrome_themes/nimbus/img/l_redhat-lg.
png"></span>... @177:118)  @ C:\Users\iguissouma\.m2\repository\org\jboss\bom\ea
p\jboss-javaee-6.0-with-hibernate\6.2.3.GA\jboss-javaee-6.0-with-hibernate-6.2.3
.GA.pom, line 177, column 118 -> [Help 2]
[ERROR]     Non-parseable POM C:\Users\iguissouma\.m2\repository\org\jboss\bom\e
ap\jboss-javaee-6.0-with-resteasy\6.2.3.GA\jboss-javaee-6.0-with-resteasy-6.2.3.
GA.pom: end tag name </span> must match start tag name <img> from line 177 (posi
tion: START_TAG seen ...ccess.redhat.com/chrome_themes/nimbus/img/l_redhat-lg.pn
g"></span>... @177:118)  @ C:\Users\iguissouma\.m2\repository\org\jboss\bom\eap\
jboss-javaee-6.0-with-resteasy\6.2.3.GA\jboss-javaee-6.0-with-resteasy-6.2.3.GA.
pom, line 177, column 118 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.hibernate:hibernate-valida
tor:jar is missing. @ line 210, column 21
[ERROR]     'dependencies.dependency.version' for org.hibernate:hibernate-jpamod
elgen:jar is missing. @ line 227, column 21
[ERROR]     'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja
ckson-provider:jar is missing. @ line 264, column 21
[ERROR]     'dependencies.dependency.version' for org.jboss.resteasy:resteasy-ja
xrs:jar is missing. @ line 269, column 21
[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

任何人都知道如何解决这个问题?

0 个答案:

没有答案