<?xml version="1.0"?>
<!--
  * OW2 FraSCAti
  * Copyright (c) 2008-2011 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>

    <groupId>org.ow2.frascati</groupId>
    <artifactId>parent</artifactId>
    <packaging>pom</packaging>
    <version>1.4</version>

    <name>OW2 FraSCAti Project</name>

    <organization>
        <name>OW2 Consortium</name>
        <url>http://www.ow2.org</url>
    </organization>

    <description>
        OW2 FraSCAti is an open source implementation of SCA specifications.
    </description>

    <licenses>
      <license>
        <name>The GNU Lesser General Public License, Version 2</name>
        <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
      </license>
    </licenses>
    
    <developers>
        <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>

        <developer>
            <id>seinturier</id>
            <name>Lionel Seinturier</name>
            <email>Lionel.Seinturier@univ-lille1.fr</email>
            <organization>USTL</organization>
            <organizationUrl>http://www.univ-lille1.fr</organizationUrl>
            <roles>
                <role>Architect</role>
                <role>Developer</role>
            </roles>
        </developer>

        <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>dolet</id>
            <name>Nicolas Dolet</name>
            <email>Nicolas.Dolet@lifl.fr</email>
            <organization>INRIA</organization>
            <organizationUrl>http://www.inria.fr</organizationUrl>
            <roles>
                <role>Architect</role>
                <role>Developer</role>
            </roles>
        </developer>

        <developer>
            <id>schiavoni</id>
            <name>Valerio Schiavoni</name>
            <email>Valerio.Schiavoni@gmail.com</email>
            <organization>INRIA</organization>
            <organizationUrl>http://www.inria.fr</organizationUrl>
            <roles>
                <role>Architect</role>
                <role>Developer</role>
            </roles>
        </developer>

        <developer>
            <id>demarey</id>
            <name>Christophe Demarey</name>
            <email>Christophe&lt;dot&gt;demarey&lt;at&gt;inria&lt;dot&gt;fr</email>
            <organization>INRIA</organization>
            <organizationUrl>http://www.inria.fr</organizationUrl>
                <roles>
                <role>Architect</role>
                <role>Developer</role>
            </roles>
        </developer>
    </developers>
  
    <distributionManagement>
      <site>
        <id>frascati.website</id>
        <url>scp://shell.forge.objectweb.org/var/lib/gforge/chroot/home/groups/frascati/htdocs/</url>
      </site>
      <repository>
        <id>OW2-release</id>
        <name>OW2 release repository</name>
        <url>scp://forge.objectweb.org/var/lib/gforge/chroot/home/groups/maven/htdocs/maven2</url>
      </repository>
      <snapshotRepository>
        <id>OW2-snapshot</id>
        <name>OW2 snapshot repository</name>
        <url>scp://forge.objectweb.org/var/lib/gforge/chroot/home/groups/maven/htdocs/maven2-snapshot</url>
      </snapshotRepository>
    </distributionManagement>
    
    <scm>
      <connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/frascati/tags/frascati/frascati-1.4</connection>
      <developerConnection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/frascati/tags/frascati/frascati-1.4</developerConnection>
      <url>http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/frascati/tags/frascati/frascati-1.4</url>
    </scm>
    
    <ciManagement>
      <system>hudson</system>
      <url>http://frascati-ic.lille.inria.fr</url>
    </ciManagement>
    
    <!-- ==========-->
    <!-- Reporting -->
    <!-- ========= -->
  
    <reporting>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-project-info-reports-plugin</artifactId>
          <reportSets>
            <reportSet>
              <reports>
                <report>dependencies</report>
                <report>dependency-convergence</report>
                <report>project-team</report>
                <report>license</report>
                <report>index</report>
                <report>summary</report>
              </reports>
            </reportSet>
          </reportSets>
        </plugin>
      
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <configuration>
            <aggregate>true</aggregate>
          </configuration>
       </plugin>
      
      </plugins>
    </reporting>
    
    <!-- ======= -->
    <!-- Modules -->
    <!-- ======= -->
    
    <modules>
        <module>frascati</module>
        <module>transaction-service</module>
        <module>examples</module>
     </modules>

    <!-- ============= -->
    <!-- Repositories  -->
    <!-- ============= -->
    
    <repositories>
      <repository>
        <id>OW2-release</id>
        <name>OW2 release repository</name>
        <url>http://maven.objectweb.org/maven2</url>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
      </repository>    

      <repository>
        <id>OW2-snapshot</id>
        <name>OW2 snapshot repository</name>
        <url>http://maven.objectweb.org/maven2-snapshot</url>
        <releases>
          <enabled>false</enabled>
        </releases>
        <snapshots>
          <enabled>true</enabled>
          <updatePolicy>daily</updatePolicy>
        </snapshots>
      </repository>
      
      <repository>
        <id>dev.java.net</id>
        <name>Java.net Repository for Maven</name>
        <url>http://download.java.net/maven/2/</url>
        <layout>default</layout>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
      </repository>

      <repository>
        <id>eclipse</id>
        <name>Eclipse EMF Mirror</name>
        <url>http://www.openarchitectureware.org/m2</url>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
      </repository>

    </repositories>    

    <pluginRepositories>   
      <pluginRepository>
        <id>OW2-release</id>
        <name>OW2 release repository</name>
        <url>http://maven.objectweb.org/maven2</url>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
      </pluginRepository>
      
      <pluginRepository>
        <id>OW2-snapshot</id>
        <name>OW2 snapshot repository</name>
        <url>http://maven.objectweb.org/maven2-snapshot</url>
        <releases>
          <enabled>false</enabled>
        </releases>
        <snapshots>
          <enabled>true</enabled>
          <updatePolicy>daily</updatePolicy>
        </snapshots>
      </pluginRepository>
      
      <pluginRepository>
        <id>codehaus</id>
        <url>http://dist.codehaus.org</url>
        <layout>legacy</layout>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
      </pluginRepository>      
      
      <pluginRepository>
        <id>elca-services</id>
        <url>http://el4.elca-services.ch/el4j/maven2repository</url>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
      </pluginRepository>
    </pluginRepositories>

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

    <properties>
      <org.eclipse.stp.sca.version>2.0.1.2</org.eclipse.stp.sca.version>
      <tinfi.version>1.4.4</tinfi.version>
      <julia.version>2.5.2</julia.version>
      <juliac.version>2.4</juliac.version>
      <fraclet.version>3.3</fraclet.version>
      <fractal-adl.version>2.3.1</fractal-adl.version>
      <fractal-util.version>1.1.2</fractal-util.version>
      <fractal-bf.version>0.9</fractal-bf.version>
      <fractal-api.version>2.0.2</fractal-api.version>
      <fscript.version>2.1.3</fscript.version>
      <cxf.version>2.4.0</cxf.version>
      <jetty.version>7.3.1.v20110307</jetty.version>
      <spring.version>3.0.4.RELEASE</spring.version>
      <xerces.version>2.9.1</xerces.version>
      <jaxb.version>2.1.13</jaxb.version>
    </properties>

    <!-- ======================= -->
    <!-- Dependencies management -->
    <!-- ======================= -->
    <!--
        specify which versions are used across all modules. single
        modules are still required to declare their dependency, but not
        the version, which is handled globally by the
        dependencyManagement section.
    -->
    <dependencyManagement>
      <dependencies>
        <!-- Test -->
        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <version>4.6</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
    </dependencyManagement>
    
    <!-- ================= -->
    <!-- Plugin management -->
    <!-- ================= -->
    
    <build>
      <extensions>
        <!-- Enabling the use of SSH -->
        <extension>
          <groupId>org.apache.maven.wagon</groupId>
           <artifactId>wagon-ssh</artifactId>
        </extension>
      </extensions>

      <pluginManagement>
        <plugins>      
          <!-- Compile with Java 1.5 -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
              <source>1.5</source>
              <target>1.5</target>
            </configuration>
          </plugin>
          
          <!-- Plugin for image generation representing the dependencies graph -->
          <!-- To use this plugin, type: 'mvn depgraph:depgraph' -->
          <!-- This plugin requires the 'dot' library, provided by the -->
          <!-- GraphViz software (http://www.graphviz.org ) -->
          <plugin>
            <groupId>ch.elca.el4j.maven.plugins</groupId>
            <artifactId>maven-depgraph-plugin</artifactId>
            <configuration>
              <outDir>target/site/images</outDir>
              <outFile>${pom.artifactId}.png</outFile>
            </configuration>
            <version>1.1</version>
          </plugin>
      
          <!-- Used to create a binary distribution. -->
          <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <groupId>org.apache.maven.plugins</groupId>
            <version>2.2-beta-3</version>
          </plugin>
          
        </plugins>
      </pluginManagement>

      <!-- ===================== -->
      <!-- Release configuration -->
      <!-- ===================== -->
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <configuration>
            <tagBase>svn+ssh://svn.forge.objectweb.org/svnroot/frascati/tags/frascati/</tagBase>
          </configuration>
        </plugin>
      </plugins>
    
    </build>
    
</project>
