<?xml version="1.0"?>
<!--
  #%L
  Nuiton Java-2-R library

  $Id: pom.xml 247 2010-11-29 15:41:57Z echatellier $
  $HeadURL: http://svn.nuiton.org/svn/nuiton-j2r/tags/nuiton-j2r-1.0.2/pom.xml $
  %%
  Copyright (C) 2006 - 2010 CodeLutin
  %%
  This program 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 3 of the
  License, or (at your option) any later version.

  This program 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 General Lesser Public License for more details.

  You should have received a copy of the GNU General Lesser Public
  License along with this program.  If not, see
  <http://www.gnu.org/licenses/lgpl-3.0.html>.
  #L%
  -->
<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>

  <!-- ************************************************************* -->
  <!-- *** POM Relationships *************************************** -->
  <!-- ************************************************************* -->

  <parent>
    <groupId>org.nuiton</groupId>
    <artifactId>mavenpom4redmineAndCentral</artifactId>
    <version>2.4.1</version>
  </parent>

  <artifactId>nuiton-j2r</artifactId>
  <version>1.0.2</version>

    <developers>
        <developer>
            <id>tchemit</id>
            <name>Tony Chemit</name>
            <email>chemit@codelutin.com</email>
            <organization>CodeLutin</organization>
            <roles>
                <role>developer</role>
            </roles>
            <timezone>+2</timezone>
        </developer>

        <developer>
            <id>jcouteau</id>
            <name>Jean Couteau</name>
            <email>couteau@codelutin.com</email>
            <organization>CodeLutin</organization>
            <roles>
                <role>developer</role>
                <role>technical writer</role>
            </roles>
            <timezone>+2</timezone>
        </developer>

        <developer>
            <id>echatellier</id>
            <name>Eric Chatellier</name>
            <email>chatellier@codelutin.com</email>
            <organization>CodeLutin</organization>
            <roles>
                <role>developer</role>
            </roles>
            <timezone>+2</timezone>
        </developer>

        <developer>
            <id>athimel</id>
            <name>Arnaud Thimel</name>
            <email>thimel@codelutin.com</email>
            <organization>CodeLutin</organization>
            <roles>
                <role>developer</role>
            </roles>
            <timezone>+2</timezone>
        </developer>
    </developers>

  <dependencies>

    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </dependency>

    <dependency>
      <groupId>org.nuiton.thirdparty</groupId>
      <artifactId>JRI</artifactId>
      <version>0.8-4</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>org.nuiton.thirdparty</groupId>
      <artifactId>REngine</artifactId>
      <version>${rengineVersion}</version>
      <scope>compile</scope>
    </dependency>
      
    <dependency>
      <groupId>org.nuiton.thirdparty</groupId>
      <artifactId>Rserve</artifactId>
      <version>${rengineVersion}</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>


  </dependencies>

  <!-- ************************************************************* -->
  <!-- *** Project Information ************************************* -->
  <!-- ************************************************************* -->

  <name>Nuiton Java-2-R library</name>
  <description>Librairie permettant d'utiliser R en Java, que ce soit par le
    Network ou en JNI.
  </description>
  <inceptionYear>2006</inceptionYear>
  <url>http://maven-site.nuiton.org/${project.artifactId}</url>

  <!-- ************************************************************* -->
  <!-- *** Build Settings ****************************************** -->
  <!-- ************************************************************* -->

  <packaging>jar</packaging>

  <properties>

    <rengineVersion>0.6-1</rengineVersion>

    <!-- Jar main class -->
    <!--maven.jar.main.class>org.codelutin.j2r.RProxy</maven.jar.main.class-->

    <!-- extra files to include in release -->
    <redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles>

  </properties>

  <build>

    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-site-plugin</artifactId>
          <dependencies>
            <dependency>
              <groupId>org.nuiton.jrst</groupId>
              <artifactId>doxia-module-jrst</artifactId>
              <version>${jrstPluginVersion}</version>
            </dependency>
          </dependencies>
        </plugin>
      </plugins>
    </pluginManagement>

  </build>

  <!-- Source control management. -->
  <scm>
    <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-j2r/tags/nuiton-j2r-1.0.2</connection>
    <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-j2r/tags/nuiton-j2r-1.0.2</developerConnection>
    <url>http://www.nuiton.org/repositories/browse/nuiton-j2r/tags/nuiton-j2r-1.0.2</url>
  </scm>

  <profiles>

    <!-- create assemblies only at release time -->
    <profile>
      <id>assembly-profile</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>

        <plugins>

          <!-- launch in a release the assembly automaticly -->
          <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <executions>
              <execution>
                <id>create-assemblies</id>
                <phase>verify</phase>
                <goals>
                  <goal>single</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <attach>false</attach>
              <descriptorRefs>
                <descriptorRef>deps</descriptorRef>
                <descriptorRef>full</descriptorRef>
              </descriptorRefs>
            </configuration>
          </plugin>

        </plugins>

      </build>
    </profile>
    
  </profiles>

</project>
