<?xml version="1.0"?>
<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/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

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

    <parent>
        <groupId>org.nuiton</groupId>
        <artifactId>mavenpom4redmine</artifactId>
        <version>2.0.7</version>
    </parent>

    <artifactId>jaxx</artifactId>
    <version>2.0.1</version>

    <modules>
        <module>jaxx-runtime</module>

        <module>jaxx-compiler</module>

        <module>jaxx-swing-action</module>
        <module>maven-jaxx-plugin</module>

        <module>jaxx-widgets</module>

        <module>jaxx-demo</module>
    </modules>

    <dependencyManagement>
        <dependencies>

            <!-- lutin dependencies -->

            <dependency>
                <groupId>org.nuiton</groupId>
                <artifactId>nuiton-utils</artifactId>
                <version>${lutinutil.version}</version>
            </dependency>

            <dependency>
                <groupId>org.nuiton</groupId>
                <artifactId>maven-helper-plugin</artifactId>
                <version>${helper.version}</version>
                <scope>compile</scope>
                <exclusions>
                    <exclusion>
                        <groupId>org.apache.maven</groupId>
                        <artifactId>maven-artifact</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.apache.maven</groupId>
                        <artifactId>maven-artifact-manager</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.apache.maven.shared</groupId>
                        <artifactId>maven-dependency-tree</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.apache.maven</groupId>
                        <artifactId>maven-model</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.apache.maven</groupId>
                        <artifactId>maven-profile</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.apache.maven</groupId>
                        <artifactId>maven-settings</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>commons-httpclient</groupId>
                        <artifactId>commons-httpclient</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>plexus</groupId>
                        <artifactId>plexus-mail-sender-simple</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>plexus</groupId>
                        <artifactId>plexus-mail-sender-api</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>plexus</groupId>
                        <artifactId>plexus-mail-sender-javamail</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>javax.mail</groupId>
                        <artifactId>mail</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.sonatype.plexus</groupId>
                        <artifactId>plexus-cipher</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.sonatype.plexus</groupId>
                        <artifactId>plexus-sec-dispatcher</artifactId>
                    </exclusion>

                </exclusions>
            </dependency>

            <dependency>
                <groupId>org.nuiton</groupId>
                <artifactId>maven-helper-plugin</artifactId>
                <version>${helper.version}</version>
                <scope>test</scope>
                <classifier>tests</classifier>
                <exclusions>

                    <exclusion>
                        <groupId>org.apache.maven.shared</groupId>
                        <artifactId>maven-dependency-tree</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>commons-httpclient</groupId>
                        <artifactId>commons-httpclient</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>plexus</groupId>
                        <artifactId>plexus-mail-sender-simple</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>plexus</groupId>
                        <artifactId>plexus-mail-sender-api</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>plexus</groupId>
                        <artifactId>plexus-mail-sender-javamail</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>javax.mail</groupId>
                        <artifactId>mail</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.sonatype.plexus</groupId>
                        <artifactId>plexus-cipher</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.sonatype.plexus</groupId>
                        <artifactId>plexus-sec-dispatcher</artifactId>
                    </exclusion>

                </exclusions>
            </dependency>

            <!-- common dependencies -->

            <dependency>
                <groupId>commons-jxpath</groupId>
                <artifactId>commons-jxpath</artifactId>
                <version>1.3</version>
            </dependency>

            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>2.4</version>
            </dependency>

            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>1.4</version>
            </dependency>

            <!-- sun dependencies -->

            <dependency>
                <groupId>com.sun</groupId>
                <artifactId>dt</artifactId>
                <version>${java.version}</version>
                <scope>system</scope>
                <systemPath>/${java.home}/../lib/dt.jar</systemPath>
            </dependency>

            <dependency>
                <groupId>javax.help</groupId>
                <artifactId>javahelp</artifactId>
                <version>${javahelp.version}</version>
            </dependency>

            <!-- maven dependencies -->

            <dependency>
                <groupId>org.apache.maven</groupId>
                <artifactId>maven-plugin-api</artifactId>
                <version>${maven.version}</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.apache.maven</groupId>
                <artifactId>maven-project</artifactId>
                <version>${maven.version}</version>
                <scope>provided</scope>
            </dependency>

            <!-- xworks dependencies -->

            <dependency>
                <groupId>com.opensymphony</groupId>
                <artifactId>xwork</artifactId>
                <version>2.1.3</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-test</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <!-- rsyntaxtextarea dependency -->
            <dependency>
                <groupId>org.nuiton.thirdparty</groupId>
                <artifactId>rsyntaxtextarea</artifactId>
                <version>1.4.0</version>
            </dependency>

            <!-- swinglabs dependencies -->

            <dependency>
                <groupId>org.swinglabs</groupId>
                <artifactId>jxlayer</artifactId>
                <version>${jxlayer.version}</version>
            </dependency>

            <dependency>
                <groupId>org.swinglabs</groupId>
                <artifactId>swingx</artifactId>
                <version>1.6</version>
                <scope>compile</scope>
            </dependency>

            <!--dependency>
                <groupId>org.swinglabs</groupId>
                <artifactId>swing-worker</artifactId>
                <version>1.1</version>
            </dependency-->

            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>1.2.14</version>
            </dependency>

            <dependency>
                <groupId>org.codehaus.plexus</groupId>
                <artifactId>plexus-velocity</artifactId>
                <version>1.1.7</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.codehaus.plexus</groupId>
                        <artifactId>plexus-container-default</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.codehaus.plexus</groupId>
                        <artifactId>plexus-component-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>velocity</groupId>
                        <artifactId>velocity</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.7</version>
                <scope>test</scope>
            </dependency>

            <dependency>
                <groupId>org.apache.maven.shared</groupId>
                <artifactId>maven-verifier</artifactId>
                <version>1.0</version>
                <scope>test</scope>
            </dependency>

            <dependency>
                <groupId>org.apache.maven.plugin-testing</groupId>
                <artifactId>maven-plugin-testing-harness</artifactId>
                <version>1.2</version>
                <scope>test</scope>
                <exclusions>

                    <exclusion>
                        <groupId>org.codehaus.plexus</groupId>
                        <artifactId>plexus-archiver</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.apache.maven.wagon</groupId>
                        <artifactId>wagon-http-lightweight</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.apache.maven.wagon</groupId>
                        <artifactId>wagon-file</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.apache.maven.wagon</groupId>
                        <artifactId>wagon-ssh</artifactId>
                    </exclusion>

                    <exclusion>
                        <groupId>org.apache.maven.reporting</groupId>
                        <artifactId>maven-reporting-api</artifactId>
                    </exclusion>

                    <!-- FIXME shoudl use the maven-ocre of maven.version...
                    <exclusion>
                        <groupId>org.apache.maven</groupId>
                        <artifactId>maven-core</artifactId>
                    </exclusion-->

                </exclusions>
            </dependency>

        </dependencies>
    </dependencyManagement>

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

    <name>JAXX</name>
    <description>JAXX Project</description>
    <inceptionYear>2008</inceptionYear>
    <url>http://maven-site.nuiton.org/jaxx</url>

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

    <packaging>pom</packaging>

    <properties>

        <!-- pour un muli module on doit fixer le projectId -->
        <projectId>jaxx</projectId>

        <lutinutil.version>1.2</lutinutil.version>
        <i18n.version>1.2</i18n.version>

        <jxlayer.version>3.0.3</jxlayer.version>

        <javahelp.version>2.0.02</javahelp.version>

    </properties>

    <build>

        <pluginManagement>
            <plugins>

                <!-- plugin i18n -->
                <plugin>
                    <groupId>org.nuiton.i18n</groupId>
                    <artifactId>maven-i18n-plugin</artifactId>
                    <version>${i18n.version}</version>
                </plugin>

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

            </plugins>
        </pluginManagement>

    </build>

    <reporting>
        <plugins>
            <plugin>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version> 2.4</version>
            </plugin>
        </plugins>
    </reporting>
    
    <!-- ************************************************************* -->
    <!-- *** Build Environment  ************************************** -->
    <!-- ************************************************************* -->

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

</project>

