Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-430

Archiva always writes to ~/.m2/archiva.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha-2
    • 1.0-beta-1
    • None
    • None

    Description

      From http://maven.apache.org/archiva/guides/configuration.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. "

      The latest code (r553963) always writes to ~/.m2/archiva.xml, even if it did not exist, and completely ignores $ARCHIVA_BASE/conf/archiva.xml.

      Related thread: http://www.nabble.com/Archiva-now-always-writes-to-%7E-.m2-archiva.xml-t4053580.html

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              wsmoak Wendy Smoak
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: