XWiki XML Files Code Style

Version 3.3 by Vincent Massol on 2018/01/12 13:40

XWiki XML Files should follow these rules:

  • Have a proper License header
  • Use xwiki:XWiki.Admin as the author, contentauthor and creator
  • Use 1.1 as the version
  • Use false for minoredit
  • Have an empty defaultLanguage entry
  • Have an empty comment entry
  • Indent the XML using 2 characters for indentation

This can be done using the "mvn xar:format" Maven command, see Generating a XAR for your build.

Get Connected