<?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.extension</artifactId>
    <version>3.5.0-Beta3</version>
  </parent>
  <artifactId>exo.platform.extension.ear</artifactId>
  <packaging>ear</packaging>
  <name>eXo Platform - Extension EAR</name>
  <dependencies>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.extension.config</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.component.edition.enterprise</artifactId>
      <version>${project.version}</version>
    </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.component.common</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.component.webui</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.component.gadgets</artifactId>
      <version>${project.version}</version>
    </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>
    <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>
    <!-- Commons -->
    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.component.product</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <exclusions>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.ext</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.commons</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.component.upgrade</artifactId>
      <version>${org.exoplatform.commons.version}</version>
	  <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.extension.webapp</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>war</type>
	  <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.webui.ext</artifactId>
      <version>${org.exoplatform.commons.version}</version>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.webui</artifactId>
      <version>${org.exoplatform.commons.version}</version>
    </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.resources</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>
      <exclusions>
        <exclusion>
          <groupId>javax.ws.rs</groupId>
          <artifactId>jsr311-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.activation</groupId>
          <artifactId>activation</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.objectweb.carol</groupId>
          <artifactId>carol</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-beanutils</groupId>
          <artifactId>commons-beanutils</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-fileupload</groupId>
          <artifactId>commons-fileupload</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-logging</groupId>
          <artifactId>commons-logging</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.component.common</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.commons</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.frameworks.json</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.commons</groupId>
      <artifactId>exo.platform.commons.fck</artifactId>
      <version>${org.exoplatform.commons.version}</version>
      <type>war</type>
    </dependency>
    <!-- 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>
      <exclusions>
        <exclusion>
          <groupId>javax.servlet</groupId>
          <artifactId>servlet-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.ws.rs</groupId>
          <artifactId>jsr311-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.jcr</groupId>
          <artifactId>jcr</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.frameworks.servlet</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.framework.web</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform</groupId>
          <artifactId>exo-jcr-services</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-beanutils</groupId>
          <artifactId>commons-beanutils</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-codec</groupId>
          <artifactId>commons-codec</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-chain</groupId>
          <artifactId>commons-chain</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.annotation</groupId>
          <artifactId>jsr250-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.objectweb.carol</groupId>
          <artifactId>carol</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.security.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.ext</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.webdav</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.commons</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-fileupload</groupId>
          <artifactId>commons-fileupload</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-logging</groupId>
          <artifactId>commons-logging</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.apache.tika</groupId>
          <artifactId>tika-parsers</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.apache.tika</groupId>
          <artifactId>tika-core</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.core</groupId>
      <artifactId>exo.core.component.script.groovy</artifactId>
      <version>${org.exoplatform.core.version}</version>
      <type>jar</type>
      <exclusions>
        <exclusion>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-all</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.commons</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.container</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-extension-gadget-server</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>jar</type>
      <exclusions>
        <exclusion>
          <groupId>javax.ws.rs</groupId>
          <artifactId>jsr311-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.jcr</groupId>
          <artifactId>jcr</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.json</groupId>
          <artifactId>json</artifactId>
        </exclusion>
        <exclusion>
          <groupId>picocontainer</groupId>
          <artifactId>picocontainer</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-io</groupId>
          <artifactId>commons-io</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-collections</groupId>
          <artifactId>commons-collections</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.portal</groupId>
          <artifactId>exo.portal.component.application-registry</artifactId>
        </exclusion>
        <exclusion>
          <groupId>aopalliance</groupId>
          <artifactId>aopalliance</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.gatein.shindig</groupId>
          <artifactId>shindig-common</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.gatein.shindig</groupId>
          <artifactId>shindig-social-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.gatein.shindig</groupId>
          <artifactId>shindig-gadgets</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.gatein.shindig</groupId>
          <artifactId>shindig-features</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.commons</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.container</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.core</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-extension-netvibes-server</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>jar</type>
      <exclusions>
        <exclusion>
          <groupId>javax.jcr</groupId>
          <artifactId>jcr</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.ws.rs</groupId>
          <artifactId>jsr311-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.commons</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.commons</artifactId>
        </exclusion>
        <exclusion>
          <groupId>concurrent</groupId>
          <artifactId>concurrent</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.resource</groupId>
          <artifactId>connector-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-pool</groupId>
          <artifactId>commons-pool</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-lang</groupId>
          <artifactId>commons-lang</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-logging</groupId>
          <artifactId>commons-logging</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-digester</groupId>
          <artifactId>commons-digester</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-chain</groupId>
          <artifactId>commons-chain</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.database</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.document</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.organization.api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.organization.jdbc</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.security.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.xml-processing</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.security</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.ext</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.webdav</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-beanutils</groupId>
          <artifactId>commons-beanutils</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-collections</groupId>
          <artifactId>commons-collections</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-dbcp</groupId>
          <artifactId>commons-dbcp</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.core</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-extension-groovy-server</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>jar</type>
      <exclusions>
        <exclusion>
          <groupId>javax.jcr</groupId>
          <artifactId>jcr</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.ws.rs</groupId>
          <artifactId>jsr311-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.servlet</groupId>
          <artifactId>servlet-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.commons</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.frameworks.json</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.ext</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.database</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.document</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.organization.api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.organization.jdbc</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.security.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.xml-processing</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.ext</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.webdav</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-fileupload</groupId>
          <artifactId>commons-fileupload</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-chain</groupId>
          <artifactId>commons-chain</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-collections</groupId>
          <artifactId>commons-collections</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.annotation</groupId>
          <artifactId>jsr250-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-all</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.ide</groupId>
      <artifactId>exo-ide-extension-chromattic-server</artifactId>
      <version>${org.exoplatform.ide.version}</version>
      <type>jar</type>
      <exclusions>
        <exclusion>
          <groupId>javax.jcr</groupId>
          <artifactId>jcr</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.ws.rs</groupId>
          <artifactId>jsr311-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.servlet</groupId>
          <artifactId>servlet-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.kernel</groupId>
          <artifactId>exo.kernel.commons</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.frameworks.json</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.ext</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.database</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.document</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.organization.api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.organization.jdbc</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.security.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.core</groupId>
          <artifactId>exo.core.component.xml-processing</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.ext</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.webdav</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-fileupload</groupId>
          <artifactId>commons-fileupload</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-chain</groupId>
          <artifactId>commons-chain</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-collections</groupId>
          <artifactId>commons-collections</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.annotation</groupId>
          <artifactId>jsr250-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-all</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.ext</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.chromattic</groupId>
      <artifactId>chromattic.groovy</artifactId>
      <version>${org.chromattic.version}</version>
      <type>jar</type>
      <exclusions>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.core</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.spi</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.common</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.metamodel</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.cglib</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.apt</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.jcr</groupId>
          <artifactId>jcr</artifactId>
        </exclusion>
        <exclusion>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-all</artifactId>
        </exclusion>
        <exclusion>
          <groupId>com.google.code.javaparser</groupId>
          <artifactId>javaparser</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.chromattic</groupId>
      <artifactId>chromattic.dataobject</artifactId>
      <version>${org.chromattic.version}</version>
      <type>jar</type>
      <exclusions>
        <exclusion>
          <groupId>org.reflext</groupId>
          <artifactId>reflext.jlr</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.jcr</groupId>
          <artifactId>jcr</artifactId>
        </exclusion>
        <exclusion>
          <groupId>javax.ws.rs</groupId>
          <artifactId>jsr311-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.metamodel</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.common</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.chromattic</groupId>
          <artifactId>chromattic.apt</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.jcr</groupId>
          <artifactId>exo.jcr.component.ext</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.ext</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.exoplatform.ws</groupId>
          <artifactId>exo.ws.rest.core</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

    <!-- INTEGRATION PROJECTS -->
    <dependency>
        <groupId>org.exoplatform.integration</groupId>
        <artifactId>integ-ecms-social</artifactId>
        <version>${org.exoplatform.integ.version}</version>
        <type>jar</type>
    </dependency>

    <!-- Gadgets on the intranet homepage -->
    <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.service</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.platform</groupId>
      <artifactId>exo.platform.sample.gadgets-sample.config</artifactId>
      <version>${project.version}</version>
    </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>
  </dependencies>
  <build>
    <finalName>platform-extension</finalName>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ear-plugin</artifactId>
        <configuration>
          <displayName>platform-extension</displayName>
          <defaultLibBundleDir>lib</defaultLibBundleDir>
          <modules>
            <webModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>exo.platform.extension.webapp</artifactId>
              <contextRoot>platform-extension</contextRoot>
              <bundleFileName>platform-extension.war</bundleFileName>
            </webModule>
            <webModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>exo.platform.extension.resources</artifactId>
              <contextRoot>eXoPlatformResources</contextRoot>
              <bundleFileName>eXoPlatformResources.war</bundleFileName>
            </webModule>
            <webModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>exo.platform.extension.portlets.platformNavigation</artifactId>
              <contextRoot>platformNavigation</contextRoot>
              <bundleFileName>platformNavigation.war</bundleFileName>
            </webModule>
            <!-- IDE -->
            <webModule>
              <groupId>org.exoplatform.ide</groupId>
              <artifactId>exo-ide-client-gadget </artifactId>
              <contextRoot>IDE</contextRoot>
              <bundleFileName>IDE.war</bundleFileName>
            </webModule>
            <webModule>
              <groupId>org.exoplatform.gwt</groupId>
              <artifactId>exo-gwtframework-smartgwt</artifactId>
              <contextRoot>SmartGWT</contextRoot>
              <bundleFileName>SmartGWT.war</bundleFileName>
            </webModule>
            <jarModule>
              <groupId>org.exoplatform.ide</groupId>
              <artifactId>exo-ide-extension-gadget-server</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.ide</groupId>
              <artifactId>exo-ide-extension-netvibes-server</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.ide</groupId>
              <artifactId>exo-ide-extension-groovy-server</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.ide</groupId>
              <artifactId>exo-ide-server</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.core</groupId>
              <artifactId>exo.core.component.script.groovy</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.ide</groupId>
              <artifactId>exo-ide-extension-chromattic-server</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.chromattic</groupId>
              <artifactId>chromattic.groovy</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.chromattic</groupId>
              <artifactId>chromattic.dataobject</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <!-- Commons -->
            <jarModule>
              <groupId>org.exoplatform.commons</groupId>
              <artifactId>exo.platform.commons.webui.ext</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.commons</groupId>
              <artifactId>exo.platform.commons.webui</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.commons</groupId>
              <artifactId>exo.platform.commons.comet.service</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <webModule>
              <groupId>org.exoplatform.commons</groupId>
              <artifactId>exo.platform.commons.comet.webapp</artifactId>
              <contextRoot>cometd</contextRoot>
              <bundleFileName>cometd.war</bundleFileName>
            </webModule>
            <webModule>
              <groupId>org.exoplatform.commons</groupId>
              <artifactId>exo.platform.commons.fck</artifactId>
              <contextRoot>fck</contextRoot>
              <bundleFileName>fck.war</bundleFileName>
            </webModule>
            <webModule>
              <groupId>org.exoplatform.commons</groupId>
              <artifactId>exo.platform.commons.resources</artifactId>
              <contextRoot>CommonsResources</contextRoot>
              <bundleFileName>CommonsResources.war</bundleFileName>
            </webModule>
            <webModule>
			  <groupId>org.exoplatform.commons</groupId>
			  <artifactId>exo.platform.commons.extension.webapp</artifactId>
              <contextRoot>commons-extension</contextRoot>
              <bundleFileName>commons-extension.war</bundleFileName>
            </webModule>
            <!-- Extension config -->
            <jarModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>exo.platform.extension.config</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>exo.platform.component.edition.enterprise</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <!-- Gagdets on the intranet homepage-->
            <jarModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>exo.platform.sample.gadgets-sample.config</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>exo.platform.sample.gadgets-sample.service</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <webModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>exo.platform.sample.gadgets-sample.gadgets</artifactId>
              <contextRoot>intranet-gadgets</contextRoot>
              <bundleFileName>intranet-gadgets.war</bundleFileName>
            </webModule>
            <webModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>exo.platform.sample.gadgets-sample.exo-gadget-resources</artifactId>
              <contextRoot>exo-gadget-resources</contextRoot>
              <bundleFileName>exo-gadget-resources.war</bundleFileName>
            </webModule>
          </modules>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
