Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-alpha-2
-
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