Wiki source code of XWiki XML Files Code Style
Version 4.1 by Vincent Massol on 2018/07/06 14:32
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 | * Set a mime type for attachments | ||
11 | |||
12 | This can be done using the "mvn xar:format" Maven command, see [[Generating a XAR for your build>>Community.Building||anchor="HGeneratingaXAR"]]. |