<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd http://www.exoplaform.org/xml/ns/kernel_1_0.xsd"
	xmlns="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd">
	<external-component-plugins>
		<!-- The full qualified name of the PortalContainerConfig -->
		<target-component>org.exoplatform.container.definition.PortalContainerConfig</target-component>
		<component-plugin>
			<!-- The name of the plugin -->
			<name>Change PortalContainer Definitions</name>
			<!-- The name of the method to call on the PortalContainerConfig in order to register the changes on the PortalContainerDefinitions -->
			<set-method>registerChangePlugin</set-method>
			<!-- The full qualified name of the PortalContainerDefinitionChangePlugin -->
			<type>org.exoplatform.container.definition.PortalContainerDefinitionChangePlugin</type>
			<init-params>
				<value-param>
					<name>apply.default</name>
					<value>true</value>
				</value-param>
				<object-param>
					<name>change</name>
					<object type="org.exoplatform.container.definition.PortalContainerDefinitionChange$AddDependencies">
						<!-- The list of name of the dependencies to add -->
						<field name="dependencies">
							<collection type="java.util.ArrayList">
								<value>
									<string>officeResources</string>
								</value>
								<value>
									<string>office-portal</string>
								</value>
							</collection>
						</field>					
					</object>
				</object-param>				
			</init-params>
		</component-plugin>
	</external-component-plugins>	
</configuration>
