<?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.tests.archetypes</groupId>
        <artifactId>mule-tests-archetypes</artifactId>
        <version>2.0.1</version>
    </parent>
    <groupId>org.mule.tests.archetypes</groupId>
    <artifactId>transport-archetype</artifactId>
    <packaging>jar</packaging>
    <name>Test for Mule Transport Archetype</name>

    <!-- the following properties are needed by the groovy script that we inherit from our parent pom -->
    <properties>
        <!-- this is the name of the directory that's crated by the archetype -->
        <outputDir>mule-transport-foo</outputDir>
        <!-- this is the groupId:artifactId of the archetype that we want to invoke -->
        <archetype>org.mule.tools:mule-transport-archetype</archetype>
        <!-- this string will be appended to the archetype's commandline -->
        <archetypeParams>-DtransportId=foo</archetypeParams>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.mule.tools</groupId>
            <artifactId>mule-transport-archetype</artifactId>
            <version>${version}</version>
        </dependency>
        <dependency>
            <groupId>org.mule.modules</groupId>
            <artifactId>mule-module-spring-config</artifactId>
            <version>${version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo.groovy</groupId>
                <artifactId>groovy-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
</project>
