<?xml version="1.0" encoding="ISO-8859-1"?>
<!--

    Copyright (C) 2009 eXo Platform SAS.
    
    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.
    
    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.
    
    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->

<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.services.deployment.WCMContentInitializerService</type>
  </component>

  <external-component-plugins>
    <target-component>org.exoplatform.services.deployment.WCMContentInitializerService</target-component>
    <component-plugin>
      <name>Content Initializer Service</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.deployment.plugins.XMLDeploymentPlugin</type>
      <description>XML Deployment Plugin</description>
      <init-params>
        <object-param>
          <name>ACME Logo data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents/site artifacts</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Logo.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Signin data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents/site artifacts</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Signin.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Searchbox data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents/site artifacts</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Searchbox.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Navigation data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents/site artifacts</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Navigation.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Footer data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents/site artifacts</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Footer.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Introduce data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents/site artifacts</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Introduce.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Stylesheet Green data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/css</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/StylesheetGreen.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Stylesheet Blue data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/css</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/StylesheetBlue.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Images data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/medias/images</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Images.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME News data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/News.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Events data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Events.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME NewEvents data</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/NewEvents.xml</string>
            </field>
          </object>
        </object-param>
        <!--  object-param>        
            <name>ACME Documents data</name>
            <description>Deployment Descriptor</description>
            <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
              <field  name="target">
              	<object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
              		<field  name="repository"><string>repository</string></field>
              		<field  name="workspace"><string>collaboration</string></field>
              		<field  name="nodePath"><string>/sites content/live/acme/web contents/site artifacts</string></field>
              	</object>
              </field>
              <field  name="sourcePath"><string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Documents.xml</string></field>
            </object>
          </object-param -->
        <object-param>
          <name>ACME Doc Word</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/documents</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/DocWord.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Doc Jpg</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/documents</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/DocJpg.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Doc Pdf</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/documents</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/DocPdf.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Newsletter header</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents/site artifacts</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/NewsletterHeader.xml</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ACME Form Confirmation</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.DeploymentDescriptor">
            <field name="target">
              <object type="org.exoplatform.services.deployment.DeploymentDescriptor$Target">
                <field name="repository">
                  <string>repository</string>
                </field>
                <field name="workspace">
                  <string>collaboration</string>
                </field>
                <field name="nodePath">
                  <string>/sites content/live/acme/web contents/site artifacts</string>
                </field>
              </object>
            </field>
            <field name="sourcePath">
              <string>war:/conf/sample-portal/wcm/artifacts/site-resources/acme/Confirmation.xml</string>
            </field>
          </object>
        </object-param>
      </init-params>
    </component-plugin>
  </external-component-plugins>


  <external-component-plugins>
    <target-component>org.exoplatform.services.deployment.WCMContentInitializerService</target-component>
    <component-plugin>
      <name>Content Initializer Service</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.deployment.plugins.LinkDeploymentPlugin</type>
      <description>Link Deployment Plugin</description>
      <init-params>
        <object-param>
          <name>link01</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/News/News1</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/categories/acme</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link02</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/News/News2</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/categories/acme</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link03</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/News/News3</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/categories/acme</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link04</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/News/News4</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/categories/acme</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link11</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/News/News1</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/categories/acme/World</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link21</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/NewEvents/a-revolution-in-the-multi-touch-displays</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/events/All/Products</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link22</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/NewEvents/architecture-and-design-the-future-of-our-products</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/events/All/Products</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link23</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/NewEvents/mondial-expo-are-you-ready-for-the-future</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/events/All/Releases</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link24</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/NewEvents/a-revolution-in-the-multi-touch-displays</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/events/All/Use Cases</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link25</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/NewEvents/a-revolution-in-the-multi-touch-displays</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/events/All</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>link26</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.deployment.plugins.LinkDeploymentDescriptor">
            <field name="sourcePath">
              <string>repository:collaboration:/sites content/live/acme/web contents/NewEvents/architecture-and-design-the-future-of-our-products</string>
            </field>
            <field name="targetPath">
              <string>repository:collaboration:/sites content/live/acme/events</string>
            </field>
          </object>
        </object-param>
      </init-params>
    </component-plugin>
  </external-component-plugins>


</configuration>
