XWiki Development Zone » Building XWiki from sources
Last modified by Vincent Massol on 2013/05/02 14:16
  • 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