<?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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.exoplatform</groupId>
    <artifactId>exo.parent</artifactId>
    <version>7.1</version>
  </parent>
  <groupId>org.exoplatform.platform</groupId>
  <artifactId>exo.platform.parent</artifactId>
  <version>3.5.0-Beta3</version>
  <packaging>pom</packaging>
  <name>eXo Platform</name>
  <description>Parent POM for platform projects.</description>
  <scm>
    <connection>scm:svn:http://svn.exoplatform.org/projects/platform/tags/3.5.0-Beta3</connection>
    <developerConnection>scm:svn:http://svn.exoplatform.org/projects/platform/tags/3.5.0-Beta3</developerConnection>
    <url>http://fisheye.exoplatform.org/browse/platform/tags/3.5.0-Beta3</url>
  </scm>
  <properties>
    <!-- SNAPSHOTS must be deployed in our private repository -->
    <exo.snapshots.repo.url>dav:http://repository.exoplatform.org/content/repositories/exo-private-snapshots</exo.snapshots.repo.url>
    <!-- ********************* -->
    <!-- Dependencies versions -->
    <!-- ********************* -->
    <org.exoplatform.kernel.version>2.3.2-GA</org.exoplatform.kernel.version>
    <org.exoplatform.core.version>2.4.2-GA</org.exoplatform.core.version>
    <org.exoplatform.ws.version>2.2.2-GA</org.exoplatform.ws.version>
    <org.exoplatform.jcr.version>1.14.2-GA</org.exoplatform.jcr.version>
    <org.exoplatform.jcr-services.version>1.14.2-GA</org.exoplatform.jcr-services.version>
    <org.exoplatform.portal.version>3.2.0-PLF-Beta7</org.exoplatform.portal.version>
    <org.exoplatform.webos.version>2.0.0-Beta6</org.exoplatform.webos.version>
    <org.exoplatform.commons.version>1.1.3</org.exoplatform.commons.version>
    <org.exoplatform.gwtframework.version>1.1.0-GA</org.exoplatform.gwtframework.version>
    <org.exoplatform.ide.version>1.1.1</org.exoplatform.ide.version>
    <org.exoplatform.cs.version>2.2.4</org.exoplatform.cs.version>
    <org.exoplatform.ks.version>2.2.4</org.exoplatform.ks.version>
    <org.exoplatform.ecms.version>2.3.2</org.exoplatform.ecms.version>
    <org.exoplatform.social.version>1.2.4</org.exoplatform.social.version>
    <org.exoplatform.integ.version>1.0.2</org.exoplatform.integ.version>
    <org.exoplatform.leadcapture.version>3.4</org.exoplatform.leadcapture.version>
    <org.crsh.version>1.0.0-beta15</org.crsh.version>
    <org.exoplatform.exopackage.version>1.1.4</org.exoplatform.exopackage.version>
    <!-- default workflow engine is bonita. Can also be jbpm -->
    <exo.workflow.engine>jbpm</exo.workflow.engine>
    <!-- workflow implementations -->
    <org.jbpm.jbpm3>3.2.8</org.jbpm.jbpm3>
    <bonita.version>4.1</bonita.version>
    <org.mortbay.jetty.cometd-bayeux.version>6.1.11</org.mortbay.jetty.cometd-bayeux.version>
    <org.mortbay.jetty.cometd-api.version>0.9.20080221</org.mortbay.jetty.cometd-api.version>
    <org.mortbay.jetty.jetty-util.version>6.1.11</org.mortbay.jetty.jetty-util.version>
    <commons-digester.version>1.8.1</commons-digester.version>
    <bsh.version>2.0b1</bsh.version>
    <net.oauth.version>20100527</net.oauth.version>
    <net.oauth-consumer.version>20090617</net.oauth-consumer.version>
    <net.oauth-httpclient.version>20090913</net.oauth-httpclient.version>
    <cglib.version>2.2</cglib.version>
    <org.reflext.version>1.1.0-beta12</org.reflext.version>
    <jcr.version>1.0</jcr.version>
    <stax.version>1.0</stax.version>
    <org.exoplatform.tool.version>1.0.0</org.exoplatform.tool.version>
    <findbugs.version>1.0.0</findbugs.version>
    <html-parser.version>1.6</html-parser.version>
    <ical4j.version>1.0-beta5</ical4j.version>
    <org.jvnet.jaxb2.maven2.version>0.1</org.jvnet.jaxb2.maven2.version>
    <org.jsecurity.version>0.9.0</org.jsecurity.version>
    <xml-apis.version>1.3.04</xml-apis.version>
    <org.chromattic.version>1.1.0</org.chromattic.version>
    <org.gatein.pc.version>2.3.0-Beta06</org.gatein.pc.version>   <!-- upgraded since switched to portal 3.2 -->
    <org.gatein.wci.version>2.1.0-GA</org.gatein.wci.version> <!-- upgraded since switched to portal 3.2 -->
    <org.jboss.version>2.2.9.GA</org.jboss.version>
    <org.gatein.shindig.version>2.0.2-Beta03</org.gatein.shindig.version>
    <org.testng.version>5.10</org.testng.version>
    <asm.version>1.5.3</asm.version>
    <jcrom.version>1.2</jcrom.version><!-- Used by CS -->
    <org.slf4j.version>1.5.8</org.slf4j.version>
    <org.apache.jackrabbit.version>1.6.4</org.apache.jackrabbit.version><!-- needed for cs -->
    <org.hsqldb.version>2.0.0</org.hsqldb.version>
    <!-- 3rd parties for docs generation -->
    <doc-style.version>1.0</doc-style.version>
    <!-- Begin wiki properties -->
    <org.xwiki.platform.version>2.7.1</org.xwiki.platform.version>
    <org.wikimodel.version>2.0.7-20101027</org.wikimodel.version>
    <net.sourceforge.htmlcleaner.version>2.1</net.sourceforge.htmlcleaner.version>
    <!--dependencies which Code Macro depends on-->
    <jython-standalone.version>2.5.2b1-xwiki</jython-standalone.version>
    <pygments.version>1.3.1-xwiki</pygments.version>

    <org.suigeneris.version>0.4.2</org.suigeneris.version>
    <ecs.version>1.4.2</ecs.version>
    <!--dependencies which org.xwiki.platform:xwiki-core-properties depends on-->
    <javax.validation.version>1.0.0.GA</javax.validation.version>
    <hibernate-validator.version>4.0.0.GA</hibernate-validator.version>
    <!-- End wiki properties -->
    <guava.version>r07</guava.version>
    <httpcomponents.httpclient.version>4.0</httpcomponents.httpclient.version>
    <commons-httpclient.version>3.1</commons-httpclient.version>
    <commons-pool.version>1.5.5</commons-pool.version>
    <commons-dbcp.version>1.2.2</commons-dbcp.version>
    <!-- ***************************************************** -->
    <!-- Plugin versions (waiting for an upgrade in exo parent -->
    <!-- ***************************************************** -->
    <version.antrun.plugin>1.5</version.antrun.plugin>
    <!-- Slower than 2.1 version but we require some new features like classifier support in dependencySet ... -->
    <!-- See http://jira.exoplatform.org/browse/PAR-103 -->
    <version.assembly.plugin>2.2-beta-5</version.assembly.plugin>
    <version.archetype.plugin>2.0-alpha-5</version.archetype.plugin>
    <version.buildhelper.plugin>1.5</version.buildhelper.plugin>
    <version.clean.plugin>2.4.1</version.clean.plugin>
    <version.compiler.plugin>2.3.1</version.compiler.plugin>
    <version.deploy.plugin>2.5</version.deploy.plugin>
    <version.docbkx.plugin>2.0.7</version.docbkx.plugin>
    <version.ear.plugin>2.4.2</version.ear.plugin>
    <version.exec.plugin>1.2</version.exec.plugin>
    <version.install.plugin>2.3.1</version.install.plugin>
    <version.jar.plugin>2.3.1</version.jar.plugin>
    <version.jmeter.plugin>1.0</version.jmeter.plugin>
    <version.jodconverter.plugin>2.2.1</version.jodconverter.plugin>
    <version.resources.plugin>2.4.3</version.resources.plugin>
    <version.surefire.plugin>2.6</version.surefire.plugin>
    <version.versions.plugin>1.2</version.versions.plugin>
    <version.war.plugin>2.1</version.war.plugin>
    <version.wikbook.plugin>0.9.32</version.wikbook.plugin>
    <version.xml.plugin>1.0-beta-3</version.xml.plugin>
    <!-- ********************* -->
    <!-- Build settings        -->
    <!-- ********************* -->
    <!-- maven-release-plugin -->
    <arguments>-Prelease,distrib -Dgatein.working.dir=target -Dmaven.wagon.provider.http=httpclient</arguments>
    <version.buildnumber.plugin>1.0</version.buildnumber.plugin>
  </properties>
  <build>
    <pluginManagement>
      <!-- They aren't yet in parent pom -->
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-archetype-plugin</artifactId>
          <version>${version.archetype.plugin}</version>
        </plugin>
        <plugin>
          <groupId>org.wikbook</groupId>
          <artifactId>wikbook.maven</artifactId>
          <version>${version.wikbook.plugin}</version>
        </plugin>
        <plugin>
          <groupId>com.agilejava.docbkx</groupId>
          <artifactId>docbkx-maven-plugin</artifactId>
          <version>${version.docbkx.plugin}</version>
        </plugin>
        <plugin>
          <groupId>com.artofsolving</groupId>
          <artifactId>jodconverter-maven-plugin</artifactId>
          <version>${version.jodconverter.plugin}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.jmeter</groupId>
          <artifactId>maven-jmeter-plugin</artifactId>
          <version>${version.jmeter.plugin}</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>xml-maven-plugin</artifactId>
          <version>${version.xml.plugin}</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.exoplatform.kernel</groupId>
        <artifactId>exo.kernel.container</artifactId>
        <version>${org.exoplatform.kernel.version}</version>
        <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.hsqldb</groupId>
        <artifactId>hsqldb</artifactId>
        <version>${org.hsqldb.version}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <profiles>
   <profile>
      <id>release</id>
      <build>
        <plugins>          
          <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <dependencies>
              <dependency>
                <groupId>org.apache.apache.resources</groupId>
                <artifactId>apache-source-release-assembly-descriptor</artifactId>
                <version>1.0.2</version>
              </dependency>
            </dependencies>
            <executions>
              <execution>
                <id>source-release-assembly</id>
                <phase>package</phase>
                <goals>
                  <goal>single</goal>
                </goals>
                <configuration>
                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
                  <descriptorRefs>
                    <descriptorRef>source-release</descriptorRef>
                  </descriptorRefs>
                  <tarLongFileFormat>gnu</tarLongFileFormat>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <modules>
    <module>component</module>
    <module>extension</module>
    <module>server</module>
    <module>doc</module>
    <module>samples</module>
    <module>trial</module>
    <module>exo-gadget-pack</module>
    <module>packaging</module>
    <module>testsuite</module>
    <module>cloud</module>
  </modules>
</project>
