<?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.0.10</version>
	<packaging>pom</packaging>
	<name>eXo Platform</name>
	<description>Parent POM for platform projects.</description>
	<scm>
		<connection>scm:git:git://github.com/exoplatform/platform.git</connection>
		<developerConnection>scm:git:git@github.com:exoplatform/platform.git</developerConnection>
		<url>https://fisheye.exoplatform.com/browse/platform</url>
	</scm>
	<properties>
		<!-- ********************* -->
		<!-- Dependencies versions -->
		<!-- ********************* -->
		<org.exoplatform.kernel.version>2.2.13-GA</org.exoplatform.kernel.version>
		<org.exoplatform.core.version>2.3.13-GA</org.exoplatform.core.version>
		<org.exoplatform.ws.version>2.1.13-GA</org.exoplatform.ws.version>
		<org.exoplatform.jcr.version>1.12.13-GA</org.exoplatform.jcr.version>
		<org.exoplatform.jcr-services.version>1.12.13-GA</org.exoplatform.jcr-services.version>
		<org.exoplatform.portal.version>3.1.14-PLF</org.exoplatform.portal.version>
		<org.exoplatform.cs.version>2.1.10</org.exoplatform.cs.version>
		<org.exoplatform.ks.version>2.1.10</org.exoplatform.ks.version>
		<org.exoplatform.ecms.version>2.1.10</org.exoplatform.ecms.version>
		<org.exoplatform.social.version>1.1.10</org.exoplatform.social.version>
		<org.exoplatform.commons.version>1.0.10</org.exoplatform.commons.version>
		<org.exoplatform.gwtframework.version>1.0.8</org.exoplatform.gwtframework.version>
		<org.exoplatform.ide.version>1.0.9</org.exoplatform.ide.version>
		<org.xcmis.version>1.2.2</org.xcmis.version>   
		<org.crsh.version>1.0.0-beta15</org.crsh.version>
		<org.exoplatform.exopackage.version>1.1.0</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>
		<xpp3.version>1.1.3.4.O</xpp3.version>
		<commons-digester.version>1.8.1</commons-digester.version>
		<bsh.version>2.0b1</bsh.version>
		<net.oauth.version>20080621</net.oauth.version>
		<cglib.version>2.2</cglib.version>
		<commons-pool.version>1.2</commons-pool.version>
		<org.reflext.version>1.0.0</org.reflext.version>
		<antlr.version>2.7.6rc1</antlr.version>
		<org.fontbox.version>0.1.0</org.fontbox.version>
		<commons-dbcp.version>1.2.1</commons-dbcp.version>
		<jcr.version>1.0</jcr.version>
		<stax.version>1.0</stax.version>
		<org.exoplatform.tool.version>1.0.0</org.exoplatform.tool.version>
		<javassist.version>3.4.GA</javassist.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>
		<commons-collections.version>3.2</commons-collections.version>
		<org.jsecurity.version>0.9.0</org.jsecurity.version>
		<xml-apis.version>1.3.04</xml-apis.version>
		<org.chromattic.version>1.0.4</org.chromattic.version>
		<org.gatein.pc.version>2.2.0-GA</org.gatein.pc.version>
		<org.gatein.common.version>2.0.3-GA</org.gatein.common.version>
		<org.gatein.wci.version>2.0.2-GA</org.gatein.wci.version>
		<org.jboss.version>2.2.9.GA</org.jboss.version>
		<org.gatein.shindig.version>1.0-r790473-Patch04</org.gatein.shindig.version>
		<org.testng.version>5.10</org.testng.version>
		<asm.version>1.5.3</asm.version>
		<org.slf4j.version>1.5.6</org.slf4j.version>
		<org.jcrom.version>1.2</org.jcrom.version>
		<org.exoplatform.leadcapture.version>3.4</org.exoplatform.leadcapture.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.buildnumber.plugin>1.1</version.buildnumber.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.release.plugin>2.2.1</version.release.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.30</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>
	</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>xpp3</groupId>
				<artifactId>xpp3</artifactId>
				<version>1.1.3.4.O</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>api</module-->
		<module>component</module>
		<module>web</module>
		<module>webui</module>
		<module>extension</module>
		<module>server</module>
		<module>doc</module>
		<module>office</module>
		<module>samples</module>
		<module>migration</module>
		<module>packaging</module>
		<module>websphere</module>
		<module>weblogic</module>
		<module>testsuite</module>
	</modules>
</project>
