<?xml version="1.0" encoding="ISO-8859-1"?>
<configuration
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
   xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

	 <component>
    <type>org.exoplatform.commons.info.ProductInformations</type>
    <init-params>
      <value-param>
        <name>product.versions.declaration.file</name>
        <value>jar:/conf/ecms.properties</value>
      </value-param>
    </init-params>
  </component>
		
  <component>
		  <type>org.exoplatform.commons.upgrade.UpgradeProductService</type>
		  <init-params>
			   <!-- Proceed to the upgrade if it's first time you run this service -->
			   <value-param>
				    <name>proceedUpgradeWhenFirstRun</name>
				    <value>${commons.upgrade.proceedIfFirstRun}</value>
			   </value-param>
		  </init-params>
	 </component>
		
  <external-component-plugins>
		  <target-component>org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator</target-component>
		  <component-plugin>
			   <name>addPaths</name>
			   <set-method>addPlugin</set-method>
			   <type>org.exoplatform.services.jcr.ext.hierarchy.impl.AddPathPlugin</type>
	     <init-params>
		      <object-param>
			       <name>cms.configuration</name>
			       <description>configuration for the cms path</description>
			       <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig">
				        <field name="workspaces">
					         <collection type="java.util.ArrayList">
						          <value>
							           <string>collaboration</string>
						          </value>
					         </collection>
				        </field>
											 <field name="jcrPaths">
												  <collection type="java.util.ArrayList">
													   <value>
																	 <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">
																		  <field name="alias">
																			   <string>exoApplicationDataNode</string>
																		  </field>
																		  <field name="path">
																			   <string>/Application Data</string>
																		  </field>
																		  <field name="mixinTypes">
																			   <collection type="java.util.ArrayList">
																				    <value>
																					     <string>exo:hiddenable</string>
																				    </value>
																			   </collection>
																		  </field>
																				<field name="permissions">
																					 <collection type="java.util.ArrayList">
																						  <value>
																							   <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">
																								    <field name="identity">
																									     <string>any</string>
																								    </field>
																								    <field name="read">
																									     <string>true</string>
																												</field>
																												<field name="addNode">
																													 <string>false</string>
																												</field>
																												<field name="setProperty">
																													 <string>false</string>
																												</field>
																												<field name="remove">
																													 <string>false</string>
																												</field>
																										</object>
																								</value>
																					 </collection>
																				</field>
																		</object>
																</value>
												  </collection>
										  </field>
								  </object>
						  </object-param>
				  </init-params>
				</component-plugin>
		</external-component-plugins>		
				
</configuration>