archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Spencer <pau...@apache.org>
Subject Re: How to define the location of archive.xml
Date Fri, 06 Jun 2008 18:48:47 GMT
Wendy,
I have defined the environment variable ARCHIVA_BASE, but the default 
archiva.xml is being used. I even tried adding 
-DARCHIVA_BASE=$ARCHIVA_BASE to CATALINA_OPTS, but to no avail.

Below is from tomcat's conf/setenv.sh
> export ARCHIVA_BASE=/internal/archiva
> export CATALINA_HOME=/internal/apache/apache-tomcat-6.0.16
> export CATALINA_BASE=`pwd`
> export CATALINA_OPTS="-Dappserver.home=$CATALINA_BASE -Dappserver.base=$CATALINA_BASE
-DARCHIVA_BASE=$ARCHIVA_BASE"

What am I missing?

Paul Spencer


Wendy Smoak wrote:
> On Fri, Jun 6, 2008 at 10:29 AM, Paul Spencer <paulsp@apache.org> wrote:
>> Their are a few users in addition to root that may start the Tomcat running
>> Archiva.  How do I define Archive configuration file to something other then
>> ~/.m2/archiva.xml?
>>
>> In my case the configuration file will be /internal/archive/archiva.xml.
> 
> I found:
> http://archiva.apache.org/guides/configuration.html ->
>    http://archiva.apache.org/guides/security-configuration.html ->
> 
> Note:  Archiva's list of configuration files is itself  configurable,
> and can be found in:
> $ARCHIVA_HOME/apps/archiva/webapp/WEB-INF/classes/META-INF/plexus/application.xml
> 


Mime
View raw message