• Bogdan Flueras
    Bogdan Flueras, 2010/10/18 14:05

    A few days after my post to the devs mailing list reporting the Maven build problem <DVFactoryException: DTD factory class>, Vincent Massol made the fix.
    I have Mvn 2.2.1 and JDK 1.6 and compiles fine for me. Please double check and remove the message and perhaps close the Jira issue.  

  • Jamie Maher
    Jamie Maher, 2012/04/09 21:26

    Another gotcha to be aware of, ensure that Maven is using at least JDK 1.6 u22 or later to compile XWiki.  

    I ran into an issue with JDK 1.6u17 where Maven kept failing to building XWiki platform off the master 4.0 trunk.
    Maven was throwing errors on compiling: xwiki-platform-configuration-default

    It was caused by the following Sun Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954  (Inference fails for type variable return constraint)

  • Arioch
    Arioch, 2012/07/18 20:46

    Comment about Maven 3.0.4 seems outdated: bug was closed

  • Arunkumar Ramadass
    Arunkumar Ramadass, 2013/11/19 13:22

    I am getting the following error when trying to build the rendering module,

    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2.919s
    [INFO] Finished at: Tue Nov 19 17:48:46 IST 2013
    [INFO] Final Memory: 17M/182M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project xwiki-rendering-syntax-xwiki21: Could
    not resolve dependencies for project org.xwiki.rendering:xwiki-rendering-syntax-
    xwiki21:jar:5.2.1-SNAPSHOT: Failure to find org.xwiki.rendering:xwiki-rendering-
    syntax-xwiki20:jar:tests:5.2.1-SNAPSHOT in http://nexus.xwiki.org/nexus/content/
    groups/public-snapshots was cached in the local repository, resolution will not
    be reattempted until the update interval of xwiki-snapshots has elapsed or updat
    es are forced -> [Help 1]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [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/DependencyReso

    I tried in Ubuntu and Windows machines. Error in both environment. I tried to build the xwiki-rendering-syntax-xwiki20 separately and its passing.

    Pls tell me a solution for this issue.

Get Connected