<?xml version="1.0"?>
<!--
  * OW2 FraSCAti: SCA Implementation Fractal
  *
  * Copyright (c) 2010 INRIA, University of Lille 1
  *
  * 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
  *
  * Contact: frascati@ow2.org
  *
  * Author: Philippe Merle
  *
  * Contributor(s): Damien Fournier
  *                 Christophe Demarey
  *                 Nicolas Dolet
-->
<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>

  <!-- ===================== -->
  <!-- General Information   -->
  <!-- ===================== -->

  <parent>
    <groupId>org.ow2.frascati</groupId>
    <artifactId>frascati-sca-compiler-parent</artifactId>
    <version>1.4</version>
    <relativePath>../frascati-sca-compiler-parent/pom.xml</relativePath>
  </parent>

  <groupId>org.ow2.frascati</groupId>
  <artifactId>frascati-implementation-fractal</artifactId>
  <name>OW2 FraSCAti: SCA Implementation Fractal Module</name>

  <url>http://frascati.ow2.org/</url>
  <inceptionYear>2007</inceptionYear>
  
  <developers>
    <developer>
      <id>fournier</id>
      <name>Damien Fournier</name>
      <email>Damien.Fournier@inria.fr</email>
      <organization>INRIA</organization>
      <organizationUrl>http://www.inria.fr</organizationUrl>
      <roles>
        <role>Architect</role>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>merle</id>
      <name>Philippe Merle</name>
      <email>Philippe.Merle@inria.fr</email>
      <organization>INRIA</organization>
      <organizationUrl>http://www.inria.fr</organizationUrl>
      <roles>
        <role>Architect</role>
        <role>Developer</role>
      </roles>
    </developer>
  </developers>

  <!-- ========== -->
  <!-- Properties -->
  <!-- ========== -->

  <properties>
  </properties>

  <!-- ======= -->
  <!-- Build   -->
  <!-- ======= -->

  <build>
    <defaultGoal>install</defaultGoal>

    <plugins>
      <!-- Force to copy src/main/resources/* to target/classes/* before executing the Juliac Tinfi SCA Parser plugin. -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
      </plugin>

      <!-- Compile the OW2 FraSCAti composite with OW2 Fractal JuliaC. -->
      <plugin>
        <groupId>org.objectweb.fractal.juliac</groupId>
        <artifactId>maven-juliac-plugin</artifactId>
        <configuration>
          <adls>
            <adl>org.ow2.frascati.bootstrap.FraSCAtiFractal</adl>
          </adls>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <!-- ============ -->
  <!-- Dependencies -->
  <!-- ============ -->

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.objectweb.fractal.fractaladl</groupId>
        <artifactId>fractal-adl</artifactId>
        <version>${fractal-adl.version}</version>
        <exclusions>
          <!-- Use fractal-util >= 1.1.2 (FractalADL relies on fractal-util 1.0) --> 
          <exclusion>
            <groupId>org.objectweb.fractal</groupId>
            <artifactId>fractal-util</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <dependencies>

    <!-- OW2 FraSCAti Assembly Factory Module. -->
    <dependency>
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-assembly-factory</artifactId>
      <version>${project.version}</version>
    </dependency>

    <!-- OW2 FraSCAti Metamodel Module. -->
    <dependency>
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-metamodel-frascati</artifactId>
      <version>${project.version}</version>
    </dependency>

    <!-- OW2 Fractal ADL Module. -->
    <dependency>
      <groupId>org.objectweb.fractal.fractaladl</groupId>
      <artifactId>fractal-adl</artifactId>
    </dependency>
    <dependency>
      <groupId>org.objectweb.fractal</groupId>
      <artifactId>fractal-util</artifactId>
      <version>${fractal-util.version}</version>
    </dependency>

    <!-- OW2 Fractal Julia. -->
    <dependency>
      <groupId>org.objectweb.fractal.julia</groupId>
      <artifactId>julia-asm</artifactId>
      <version>${julia.version}</version>
    </dependency>
    <dependency>
      <groupId>org.objectweb.fractal.julia</groupId>
      <artifactId>julia-mixins</artifactId>
      <version>${julia.version}</version>
      <exclusions>
        <!-- Exclude ObjectWeb Monolog -->
        <exclusion>
          <groupId>org.objectweb.monolog</groupId>
          <artifactId>monolog</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

  </dependencies>

  <!-- ============= -->
  <!-- Repositories  -->
  <!-- ============= -->

  <repositories>    
  </repositories>

</project>
