]> source.dussan.org Git - archiva.git/commitdiff
add snippet for overriding jcr location storage
authorOlivier Lamy <olamy@apache.org>
Thu, 6 Oct 2011 14:14:19 +0000 (14:14 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 6 Oct 2011 14:14:19 +0000 (14:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179637 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml

index 6ba791551c885bc4562c669c0ed10957b53c7bd2..11e0e092a5871fb597d3eadbda1ed311fcd8ce04 100644 (file)
     </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>