Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-986

archiva.xml is saved in home directory instead of $ARCHIVA_BASE/conf

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.2-M1
    • Component/s: None
    • Labels:
      None

      Description

      According to http://archiva.apache.org/docs/1.1.3/adminguide/standalone.html

      When Archiva saves it's configuration, all configuration is stored to a single file. The file chosen is by the following rules:

      • If ~/.m2/archiva.xml exists, it is saved there
      • Otherwise, it is saved to $ARCHIVA_BASE/conf/archiva.xml, regardless of whether it previously existed.

      With 1.1.3, if no archiva.xml file exists, it incorrectly writes the file to ~/.m2.

        Attachments

          Activity

            People

            • Assignee:
              brettporter Brett Porter
              Reporter:
              wsmoak Wendy Smoak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: