Configuration Files of Apache Archiva

While Archiva is primarily configured via the graphical administration interface, it stores all configuration in XML configuration files that can be hand edited and used for backup and migration.

The following files compose the configuration for Archiva:

This section will focus on the archiva.xml file.

The Archiva configuration file

The Archiva configuration file is stored in one of two locations:

When modified in the GUI, the file is written back to the location it was initially read from, with the home directory taking priority if both exist. When using a standalone installation, it is highly recommended that a configuration file is only maintained in one of the locations.

For a complete reference of the configuration file see: Reference

The following shows a basic configuration file:

      <name>Archiva Managed Internal Repository</name>
      <name>Central Repository</name>