<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.objectweb.fractal.bf</groupId>
    <artifactId>fractal-bf-parent</artifactId>
    <version>0.9</version>
    <packaging>pom</packaging>
    <name>Fractal-BF: Fractal Binding Factory Parent Module
    </name>
    <description>The Fractal Binding Factory Project</description>
    <modules>
        <module>testing</module>
        <module>itests</module>
        <module>core</module>
        <module>osgi</module>
        <module>binjiu</module>
        <module>connectors</module>
        <module>examples</module>
        <module>adl</module>
        <module>distribution</module>
    </modules>
    <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>
    <properties>
        <fractal-bf.scm.connection>
            scm:svn:svn://svn.forge.objectweb.org/svnroot/fractal/trunk/fractal-bf/
        </fractal-bf.scm.connection>
        <fractal-bf.scm.url>
            http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/fractal/trunk/fractal-bf/
        </fractal-bf.scm.url>
        <server.id>proton</server.id>
        <distribution.url>
            scp://proton.inrialpes.fr/home_nas/schiavon/public_html/fractal-bf
        </distribution.url>
        <fractal.tmp>/tmp</fractal.tmp>
        <fractal.url>/fractal-bf</fractal.url>
        <dir.resources>${basedir}/src/main/resources
        </dir.resources>
        <dir.java>${basedir}/src/main/java
        </dir.java>
        <dir.site>${basedir}/src/site</dir.site>
        <ow.username>${user.name}</ow.username>
        <cxf.version>2.4.0</cxf.version>
        <juliac.version>2.2.3</juliac.version>
        <tinfi.version>1.1.2</tinfi.version>
        <julia.version>2.5.2</julia.version>
        <fractaladl.version>2.3.1</fractaladl.version>
        <binjiu.version>0.1</binjiu.version>
    </properties>

    <!-- sub-modules poms can add other repositories and inherit these -->
    <repositories>
        <repository>
            <id>objectweb-repo</id>
            <name>ObjectWeb Repository</name>
            <url>http://maven.objectweb.org/maven2
            </url>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
        <repository>
            <id>objectweb-snapshot-repo</id>
            <name>ObjectWeb Snapshot Repository</name>
            <url>http://maven.objectweb.org/maven2-snapshot
            </url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
<!--
        <repository>
            <id>apache.incubating</id>
            <name>Apache Incubating Repository</name>
            <url>http://people.apache.org/repo/m2-incubating-repository
            </url>
        </repository>
        <repository>
            <id>apache.snapshot</id>
            <name>Apache Snapshot Repository</name>
            <url>http://people.apache.org/repo/m2-snapshot-repository
            </url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
