2.2.4.25. Publication Deployment

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

This plugin is used to publish content. This plugin checks if content is enrolled to a publication lifecycle or not. If content has been enrolled, this plugin will unsubscribe content from the publication lifecycle. The configuration is applied mainly in webapps/acme-website/WEB-INF/conf/acme-portal/wcm/deployment/acme-deployment-configuration.xml.

Sample configuration:


<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.wcm.extensions.deployment.PublicationDeploymentPlugin</type>
      <description>Publication Deployment Plugin</description>
      <init-params>
        <object-param>
          <name>plfpub01</name>
          <description>Deployment Descriptor</description>
          <object type="org.exoplatform.services.wcm.extensions.deployment.PublicationDeploymentDescriptor">
            <field name="contents">
              <collection type="java.util.ArrayList">
                <value><string>collaboration:/sites/acme/web contents/site artifacts/Introduce</string></value>
                <value><string>collaboration:/sites/acme/web contents/site artifacts/contact_form_confirmation</string></value>
                <value><string>collaboration:/sites/acme/web contents/site artifacts/contact-us-countries</string></value>
                ...
              </collection>
            </field>
          </object>
        </object-param>
      </init-params>
    </component-plugin>
</external-component-plugins>

In which:

Field Type Value Description
contents Collection {java.util.ArrayList} The content paths.
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus