Hello guys,
It's been a long time since I've done a build on the *platform* module.
However, doing an update on this module and invoking the maven command:
*mvn clean package -Pdev -Dtest=none -DfailIfNoTests=false *
in the main directory
(*/platform/trunks*) fails due to a typo in the *foxwiki*'s *pom.xml*.
The parent pom (*tools*) has version 2.4-SNAPSHOT while the child has the
2.3-SNAPSHOT version for the parent.
Fixed that.
Now a hard one:
Issuing the same mvn command in the *platform/trunks/core *dir fails when
compiling
the *XWiki Platform - Core - Annotations - REST Services* with the following
error:
*DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not
extend from DTDDVFactory**.*
*Please find the stacktrace err message in the following link:
http://pastebin.com/4zC4KPUf*
*
*
Before posting this mail I double checked the *.m2/settings.xml* file and
also did the same steps using another machine, a new checkout and an empty
mvn repo, just to be sure.
Still this problem persists.
As XWiki has a continuous build system, perhaps I
have mis-configured something and I would highly appreciate some feedback.
Best regards!
Ps:
The problem seems to be a class cast exception due to the fact that 2
versions of xercesImpl jar are used in the project (one with compile
scope,while the other with runtime scope).
In the latter case, the version 2.9.1 is used and I suspect this as the root
cause of the problem.