<?xml version="1.0" encoding="UTF-8"?>
<!-- 
	* This library is free software; you can redistribute it and/or
	* modify it under the terms of the GNU Lesser General Public
	* License as published by the Free Software Foundation; either
	* version 2 of the License, or (at your option) any later version.
	*
	* This library is distributed in the hope that it will be useful,
	* but WITHOUT ANY WARRANTY; without even the implied warranty of
	* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
	* Lesser General Public License for more details.
	*
	* You should have received a copy of the GNU Lesser General Public
	* License along with this library; if not, write to the Free Software
	* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-->
<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.objectweb.fractal.fractaladl</groupId>
		<artifactId>toolchain-parent</artifactId>
		<version>2.2</version>
	</parent>

	<artifactId>fractal-adl</artifactId>
	<name>Fractal ADL toolchain</name>

	<description>
		Fractal ADL is an extensible toolset for supporting heterogenous
		architecture descriptions.
	</description>

	<developers>
		<developer>
			<id>bruneton</id>
			<name>Eric Bruneton</name>
			<email>Eric.Bruneton@rd.francetelecom.com</email>
			<organization>France Telecom RD</organization>
			<organizationUrl>
				http://www.rd.francetelecom.com
			</organizationUrl>
			<roles>
				<role>Architect</role>
				<role>Developer</role>
			</roles>
		</developer>
		<developer>
			<id>coupaye</id>
			<name>Thierry Coupaye</name>
			<email>Thierry.Coupaye@rd.francetelecom.com</email>
			<organization>France Telecom RD</organization>
			<organizationUrl>
				http://www.rd.francetelecom.com
			</organizationUrl>
			<roles>
				<role>Project Manager</role>
				<role>Architect</role>
			</roles>
		</developer>
		<developer>
			<id>stefani</id>
			<name>Jean-Bernard Stefani</name>
			<email>Jean-Bernard.Stefani@inrialpes.fr</email>
			<organization>INRIA</organization>
			<organizationUrl>http://www.inria.fr</organizationUrl>
			<roles>
				<role>Project Manager</role>
				<role>Architect</role>
			</roles>
		</developer>
		<developer>
			<id>ozcan</id>
			<name>Ali-Erdem Ozcan</name>
			<email>ali-erdem.ozcan@st.com</email>
			<organization>STMicroelectronics</organization>
		</developer>
		<developer>
			<id>leclerq</id>
			<name>Matthieu Leclercq</name>
			<email>matthieu.leclercq@st.com</email>
			<organization>STMicroelectronics</organization>
		</developer>
	</developers>
	<contributors>
		<contributor>
			<name>Laurent Andrey</name>
			<organization>Loria</organization>
			<organizationUrl>http://www.loria.fr</organizationUrl>
		</contributor>
		<contributor>
			<name>Pierre Charles David</name>
			<organization>EMN</organization>
			<organizationUrl>http://www.emn.fr</organizationUrl>
		</contributor>
		<contributor>
			<name>Pascal Dechamboux</name>
			<organization>France Telecom RD</organization>
			<organizationUrl>
				http://www.rd.francetelecom.com
			</organizationUrl>
		</contributor>
		<contributor>
			<name>Romain Lenglet</name>
			<organization>France Telecom RD</organization>
			<organizationUrl>
				http://www.rd.francetelecom.com
			</organizationUrl>
		</contributor>
		<contributor>
			<name>Philippe Merle</name>
			<organization>INRIA</organization>
			<organizationUrl>http://www.inria.fr</organizationUrl>
		</contributor>
		<contributor>
			<name>Alessio Pace</name>
			<email>alessio.pace@gmail.com</email>
		</contributor>
	</contributors>

	<build>
		<plugins>
			<!-- the source code has Java 5.0 language features (generics, annotations, ..) -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<configuration>
					<excludes>
						<exclude>**/TestUtil.java</exclude>
						<exclude>**/*KillerThread.java</exclude>
					</excludes>
					<systemProperties>
						<property>
							<name>build.dir</name>
							<value>target/test-build</value>
						</property>
						<property>
							<name>source.path</name>
							<value>
								target/test-resources:target/test-classes
							</value>
						</property>
						<property>
							<name>arch.dir</name>
							<value>arch</value>
						</property>
					</systemProperties>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<archive>
						<manifest>
							<addDefaultSpecificationEntries>
								true
							</addDefaultSpecificationEntries>
							<addDefaultImplementationEntries>
								true
							</addDefaultImplementationEntries>
						</manifest>
					</archive>
				</configuration>
			</plugin>

		</plugins>
	</build>


	<reporting>
		<plugins>

			<!-- javadoc -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<configuration>
					<windowtitle>FractalADL Documentation</windowtitle>
					<doctitle>FractalADL Documentation</doctitle>
					<docfilessubdirs>true</docfilessubdirs>
					<excludedocfilessubdir>.svn</excludedocfilessubdir>
				</configuration>
			</plugin>

			<!-- project reports -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>
					maven-project-info-reports-plugin
				</artifactId>
			</plugin>

			<!-- test coverage -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
			</plugin>

			<!-- quality metrics -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jdepend-maven-plugin</artifactId>
			</plugin>

		</plugins>
	</reporting>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.0</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.objectweb.fractal</groupId>
			<artifactId>fractal-api</artifactId>
			<version>2.0.2</version>
		</dependency>

		<dependency>
			<groupId>org.objectweb.fractal</groupId>
			<artifactId>fractal-util</artifactId>
			<version>1.0</version>
		</dependency>

		<dependency>
			<groupId>org.objectweb.monolog</groupId>
			<artifactId>monolog-api</artifactId>
			<version>1.8</version>
		</dependency>
		
		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>ast-core</artifactId>
			<version>${project.version}</version>
		</dependency>

		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>task-framework</artifactId>
			<version>${project.version}</version>
		</dependency>

		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>task-deployment</artifactId>
			<version>${project.version}</version>
		</dependency>

		<!-- XXX needed to run integration tests requiring a Fractal backend -->
		<dependency>
			<groupId>org.objectweb.fractal.julia</groupId>
			<artifactId>julia-runtime</artifactId>
			<version>2.5.1</version>
		</dependency>
		
		<dependency>
			<groupId>org.objectweb.fractal.julia</groupId>
			<artifactId>julia-asm</artifactId>
			<version>2.5.1</version>
		</dependency>
		
		<dependency>
			<groupId>org.objectweb.fractal.julia</groupId>
			<artifactId>julia-mixins</artifactId>
			<version>2.5.1</version>
		</dependency>
	</dependencies>

	<scm>
		<connection>
			${scm.connection}/fractaladl/toolchain/fractal-adl
		</connection>
		<developerConnection>
			${scm.developerConnection}/fractaladl/toolchain/fractal-adl
		</developerConnection>
		<url>${scm.url}/fractaladl/toolchain/fractal-adl</url>
	</scm>


</project>
