<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.exoplatform.platform</groupId>
    <artifactId>exo.platform.packaging</artifactId>
    <version>3.5.0-Beta3</version>
  </parent>
  <artifactId>exo.platform.packaging.tomcat</artifactId>
  <packaging>pom</packaging>
  <name>eXo Platform - Packaging Tomcat</name>
  <dependencies>
    <dependency>
      <groupId>org.exoplatform.tool</groupId>
      <artifactId>exopackage</artifactId>
      <version>${org.exoplatform.exopackage.version}</version>
      <type>zip</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.kernel</groupId>
      <artifactId>kernel.packaging.module</artifactId>
      <version>${org.exoplatform.kernel.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.core</groupId>
      <artifactId>core.packaging.module</artifactId>
      <version>${org.exoplatform.core.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ws</groupId>
      <artifactId>ws.packaging.module</artifactId>
      <version>${org.exoplatform.ws.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.jcr</groupId>
      <artifactId>jcr.packaging.module</artifactId>
      <version>${org.exoplatform.jcr.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>portal.packaging.module</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>js</type>
    </dependency>
    <!-- PLATFORM -->
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.server.tomcat.patch</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>platform.packaging.module</artifactId>
      <version>${project.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>platform.packaging.product</artifactId>
      <version>${project.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.packaging.commons</artifactId>
      <version>${project.version}</version>
      <type>zip</type>
    </dependency>
    <!-- KS -->
    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>ks.packaging.module</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>portal.packaging.product</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>js</type>
    </dependency>
    <!-- CS -->
    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>cs.packaging.module</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>cs.packaging.product</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>js</type>
    </dependency>
    <!-- SOCIAL -->
    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>social.packaging.module</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>social.packaging.product</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>js</type>
    </dependency>
    <!-- ECMS -->
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>workflow.packaging.module</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>dms.packaging.module</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>wcm.packaging.module</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>js</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>wcm.packaging.product</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>js</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-delivery-wkf-wcm</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-delivery-wcm-assembly</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-webui</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-webui-seo</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-apps-portlet-seo</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>
	<!-- 2.2.0-SNAPSHOT-->
    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.packaging.assembly</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.packaging.assembly</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.packaging.pkg</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>pom</type>
    </dependency>
    <!-- workflow dependencies -->
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-facade-jbpm</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-bp-jbpm-content</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-bp-content-webui</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-bp-content-plugin</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-bp-content-publication</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>
    
    <!-- main portal container config -->
    <!--dependency>
		    <groupId>org.exoplatform.platform</groupId>
		    <artifactId>exo.platform.extension</artifactId>
		    <version>${project.version}</version>
		    <type>jar</type>
		  </dependency-->
    <!-- ////////////// Deploy dependencies ////////////// -->

    <!-- IDE dependencies -->
    <dependency>
      <groupId>org.exoplatform.gwt</groupId>
      <artifactId>exo-gwtframework-smartgwt</artifactId>
      <version>${org.exoplatform.gwtframework.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-client-gadget</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-server</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.core</groupId>
      <artifactId>exo.core.component.script.groovy</artifactId>
      <version>${org.exoplatform.core.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-extension-gadget-server</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-extension-netvibes-server</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-extension-groovy-server</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-extension-chromattic-server</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.chromattic</groupId>
      <artifactId>chromattic.ext</artifactId>
      <version>${org.chromattic.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.chromattic</groupId>
      <artifactId>chromattic.groovy</artifactId>
      <version>${org.chromattic.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.chromattic</groupId>
      <artifactId>chromattic.dataobject</artifactId>
      <version>${org.chromattic.version}</version>
      <type>jar</type>
    </dependency>

    <!-- Crash -->
    <dependency>
      <groupId>org.crsh</groupId>
      <artifactId>crsh.core</artifactId>
      <version>${org.crsh.version}</version>
      <type>war</type>
    </dependency>
    <!-- INTEGRATION PROJECTS -->
    <dependency>
      <groupId>org.exoplatform.integration</groupId>
      <artifactId>integ-ecms-social</artifactId>
      <version>${org.exoplatform.integ.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
       <groupId>org.exoplatform.integration</groupId>
       <artifactId>integ-ks-social</artifactId>
       <version>${org.exoplatform.integ.version}</version>
       <type>jar</type>
    </dependency>
    <dependency>
       <groupId>org.exoplatform.integration</groupId>
       <artifactId>integ-cs-social</artifactId>
       <version>${org.exoplatform.integ.version}</version>
       <type>jar</type>
    </dependency>
    <dependency>
       <groupId>org.exoplatform.integration</groupId>
       <artifactId>integ-social-ecms</artifactId>
       <version>${org.exoplatform.integ.version}</version>
       <type>jar</type>
    </dependency>
    <!-- MISSING DEPENDENCIES -->
    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.fck</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.webapp.portlet</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.component.product</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.component.upgrade</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.webapp.resources</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.comet.webapp</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.comet.service</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.webui</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.resources</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.extension.webapp</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.webapp.opensocial</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.extras.link-composer-plugin</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.component.common</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.starter.war</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-connector</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-search</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-webui</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${org.slf4j.version}</version>
      <type>jar</type>
    </dependency>
    
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <version>${org.slf4j.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.component.common</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.jcr</groupId>
      <artifactId>exo.jcr.component.ftp</artifactId>
      <version>${org.exoplatform.jcr.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.kernel</groupId>
      <artifactId>exo.kernel.component.command</artifactId>
      <version>${org.exoplatform.kernel.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.gatein.wci</groupId>
      <artifactId>wci-exo</artifactId>
      <version>${org.gatein.wci.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.component.service</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.web.portal</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-newsletter-portlet</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.portlet.web</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.portlet.exoadmin</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-apps-portlet-presentation</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.eXoGadgets</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ws</groupId>
      <artifactId>exo.ws.rest.core</artifactId>
      <version>${org.exoplatform.ws.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-apps-resources-static</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-webui-administration</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>bsh</groupId>
      <artifactId>bsh</artifactId>
      <version>${bsh.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-resources</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.web.webservice</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
        <groupId>net.oauth.core</groupId>
        <artifactId>oauth</artifactId>
        <version>${net.oauth.version}</version>
    </dependency>
    <dependency>
        <groupId>net.oauth.core</groupId>
        <artifactId>oauth-provider</artifactId>
        <version>${net.oauth.version}</version>
    </dependency>
	<dependency>
	  <groupId>net.oauth.core</groupId>
	  <artifactId>oauth-consumer</artifactId>
      <version>${net.oauth-consumer.version}</version>
	</dependency>
	<dependency>
	  <groupId>net.oauth.core</groupId>
	  <artifactId>oauth-httpclient4</artifactId>
	  <version>${net.oauth-httpclient.version}</version>
	</dependency>

    <dependency>
      <groupId>cglib</groupId>
      <artifactId>cglib</artifactId>
      <version>${cglib.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-webui</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.reflext</groupId>
      <artifactId>reflext.jlr</artifactId>
      <version>${org.reflext.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.component.bbcode</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ws</groupId>
      <artifactId>exo.ws.commons</artifactId>
      <version>${org.exoplatform.ws.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.kernel</groupId>
      <artifactId>exo.kernel.component.ext.cache.impl.jboss.v3</artifactId>
      <version>${org.exoplatform.kernel.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.mail.webapp</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-viewer</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-bp-jbpm-holiday</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.jcr</groupId>
      <artifactId>exo.jcr.component.core</artifactId>
      <version>${org.exoplatform.jcr.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-apps-gadget-publication</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ws</groupId>
      <artifactId>exo.ws.frameworks.servlet</artifactId>
      <version>${org.exoplatform.ws.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.organization.client.openfire</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-bp-jbpm-payraise</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.eXoApplication.forum.service</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-apps-portlet-administration</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.chat.webapp</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-newsletter-services</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.portlet.dashboard</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.webui.dashboard</artifactId>  <!-- changed in 3.2 -->
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>


    <dependency>
      <groupId>org.exoplatform.jcr</groupId>
      <artifactId>exo.jcr.component.webdav</artifactId>
      <version>${org.exoplatform.jcr.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.eXoApplication.faq.webapp</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.eXoApplication.poll.webapp</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.eXoApplication.faq.service</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.content.webapp</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.contact.webapp</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-workflow-portlet-administration</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-apps-resources-dms</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-webui-explorer</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>jcr</groupId>
      <artifactId>jcr</artifactId>
      <version>${jcr.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-apps-resources-wcm</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.component.management</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>
    <!-- 2.1.0-SNAPSHOT-->
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.component.identity</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>
    <!-- 2.1.0-SNAPSHOT-->
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.component.common</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>
    <!-- 2.1.0-SNAPSHOT-->
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.gadgets-core</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>
    <!-- 2.1.0-SNAPSHOT-->
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.webui.core</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>
    <!-- 2.1.0-SNAPSHOT-->
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.webui.portal</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>
    <!-- 2.1.0-SNAPSHOT-->
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.component.pc</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>

    <!-- 2.1.0-SNAPSHOT-->
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.webui.eXo</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>
    <!-- 2.1.0-SNAPSHOT-->
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.component.portal</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>

    <!-- 3.1.0-GA-->
    <dependency>
      <groupId>org.exoplatform.kernel</groupId>
      <artifactId>exo.kernel.component.cache</artifactId>
      <version>${org.exoplatform.kernel.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.eXoApplication.forum.webapp</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.eXoApplication.common</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-apps-portlet-search</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-publication-plugins</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.jcr</groupId>
      <artifactId>exo.jcr.component.ext</artifactId>
      <version>${org.exoplatform.jcr.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.extension.webapp</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-formgenerator-portlet</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.web.rest</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>war</type>
    </dependency>


    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.extras.feedmash</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.gadgets-server</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.component.rendering</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-apps-portlet-explorer</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.tool</groupId>
      <artifactId>exo.tool.webunit</artifactId>
      <version>${org.exoplatform.tool.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.jcr</groupId>
      <artifactId>exo.jcr.framework.command</artifactId>
      <version>${org.exoplatform.jcr.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.extension.webapp</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>findbugs</groupId>
      <artifactId>annotations</artifactId>
      <version>${findbugs.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>html-parser</groupId>
      <artifactId>html-parser</artifactId>
      <version>${html-parser.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.content.service</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.contact.service</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.organization.service</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.chatbar.webapp</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>war</type>
    </dependency>
    <!-- cs extended lib -->
    <dependency>
      <groupId>ical4j</groupId>
      <artifactId>ical4j</artifactId>
      <version>${ical4j.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.jackrabbit</groupId>
      <artifactId>jackrabbit-webdav</artifactId>
      <version>${org.apache.jackrabbit.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.jackrabbit</groupId>
      <artifactId>jackrabbit-jcr-commons</artifactId>
      <version>${org.apache.jackrabbit.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.jvnet.jaxb2.maven2</groupId>
      <artifactId>maven-jaxb2-plugin</artifactId>
      <version>${org.jvnet.jaxb2.maven2.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.calendar.webapp</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.extension.war</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ws</groupId>
      <artifactId>exo.ws.frameworks.json</artifactId>
      <version>${org.exoplatform.ws.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.jsecurity</groupId>
      <artifactId>jsecurity</artifactId>
      <version>${org.jsecurity.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-packaging-workflow-webapp</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.web.csResources</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-authoring-services</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
      <version>${xml-apis.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ws</groupId>
      <artifactId>exo.ws.rest.ext</artifactId>
      <version>${org.exoplatform.ws.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.chat.service</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.chromattic</groupId>
      <artifactId>chromattic.core</artifactId>
      <version>${org.chromattic.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.chromattic</groupId>
      <artifactId>chromattic.apt</artifactId>
      <version>${org.chromattic.version}</version>
      <type>jar</type>
    </dependency><!-- 1.1.0-beta2-->

    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.web.eXoResources</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.eXoApplication.poll.service</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.gatein.pc</groupId>
      <artifactId>pc-controller</artifactId>
      <version>${org.gatein.pc.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-deprecated-portlet-browsecontent</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.kernel</groupId>
      <artifactId>exo.kernel.component.common</artifactId>
      <version>${org.exoplatform.kernel.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.web.ksResources</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.jcr</groupId>
      <artifactId>exo.jcr.framework.web</artifactId>
      <version>${org.exoplatform.jcr.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.jboss</groupId>
      <artifactId>jboss-common-core</artifactId>
      <version>${org.jboss.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.social</groupId>
      <artifactId>exo.social.component.opensocial</artifactId>
      <version>${org.exoplatform.social.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.gatein.shindig</groupId>
      <artifactId>shindig-social-api</artifactId>
      <version>${org.gatein.shindig.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>asm</groupId>
      <artifactId>asm</artifactId>
      <version>${asm.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.jcrom</groupId>
      <artifactId>jcrom</artifactId>
      <version>${jcrom.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-authoring-webui</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-ext-authoring-apps</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.component.common</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.component.gadgets</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.component.webui</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.acme-intranet.config</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.acme-intranet.webapp</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.acme-intranet.portlet</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.acme-website.webapp</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.acme-website.resources</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.default-website.webapp</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.extension.portlets.platformNavigation</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.extension.config</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.component.edition.enterprise</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.acme-website.config</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.acme-website.component.file-explorer</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.acme-website.component.navigation-rest</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.default-website.config</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.extension.webapp</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>   
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.extension.resources</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
    <!-- WebOS dependencies -->
    <dependency>
      <groupId>org.exoplatform.webos</groupId>
      <artifactId>exo.webos.extension.war</artifactId>
      <version>${org.exoplatform.webos.version}</version>
      <type>war</type>
    </dependency>
	<dependency>
      <groupId>org.exoplatform.webos</groupId>
      <artifactId>exo.webos.portlet.webosadmin</artifactId>
      <version>${org.exoplatform.webos.version}</version>
      <type>war</type>
    </dependency>
	<dependency>
      <groupId>org.exoplatform.webos</groupId>
      <artifactId>exo.webos.web.webosResources</artifactId>
      <version>${org.exoplatform.webos.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.webos</groupId>
      <artifactId>exo.webos.component.web</artifactId>
      <version>${org.exoplatform.webos.version}</version>
      <type>jar</type>
    </dependency> 
    <dependency>
      <groupId>org.exoplatform.webos</groupId>
      <artifactId>exo.webos.webui.webos</artifactId>
      <version>${org.exoplatform.webos.version}</version>
      <type>jar</type>
    </dependency>
	<dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.calendar.service</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.cs</groupId>
      <artifactId>exo.cs.eXoApplication.mail.service</artifactId>
      <version>${org.exoplatform.cs.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-parser</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ecms</groupId>
      <artifactId>exo-ecms-core-webapp</artifactId>
      <version>${org.exoplatform.ecms.version}</version>
      <type>war</type>
    </dependency>
    <!-- wiki dependencies -->
    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.eXoApplication.wiki.service</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ks</groupId>
      <artifactId>exo.ks.eXoApplication.wiki.webapp</artifactId>
      <version>${org.exoplatform.ks.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>javax.validation</groupId>
      <artifactId>validation-api</artifactId>
      <version>${javax.validation.version}</version>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-validator</artifactId>
      <version>${hibernate-validator.version}</version>
    </dependency>
    <dependency>
      <groupId>org.python</groupId>
      <artifactId>jython-standalone</artifactId>
      <version>${jython-standalone.version}</version>
    </dependency>
    <dependency>
      <groupId>pygments</groupId>
      <artifactId>pygments</artifactId>
      <version>${pygments.version}</version>
    </dependency>
    <dependency>
      <groupId>net.sourceforge.htmlcleaner</groupId>
      <artifactId>htmlcleaner</artifactId>
      <version>${net.sourceforge.htmlcleaner.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-web-gwt-wysiwyg-client</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-configuration-api</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-model</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-context</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-component-api</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-component-default</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-properties</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-xml</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-script</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-rendering-api</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-rendering-syntax-wikimodel</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-rendering-macro-box</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-rendering-macro-toc</artifactId>
      <version>${org.xwiki.platform.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-rendering-macro-message</artifactId>
      <version>${org.xwiki.platform.version}</version>
    </dependency>
    <!-- don't upgrade version for code macro -->
    <dependency>
      <groupId>org.xwiki.platform</groupId>
      <artifactId>xwiki-core-rendering-macro-code</artifactId>
      <version>2.3.2</version>
    </dependency>
    <!--dependency>
      <groupId>org.xwiki.contrib</groupId>
      <artifactId>xwiki-macro-column</artifactId>
      <version>${column-macro.version}</version>
    </dependency-->
    <dependency>
      <groupId>org.wikimodel</groupId>
      <artifactId>org.wikimodel.wem</artifactId>
      <version>${org.wikimodel.version}</version>
    </dependency>
    <dependency>
      <groupId>org.suigeneris</groupId>
      <artifactId>jrcs.diff</artifactId>
      <version>${org.suigeneris.version}</version>
    </dependency>
    <dependency>
      <groupId>org.suigeneris</groupId>
      <artifactId>jrcs.rcs</artifactId>
      <version>${org.suigeneris.version}</version>
    </dependency>
    <dependency>
      <groupId>ecs</groupId>
      <artifactId>ecs</artifactId>
      <version>${ecs.version}</version>
    </dependency>
    <!-- end wiki dependencies -->
    <dependency>
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
      <version>${commons-httpclient.version}</version>
    </dependency>
    <dependency>
      <groupId>commons-pool</groupId>
      <artifactId>commons-pool</artifactId>
      <version>${commons-pool.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>commons-dbcp</groupId>
      <artifactId>commons-dbcp</artifactId>
      <version>${commons-dbcp.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.gatein.shindig</groupId>
      <artifactId>shindig-common</artifactId>
      <version>${org.gatein.shindig.version}</version>
    </dependency>
    <!-- needed since switch to portal 3.2 -->
    <dependency>
      <groupId>org.gatein.wci</groupId>
      <artifactId>wci-tomcat6</artifactId>
      <version>${org.gatein.wci.version}</version>
      <type>jar</type>
    </dependency><!-- 2.0.2-GA-->
    <dependency>
      <groupId>org.exoplatform.core</groupId>
      <artifactId>exo.core.component.organization.jdbc</artifactId>
      <version>${org.exoplatform.core.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.component.resources</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.portal</groupId>
      <artifactId>exo.portal.component.scripting</artifactId>
      <version>${org.exoplatform.portal.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.webui.ext</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.upgrade.plugins</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.component.organization</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <!-- Gadgets-->
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.gadgets-sample.gadgets</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.gadgets-sample.exo-gadget-resources</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.gadgets-sample.service</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.gadgets-sample.config</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <!-- Gadget pack -->
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>gadget-pack-config</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>gadget-pack-services</artifactId>
      <version>${project.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>gadget-pack</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>	 
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>${guava.version}</version>
      <type>jar</type>
    </dependency><!-- r07-->
    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpclient</artifactId>
      <version>${httpcomponents.httpclient.version}</version>
      <type>jar</type>
    </dependency><!-- 4.0-->
  </dependencies>

  <build>
    <finalName>eXo-Platform-tomcat-${project.version}</finalName>
    <plugins>
      <!-- check-out exobuild -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>unpack-dependencies</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <overWriteSnapshots>true</overWriteSnapshots>
              <artifactItems>
                <artifactItem>
                  <groupId>org.exoplatform.tool</groupId>
                  <artifactId>exopackage</artifactId>
                  <type>zip</type>
                  <outputDirectory>target/exopackage</outputDirectory>
                </artifactItem>
                <artifactItem>
                  <groupId>org.exoplatform.platform</groupId>
                  <artifactId>exo.platform.packaging.commons</artifactId>
                  <type>zip</type>
                  <outputDirectory>target/commons</outputDirectory>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <id>copy-dependencies</id>
            <phase>compile</phase>
            <goals>
              <goal>copy-dependencies</goal>
            </goals>
            <configuration>
              <includeTypes>js</includeTypes>
              <stripVersion>true</stripVersion>
              <outputDirectory>${project.build.directory}/exopackage-conf</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <!-- Ensure your environment is correctly setup -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>check-environment-ready</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <requireProperty>
                  <property>exo.projects.directory.dependencies</property>
                  <message>You must define the property exo.projects.directory.dependencies to
                    give the path to the directory where you store your applications servers</message>
                </requireProperty>
                <requireProperty>
                  <property>exo.projects.app.tomcat.version</property>
                  <message>You must define the property exo.projects.app.tomcat.version to
                    give the name of the directory where is stored tomcat</message>
                </requireProperty>
                <requireFilesExist>
                  <files>
                    <file>${exo.projects.directory.dependencies}/${exo.projects.app.tomcat.version}/</file>
                  </files>
                  <message>The following Tomcat directory doesn't exist :
                    ${exo.projects.directory.dependencies}/${exo.projects.app.tomcat.version}</message>
                </requireFilesExist>
              </rules>
              <fail>true</fail>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <!-- run eXoBuild -->
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>exopackage</id>
            <phase>package</phase>
            <configuration>
              <executable>java</executable>
              <workingDirectory>${basedir}</workingDirectory>
              <arguments>
                <argument>-Dexo.package.home=${basedir}/target/exopackage</argument>
                <argument>-Dexo.current.dir=${basedir}</argument>
                <argument>-Dexo.base.dir=${exo.projects.directory.base}</argument>
                <argument>-Dexo.conf.dir=${basedir}/target/exopackage-conf</argument>
                <argument>-Dexo.working.dir=${basedir}/target</argument>
                <argument>-Dexo.dep.dir=${exo.projects.directory.dependencies}</argument>
                <argument>-Dexo.m2.repos=file:${settings.localRepository}</argument>
                <argument>-Dclean.server=${exo.projects.app.tomcat.version}</argument>
                <argument>-Dexo.m2.home=${maven.home}</argument>
                <argument>-Xshare:auto</argument>
                <argument>-Xms128m</argument>
                <argument>-Xmx1220m</argument>
                <argument>-XX:MaxPermSize=128M</argument>
                <argument>-classpath</argument>
                <argument>${basedir}/target/exopackage/lib/js.jar</argument>
                <argument>org.mozilla.javascript.tools.shell.Main</argument>
                <argument>${basedir}/target/exopackage/javascript/eXo/eXo.js</argument>
                <argument>exobuild</argument>
                <argument>--product=platform</argument>
                <argument>--deploy=tomcat</argument>
                <argument>--enable-workflow=${exo.workflow.engine}</argument>
              </arguments>
            </configuration>
            <goals>
              <goal>exec</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
<!--
 |
 | The distrib profile is called by hudson to generate the official packages:
 |  - tomcat
 |  - chatserver
 |
 -->
    <profile>
      <id>distrib</id>
      <build>
        <plugins>
          <!-- create zip archives -->
          <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <executions>
              <execution>
                <id>package-tomcat</id>
                <phase>package</phase>
                <goals>
                  <goal>single</goal>
                </goals>
                <configuration>
                  <descriptors>
                    <descriptor>src/main/assembly/tomcat-archive.xml</descriptor>
                  </descriptors>
                  <appendAssemblyId>false</appendAssemblyId>
                </configuration>
              </execution>
              <execution>
                <id>package-chatserver</id>
                <phase>package</phase>
                <goals>
                  <goal>single</goal>
                </goals>
                <configuration>
                  <descriptors>
                    <descriptor>src/main/assembly/chatserver-archive.xml</descriptor>
                  </descriptors>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
