aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-10-06 14:14:19 +0000
committerOlivier Lamy <olamy@apache.org>2011-10-06 14:14:19 +0000
commit8623d5239a38a5729bb2d76d76d7f39f15449d59 (patch)
tree533ae4bfda0edde04754e55ccba3430145c542df /archiva-modules
parent87d9e0b7a7c00d994b30dde8267b1e7d26b0e991 (diff)
downloadarchiva-8623d5239a38a5729bb2d76d76d7f39f15449d59.tar.gz
archiva-8623d5239a38a5729bb2d76d76d7f39f15449d59.zip
add snippet for overriding jcr location storage
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179637 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml
index 6ba791551..11e0e092a 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml
@@ -409,5 +409,14 @@
</bean>
-->
<!-- END SNIPPET: ldap -->
+ <!-- override jcr repository location -->
+ <!-- START SNIPPET: jcr-location -->
+ <!--
+ <bean id="jcr-config" class="org.apache.archiva.metadata.repository.jcr.ArchivaJcrRepositoryConfig" factory-method="create">
+ <constructor-arg value="${appserver.base}/conf/repository.xml"/>
+ <constructor-arg value="${appserver.base}/data/jcr"/>
+ </bean>
+ -->
+ <!-- END SNIPPET: jcr-location -->
</beans>