Wiki source code of XWiki XML Files Code Style
Version 2.2 by Manuel Smeria on 2013/03/25 08:45
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | XWiki XML Files should follow these rules: | ||
2 | |||
3 | * Have a proper License header | ||
4 | * Use ##xwiki:XWiki.Admin## as the ##author##, ##contentauthor## and ##creator## | ||
5 | * Use ##1.1## as the ##version## | ||
6 | * Use ##false## for ##minoredit## | ||
7 | * Have an empty ##defaultLanguage## entry | ||
8 | * Have an empty ##comment## entry | ||
9 | * Indent the XML using 2 characters for indentation | ||
10 | |||
11 | This can be done using the "mvn xar:format" Maven command, see [[Generating a XAR for your build>>Building||anchor="HGeneratingaXAR"]]. |