mirror of https://github.com/apache/archiva.git
alter again to store cache files in a different directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
292066e3bb
commit
9b4e61dee7
|
@ -148,10 +148,11 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<systemPropertyVariables>
|
<systemPropertyVariables>
|
||||||
<appserver.base>${project.build.directory}/appserver-base</appserver.base>
|
<appserver.base>${project.build.directory}/appserver-base</appserver.base>
|
||||||
<archiva.user.configFileName>${basedir}/target/archiva.xml</archiva.user.configFileName>
|
<archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
|
||||||
<test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
|
<test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
|
||||||
<redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url>
|
<redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url>
|
||||||
<redback.jdbc.driver.name>org.apache.derby.jdbc.EmbeddedDriver</redback.jdbc.driver.name>
|
<redback.jdbc.driver.name>org.apache.derby.jdbc.EmbeddedDriver</redback.jdbc.driver.name>
|
||||||
|
<java.io.tmpdir>${project.build.directory}/temp</java.io.tmpdir>
|
||||||
</systemPropertyVariables>
|
</systemPropertyVariables>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
|
@ -29,21 +29,6 @@
|
||||||
<context:annotation-config/>
|
<context:annotation-config/>
|
||||||
<context:component-scan base-package="$package"/>
|
<context:component-scan base-package="$package"/>
|
||||||
|
|
||||||
<bean name="commons-configuration" class="org.codehaus.redback.components.registry.commons.CommonsConfigurationRegistry">
|
|
||||||
<property name="properties">
|
|
||||||
<value>
|
|
||||||
<![CDATA[
|
|
||||||
<configuration>
|
|
||||||
<system/>
|
|
||||||
<xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true"
|
|
||||||
config-optional="true"
|
|
||||||
config-name="org.apache.archiva.base" config-at="org.apache.archiva"/>
|
|
||||||
</configuration>
|
|
||||||
]]>
|
|
||||||
</value>
|
|
||||||
</property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="jcr-config" class="org.apache.archiva.metadata.repository.jcr.ArchivaJcrRepositoryConfig" factory-method="create">
|
<bean id="jcr-config" class="org.apache.archiva.metadata.repository.jcr.ArchivaJcrRepositoryConfig" factory-method="create">
|
||||||
<constructor-arg value="${appserver.base}/conf/foo.xml"/>
|
<constructor-arg value="${appserver.base}/conf/foo.xml"/>
|
||||||
<constructor-arg value="${appserver.base}/data/jcr"/>
|
<constructor-arg value="${appserver.base}/data/jcr"/>
|
||||||
|
|
Loading…
Reference in New Issue