<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright 2010, Red Hat, Inc., and individual contributors
  ~ as indicated by the @author tags. See the copyright.txt file in the
  ~ distribution for a full listing of individual contributors.
  ~
  ~ This 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.1 of
  ~ the License, or (at your option) any later version.
  ~
  ~ This software 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 software; if not, write to the Free
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  -->

<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>

    <parent>
        <groupId>org.jboss</groupId>
        <artifactId>jboss-parent</artifactId>
        <version>14</version>
    </parent>

    <artifactId>wildfly-legacy-test-parent</artifactId>

    <groupId>org.wildfly.legacy.test</groupId>
    <version>1.0.0.Final</version>
    <name>WildFly: Legacy Test</name>
    <packaging>pom</packaging>

    <properties>
      <version.org.jboss.jboss-dmr>1.2.0.Final</version.org.jboss.jboss-dmr>
      <version.org.jboss.jboss-msc>1.2.2.Final</version.org.jboss.jboss-msc>
      <version.org.jboss.jboss-vfs>3.2.5.Final</version.org.jboss.jboss-vfs>

      <!-- If the version of wildfly core has not been released yet containing some changes,
	   you can override this on the command line using -D. There is no need to do a new 
	   core release.
      -->
      <wildfly.current.version>1.0.1.Final</wildfly.current.version>
	       
    </properties>
    
    <modules>
       <module>core</module>
       <module>spi</module>
       <module>subsystem</module>
       <module>tools</module>
    </modules>

    
    <dependencyManagement>
      <!-- Dependencies in this project -->
      <dependencies>
         <dependency>
            <groupId>org.wildfly.legacy.test</groupId>
            <artifactId>wildfly-legacy-spi</artifactId>
            <version>${project.version}</version>
         </dependency>
         <dependency>
            <groupId>org.wildfly.legacy.test</groupId>
            <artifactId>wildfly-legacy-spi-dependencies</artifactId>
            <type>pom</type>
            <version>${project.version}</version>
         </dependency>
   
         <!-- External dependencies -->
         <dependency>
            <groupId>org.jboss</groupId>
            <artifactId>jboss-dmr</artifactId>
            <version>${version.org.jboss.jboss-dmr}</version>
         </dependency>
         <dependency>
            <groupId>org.jboss</groupId>
            <artifactId>jboss-vfs</artifactId>
            <version>${version.org.jboss.jboss-vfs}</version>
         </dependency>
         <dependency>
            <groupId>org.jboss.msc</groupId>
            <artifactId>jboss-msc</artifactId>
            <version>${version.org.jboss.jboss-msc}</version>
         </dependency>
      </dependencies>
      
    </dependencyManagement>

    <!--
     Repositories are defined in the order that they should be used.
     (1) Maven central, (2) JBoss.org, (3) JBoss product
     By default maven central is used last, so it is redefined here to
     force it to be used first.
     -->
    <repositories>
        <repository>
            <id>central</id>
            <name>Main Apache Maven Repository</name>
            <url>http://repo.maven.apache.org/maven2/</url>
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </repository>
        <repository>
            <id>jboss-public-repository-group</id>
            <name>JBoss Public Repository Group</name>
            <url>http://repository.jboss.org/nexus/content/groups/public/</url>
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>daily</updatePolicy>
            </snapshots>
        </repository>
        <repository>
            <id>jboss-product-repository</id>
            <name>JBoss Internal Product Repository</name>
            <url>http://download.lab.bos.redhat.com/brewroot/repos/jb-eap-6.4-rhel-6-build/latest/maven/</url>
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </repository>
    </repositories>

</project>