-->
    </repositories>
    <pluginRepositories>
           <pluginRepository>
            <id>objectweb-repo</id>
            <name>ObjectWeb Repository</name>
            <url>http://maven.objectweb.org/maven2
            </url>
            <releases>
                <enabled>true</enabled>
            </releases>
        </pluginRepository>
        <pluginRepository>
            <id>objectweb-snapshot-repo</id>
            <name>ObjectWeb Snapshot Repository</name>
            <url>http://maven.objectweb.org/maven2-snapshot
            </url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>
    <!-- ================================================ -->

    <!-- distribution manamgement properties -->
    <distributionManagement>
        <site>
            <id>${server.id}</id>
            <url>${distribution.url}</url>
        </site>
        <repository>
            <id>objectweb-release</id>
            <name>ObjectWeb's release repository</name>
            <url>
                scp://forge.objectweb.org/var/lib/gforge/chroot/home/groups/maven/htdocs/maven2
            </url>
        </repository>
        <snapshotRepository>
            <id>objectweb-snapshot</id>
            <name>ObjectWeb's 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/fractal/tags/fractal-bf-parent-0.9</connection>
         <developerConnection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/fractal/tags/fractal-bf-parent-0.9</developerConnection>
        <url>http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/fractal/tags/fractal-bf-parent-0.9</url>
    </scm>
    <ciManagement>
        <system>bamboo</system>
        <url>http://forge.ow2.org/bamboo/browse/FRACTALBF
        </url>
    </ciManagement>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.objectweb.fractal.juliac
                    </groupId>
                    <artifactId>maven-juliac-plugin
                    </artifactId>
                    <version>${juliac.version}
                    </version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins
                    </groupId>
                    <artifactId>maven-surefire-plugin
                    </artifactId>
                    <version>2.3.1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins
                    </groupId>
                    <artifactId>maven-dependency-plugin
                    </artifactId>
                    <version>2.0</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.felix</groupId>
                    <artifactId>maven-bundle-plugin</artifactId>
                    <version>2.0.1</version>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins
                </groupId>
                <artifactId>maven-compiler-plugin
                </artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <!-- Configure the tagBase property of the release plugin -->
            <plugin>
                <artifactId>maven-release-plugin
                </artifactId>
                <version>2.0-beta-9</version>
                <configuration>
                    <tagBase>
                        svn+ssh://svn.forge.objectweb.org/svnroot/fractal/tags
                    </tagBase>
                    <!-- Sub modules have the same version as this one. -->
                    <autoVersionSubmodules>true
                    </autoVersionSubmodules>
                    <preparationGoals>clean install deploy
                    </preparationGoals>
		   <goals>clean deploy</goals>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <!--
        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>

        <!-- fractal dependencies -->
        <dependencies>
            <dependency>
                <groupId>org.objectweb.fractal
                </groupId>
                <artifactId>fractal-api</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.objectweb.fractal.julia
                </groupId>
                <artifactId>julia-runtime</artifactId>
                <version>${julia.version}</version>
            </dependency>
            <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>
            </dependency>
            <dependency>
                <groupId>org.objectweb.fractal
                </groupId>
                <artifactId>fractal-util</artifactId>
                <version>1.1.2</version>
            </dependency>
            <dependency>
                <groupId>org.objectweb.fractal.fractaladl
                </groupId>
                <artifactId>fractal-adl</artifactId>
                <version>${fractaladl.version}
                </version>
            </dependency>
            <dependency>
                <groupId>org.objectweb.fractal.fractaladl
                </groupId>
                <artifactId>task-framework</artifactId>
                <version>${fractaladl.version}
                </version>
            </dependency>
            <dependency>
                <groupId>org.objectweb.fractal.fractaladl
                </groupId>
                <artifactId>task-deployment</artifactId>
                <version>${fractaladl.version}
                </version>
            </dependency>
            <dependency>
                <groupId>org.objectweb.fractal.fractaladl
                </groupId>
                <artifactId>ast-core</artifactId>
                <version>${fractaladl.version}
                </version>
            </dependency>
            <!-- tinfi deps -->
            <dependency>
                <groupId>org.ow2.frascati.tinfi
                </groupId>
                <artifactId>frascati-tinfi-runtime
                </artifactId>
                <version>${tinfi.version}</version>
            </dependency>
            <dependency>
                <groupId>org.ow2.frascati.tinfi
                </groupId>
                <artifactId>frascati-tinfi-compiler
                </artifactId>
                <version>${tinfi.version}</version>
            </dependency>
            <dependency>
                <groupId>org.ow2.frascati.tinfi
                </groupId>
                <artifactId>frascati-tinfi-mixins
                </artifactId>
                <version>${tinfi.version}</version>
            </dependency>

            <!-- testing dependencies -->
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.4</version>
            </dependency>
            <dependency>
                <groupId>org.easymock</groupId>
                <artifactId>easymock</artifactId>
                <version>2.4</version>
            </dependency>
            <dependency>
                <groupId>org.easymock</groupId>
                <artifactId>easymockclassextension
                </artifactId>
                <version>2.3</version>
            </dependency>

            <!-- cxf deps -->
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-api</artifactId>
                <version>${cxf.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-frontend-simple
                </artifactId>
                <version>${cxf.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-databinding-aegis
                </artifactId>
                <version>${cxf.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-transports-http-jetty
                </artifactId>
                <version>${cxf.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-frontend-jaxws
                </artifactId>
                <version>${cxf.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-frontend-jaxrs
                </artifactId>
                <version>${cxf.version}</version>
            </dependency>
            <dependency>
                <groupId>asm</groupId>
                <artifactId>asm</artifactId>
                <version>3.1</version>
            </dependency>
            <!-- required to run bytecode verification -->
            <dependency>
                <groupId>asm</groupId>
                <artifactId>asm-util</artifactId>
                <version>3.1</version>
            </dependency>
            <dependency>
                <groupId>asm</groupId>
                <artifactId>asm-analysis</artifactId>
                <version>3.1</version>
            </dependency>

            <!-- OSGi(tm) deps -->
            <dependency>
                <groupId>org.osgi</groupId>
                <artifactId>org.osgi.core</artifactId>
                <version>4.1.0</version>
            </dependency>
            <dependency>
                <groupId>org.osgi</groupId>
                <artifactId>org.osgi.compendium</artifactId>
                <version>4.1.0</version>
            </dependency>
            <dependency>
                <groupId>org.ow2.fractal.julia.osgi</groupId>
                <artifactId>julia-osgi-api</artifactId>
                <version>${julia.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins
                </groupId>
                <artifactId>maven-javadoc-plugin
                </artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins
                </groupId>
                <artifactId>maven-jxr-plugin
                </artifactId>
                <configuration>
                    <linkJavadoc>true</linkJavadoc>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins
                </groupId>
                <artifactId>maven-changelog-plugin
                </artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins
                </groupId>
                <artifactId> maven-project-info-reports-plugin
                </artifactId>
                <configuration>
                    <webAccessUrl>${fractal-bf.scm.url}
                    </webAccessUrl>
                    <anonymousConnection> ${fractal-bf.scm.connection}
                    </anonymousConnection>
                </configuration>
            </plugin>
        </plugins>
    </reporting>
</project>
