<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: pom.xml 10 2007-11-22 14:11:52Z holger $ -->
<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.mule.tools</groupId>
    <artifactId>maven-muleforge-plugin</artifactId>
    <version>1.0</version>
    <packaging>maven-plugin</packaging>
    <name>Maven MuleForge Deployer Plugin</name>

    <description>
        Responsible for deploying additional artifacts such as schemas and release distributions to MuleForge. Using this
        plugin ensures consistency of hosted files.

        Users should use the Mule Maven archetypes to generate POM.xml files for thier project.  These POMs will be configured
        with the standard MuleForge plugins and will comply to the MuleForge rules for build and deployment.
    </description>

    <properties>
        <groovyMojoVersion>1.0-beta-1</groovyMojoVersion>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-project</artifactId>
            <!-- TODO inherit top-level pre-reqs for Maven  -->
            <version>2.0.9</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.mojo.groovy</groupId>
            <artifactId>groovy-mojo-support</artifactId>
            <version>${groovyMojoVersion}</version>
        </dependency>
    </dependencies>

    <build>
        <defaultGoal>install</defaultGoal>

        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-webdav</artifactId>
            </extension>
        </extensions>

        <plugins>
            <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>${groovyMojoVersion}</version>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>
    <distributionManagement>
        <!--
             As this plugin is used in Mule's build, we don't release into the forge
             but rather into our custom Mule repo.
        -->
        <repository>
            <id>mule-releases</id>
            <name>Mule Release Repository</name>
            <url>dav:https://dav.codehaus.org/repository/mule/</url>
        </repository>
        <snapshotRepository>
            <id>mule-snapshots</id>
            <name>Mule Snapshot Repository</name>
            <url>dav:https://dav.codehaus.org/snapshots.repository/mule/</url>
        </snapshotRepository>
        <!--
            The site is published to the forge, however ...
        -->
        <site>
            <id>muleforge.webdav.sites</id>
            <name>Mulforge Forge Website</name>
            <url>dav:https://dav.muleforge.org/mfdeployer/${version}</url>
        </site>
    </distributionManagement>

</project>
