XMvn is driven by configuration. It loads configuration in XML format, which can be used to control many aspects of XMvn behaviour.
XMvn loads configuration from various sources. Each source uses exactly the same configuration format. Configuration particles from all the sources are merged together into a single master XMvn configuration.
XMvn has support for different compatibility levels. Compatibility level decies which set of configuration files is loaded. Each of the levels has different set of configuration files. Unless otherwise indicated, all XMvn documentation assumes that default compatibility level is used.
XMvn reads its configuration from the following sources:
In the above list $PWD means current working directory. For the meaning of $XDG_CONFIG_HOME, $XDG_DATA_HOME, $XDG_CONFIG_DIRS and $XDG_DATA_DIRS see the XDG Base Directory Specification.
All these files are in the same format, which is fully documented in configuration reference. Configuration is inherited from files of lower precedence. For example if some setting is not found in reactor configuration then it will be inherited from user configuration, but if this setting is explicitly set in reactor configuration then it will take precedence over user configuration.
As builtin configuration is embedded into XMvn it is assumed to always be present and correct. Builtin configuration is minimal and it is not really usable, but it is used only if no other configuration files are provided or available, for example when unsupported compatbility level is specified.