<?xml version="1.0" encoding="UTF-8"?>
<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>
    <parent>
        <groupId>org.mule</groupId>
        <artifactId>mule</artifactId>
        <version>2.0-M1</version>
    </parent>
    <groupId>org.mule.tools</groupId>
    <artifactId>mule-tools</artifactId>
    <packaging>pom</packaging>
    <name>Mule Tools</name>
    <description>Tools for building and working with Mule projects.</description>
    
    <modules>
        <module>visualizer</module>
        <module>bobberplus</module>
        <module>mule-transport-archetype</module>
        <module>mule-assembly-verifier</module>
    </modules>

    <pluginRepositories>
        <pluginRepository>
            <id>mule-plugins</id>
            <name>Mule Plugin Dependencies</name>
            <url>http://dist.codehaus.org/mule/dependencies/maven2</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>

    <build>
        <plugins>
            <!--
                TODO MULE-1772. Until the mule-assembly-verifier plugin is moved out,
                duplicate that dependency here to properly build under m2 reactor.
                MAV has an exactly same declaration in its (isolated) pom.
            -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-plugin-plugin</artifactId>
                <dependencies>
                    <dependency>
                        <groupId>org.codehaus.mojo.groovy</groupId>
                        <artifactId>groovy-mojo-tools</artifactId>
                        <version>1.0-alpha-3</version>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.mule</groupId>
            <artifactId>mule-core</artifactId>
            <version>${parent.version}</version>
        </dependency>
    </dependencies>

</project>
