Ok, I believe that the difference is that archiva.xml is used if archiva is set up as a standalone repository.
I think the distinction is that If it's not standalone, it's deployed as a web app on Tomcat, for instance, as opposed to running standalone, it runs as a service controlled by the init.d scripts (Ubuntu) Sound right? Mine is running as a service on an Ubuntu linux box (controlled via /etc/init.d/archiva) so I guess that makes it standalone, and therefore I think I need to use the archiva.xml to configure it... Am I understanding this correctly? If so, I need to migrate my configurations from settings.xml to archiva.xml. Are there any hooks that I need to add to my settings.xml to reference the archiva.xml file? Am I on the right track? Thanks. Edderd wrote: > > I've set up a new archiva repository wth the standard internal and > snapshot repos. It's working generally, but I believe I'm confused as to > whether I should configure it in my userhome/.m2/settings.xml or > userhome/.m2/archiva.xml. > > I installed it using docs from the book Java Power Tools which documented > the configuration using the settings.xml, and did not mention archiva.xml. > > I've always used settings.xml for all maven configurations in the past so > I'm a bit confused. > > Can someone please advise me on the correct file to use and perhaps some > pointers to any resources discussing the difference? > > Thanks. > -- View this message in context: http://www.nabble.com/archiva.xml-or-settings.xml-tp20460201p20460707.html Sent from the archiva-users mailing list archive at Nabble.com.
