<?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">

	<external-component-plugins>
		<target-component>org.exoplatform.commons.upgrade.UpgradeProductService</target-component>
	  <component-plugin>
			<name>NodeTypeTemplateUpgradePlugin</name>
			<set-method>addUpgradePlugin</set-method>
			<type>org.exoplatform.ecms.upgrade.plugins.NodeTypeTemplateUpgradePlugin</type>
			<description>Upgrade templates for node types</description>
			<init-params>
			<value-param>
			    <name>product.group.id</name>
			    <description>The groupId of the product</description>
			    <value>org.exoplatform.ecms</value>
			</value-param>
			<value-param>
			    <name>plugin.execution.order</name>
			    <description>The plugin execution order</description>
			    <value>2</value>
			</value-param>
			</init-params>
    </component-plugin>
    <component-plugin>
      <name>QueryUpgradePlugin</name>
      <set-method>addUpgradePlugin</set-method>
      <type>org.exoplatform.ecms.upgrade.plugins.QueryUpgradePlugin</type>
      <description>Upgrade queries</description>
      <init-params>
      <value-param>
          <name>product.group.id</name>
          <description>The groupId of the product</description>
          <value>org.exoplatform.ecms</value>
      </value-param>
      <value-param>
          <name>plugin.execution.order</name>
          <description>The plugin execution order</description>
          <value>2</value>
      </value-param>
      </init-params>
    </component-plugin>    
    <component-plugin>
      <name>ScriptUpgradePlugin</name>
      <set-method>addUpgradePlugin</set-method>
      <type>org.exoplatform.ecms.upgrade.plugins.ScriptUpgradePlugin</type>
      <description>Upgrade groovy scripts</description>
      <init-params>
      <value-param>
          <name>product.group.id</name>
          <description>The groupId of the product</description>
          <value>org.exoplatform.ecms</value>
      </value-param>
      <value-param>
          <name>plugin.execution.order</name>
          <description>The plugin execution order</description>
          <value>2</value>
      </value-param>
      </init-params>
    </component-plugin>
    <component-plugin>
      <name>SiteExplorerTemplateUpgradePlugin</name>
      <set-method>addUpgradePlugin</set-method>
      <type>org.exoplatform.ecms.upgrade.plugins.SiteExplorerTemplateUpgradePlugin</type>
      <description>Upgrade view templates in Site Explorer</description>
      <init-params>
      <value-param>
          <name>product.group.id</name>
          <description>The groupId of the product</description>
          <value>org.exoplatform.ecms</value>
      </value-param>
      <value-param>
          <name>plugin.execution.order</name>
          <description>The plugin execution order</description>
          <value>2</value>
      </value-param>
      </init-params>
    </component-plugin>
    <component-plugin>
      <name>WCMTemplateUpgradePlugin</name>
      <set-method>addUpgradePlugin</set-method>
      <type>org.exoplatform.ecms.upgrade.plugins.WCMTemplateUpgradePlugin</type>
      <description>Upgrade view templates of WCM like CLV templates and search templates</description>
      <init-params>
      <value-param>
          <name>product.group.id</name>
          <description>The groupId of the product</description>
          <value>org.exoplatform.ecms</value>
      </value-param>
      <value-param>
          <name>plugin.execution.order</name>
          <description>The plugin execution order</description>
          <value>2</value>
      </value-param>
      </init-params>
    </component-plugin>    
    <component-plugin>
      <name>UserViewUpgradePlugin</name>
      <set-method>addUpgradePlugin</set-method>
      <type>org.exoplatform.ecms.upgrade.plugins.UserViewUpgradePlugin</type>
      <description>Upgrade views for Site Explorer</description>
      <init-params>
      <value-param>
          <name>product.group.id</name>
          <description>The groupId of the product</description>
          <value>org.exoplatform.ecms</value>
      </value-param>
      <value-param>
          <name>plugin.execution.order</name>
          <description>The plugin execution order</description>
          <value>2</value>
      </value-param>
      </init-params>
    </component-plugin>      
	</external-component-plugins>
</configuration>

