Author: olamy
Date: Thu Oct  6 14:14:58 2011
New Revision: 1179638

URL: http://svn.apache.org/viewvc?rev=1179638&view=rev
Log:
[MRM-1327] implement alternative or improve repository metadata storage: add 
documentation

Added:
    
archiva/trunk/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt
   (with props)
Modified:
    archiva/trunk/archiva-docs/src/site/apt/adminguide/index.apt
    archiva/trunk/archiva-docs/src/site/site.xml

Modified: archiva/trunk/archiva-docs/src/site/apt/adminguide/index.apt
URL: 
http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/src/site/apt/adminguide/index.apt?rev=1179638&r1=1179637&r2=1179638&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/src/site/apt/adminguide/index.apt (original)
+++ archiva/trunk/archiva-docs/src/site/apt/adminguide/index.apt Thu Oct  6 
14:14:58 2011
@@ -45,6 +45,8 @@ System Administrators Guide to Apache Ar
 
     * {{{./web-services.html} Archiva Web Services}}
 
+    * {{{./repositories-content-storage.html} Repositories Content Storage}}
+
 
     []
 

Added: 
archiva/trunk/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt
URL: 
http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt?rev=1179638&view=auto
==============================================================================
--- 
archiva/trunk/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt
 (added)
+++ 
archiva/trunk/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt
 Thu Oct  6 14:14:58 2011
@@ -0,0 +1,48 @@
+ ------
+ Repositories Content Storage
+ ------
+ Olivier Lamy
+ ------
+ 2011-10-06
+ ------
+
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements.  See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership.  The ASF licenses this file
+~~ to you under the Apache License, Version 2.0 (the
+~~ "License"); you may not use this file except in compliance
+~~ with the License.  You may obtain a copy of the License at
+~~
+~~   http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing,
+~~ software distributed under the License is distributed on an
+~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~~ KIND, either express or implied.  See the License for the
+~~ specific language governing permissions and limitations
+~~ under the License.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
+Repositories Content Storage
+
+ Prior to version 1.4-M1, repository content is now stored in a jcr repository 
(based on Apache Jackrabbit implementation).
+
+ A default Jackrabbit configuration is provided :
+
+%{snippet|id=default-repository|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/plugins/metadata-store-jcr/src/main/resources/org/apache/archiva/metadata/repository/jcr/repository.xml}
+
+ You can use your own configuration by adding a file repository.xml in 
$\{appserver.base}/conf.
+
+ By default, the Jcr repository is stored $\{appserver.base}/data/jcr.
+
+ If you want to change this default location, you must edit the file 
WEB-INF/applicationContext.xml, uncomment/edit lines and change with your 
values:
+
++----------------------
+  <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>
++----------------------

Propchange: 
archiva/trunk/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
archiva/trunk/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: archiva/trunk/archiva-docs/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/src/site/site.xml?rev=1179638&r1=1179637&r2=1179638&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/src/site/site.xml (original)
+++ archiva/trunk/archiva-docs/src/site/site.xml Thu Oct  6 14:14:58 2011
@@ -57,10 +57,11 @@
         <item name="Installing as a WAR"     href="/adminguide/webapp.html" />
         <item name="Upgrading to a New Version"     
href="/adminguide/upgrade.html" />
       </item>
-      <item name="Databases"                 href="/adminguide/databases.html" 
/>
-      <item name="Security"                  href="/adminguide/security.html" 
collapse="true">
-        <item name="Roles"                   href="/adminguide/roles.html" />
-        <item name="Customising"             
href="/adminguide/customising-security.html" />
+      <item name="Databases"                    
href="/adminguide/databases.html" />
+      <item name="Repositories Content Storage" 
href="/adminguide/repositories-content-storage.html"/>
+      <item name="Security"                     
href="/adminguide/security.html" collapse="true">
+        <item name="Roles"                      href="/adminguide/roles.html" 
/>
+        <item name="Customising"                
href="/adminguide/customising-security.html" />
 <!-- TODO: for a future version
         <item name="Using LDAP"              href="/adminguide/ldap.html" />
 -->


Reply via email to