<?xml version="1.0"?>
<!--
  * OW2 FraSCAti: Assembly Factory with Juliac, JDT and Tinfi OO
  *
  * Copyright (c) 2007-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
-->

<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-runtime-factory</artifactId>
<!--
  <artifactId>frascati-assembly-factory-juliac-jdt-tinfi-oo</artifactId>
-->
  <name>OW2 FraSCAti: Assembly Factory with Juliac, JDT and Tinfi OO 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>

  <!-- ======= -->
  <!-- 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 Fractal architecture of the OW2 FraSCAti assembly factory with JuliaC. -->
      <plugin>
        <groupId>org.objectweb.fractal.juliac</groupId>
        <artifactId>maven-juliac-plugin</artifactId>
        <configuration>
          <adls>
            <adl>org.ow2.frascati.bootstrap.FraSCAtiJDT</adl>
          </adls>
        </configuration>
      </plugin>

    </plugins>

  </build>

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

  <dependencies>

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

    <!-- OW2 FraSCAti Component Factory with Juliac JDT-based compiler. -->
    <dependency>
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-component-factory-juliac-jdt</artifactId>
      <version>${project.version}</version>
    </dependency>

    <!-- OW2 FraSCAti Component Factory with Juliac and Tinfi Object-Oriented Membranes. -->
    <dependency>
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-component-factory-juliac-tinfi-oo</artifactId>
      <version>${project.version}</version>
    </dependency>

  </dependencies>

</project>
