<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://maven.apache.org/POM/4.0.0"
         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>

<!-- Something in the test-extensions parent pom prevents the mule-artifact.json form being present in the app -->
    <parent>
        <groupId>org.mule.runtime</groupId>
        <artifactId>mule</artifactId>
        <version>4.12.3</version>
        <relativePath>../../../pom.xml</relativePath>
    </parent>

    <groupId>org.mule.tests</groupId>
    <artifactId>test-reusable-app</artifactId>
    <packaging>mule-application</packaging>

    <name>Mule Reusable App Test Extension</name>
    <description>A Mule extension for testing</description>

    <properties>
        <javaModuleName>org.mule.test.extension.reusable.app</javaModuleName>
        <skipMuleModuleMojos>true</skipMuleModuleMojos>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.mule.tools.maven</groupId>
                <artifactId>exchange-mule-maven-plugin</artifactId>
                <version>${exchange.mule.maven.plugin.version}</version>
            </plugin>
            <plugin>
                <groupId>org.mule.tools.maven</groupId>
                <artifactId>mule-maven-plugin</artifactId>
                <!-- Pin to 4.4.0 (NOT the reactor's 4.10.x). This fixture is the only module that runs the
                     mule-maven-plugin build-extension lifecycle in the reactor; at 4.10.x its plugin realm
                     leaks extensions-api:1.11.5 onto the shared single-JVM realm and breaks every later
                     extension module's ComponentMetadataConfigurerFactoryDelegate ServiceLoader lookup.
                     4.4.0's extensions-api:1.7.4 keeps that type in a non-colliding package. Mirrors the
                     local pin in mule-test-artifacts/test-extensions/reusable-app/pom.xml. See W-23612553. -->
                <version>4.4.0</version>
                <extensions>true</extensions>
                <configuration>
                    <classifier>mule-plugin</classifier>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
        </dependency>
    </dependencies>
</project>
