<?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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.mulesoft.mule.framework</groupId>
        <artifactId>mule-framework-tests</artifactId>
        <version>1.2.3</version>
    </parent>

    <artifactId>micro-bechmarks-parent</artifactId>
    <packaging>pom</packaging>

    <name>Mule Framework Micro-Bechmarks Parent</name>
    <description>Mule Framework Micro-Bechmarks Parent</description>
    
    <modules>
        <module>static</module>
        <module>embedded</module>
    </modules>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <executions>
                        <execution>
                            <id>unpack-services-bundle</id>
                            <goals>
                                <goal>unpack</goal>
                            </goals>
                            <phase>generate-test-resources</phase>
                            <configuration>
                                <artifactItems>
                                    <artifactItem>
                                        <groupId>com.mulesoft.mule.framework</groupId>
                                        <artifactId>mule-framework-static-requirements-bundle</artifactId>
                                        <type>zip</type>
                                        <version>${project.version}</version>
                                    </artifactItem>
                                </artifactItems>
                                <outputDirectory>${project.build.directory}/dependency</outputDirectory>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <annotationProcessorPaths>
                            <path>
                                <groupId>org.openjdk.jmh</groupId>
                                <artifactId>jmh-generator-annprocess</artifactId>
                                <version>${jmh.version}</version>
                            </path>
                        </annotationProcessorPaths>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <configuration>
                        <argLine>-Djmh.ignoreLock=true</argLine>
                        <systemPropertyVariables>
                            <contiperf.active>false</contiperf.active>
                            <enablePerformanceTests>false</enablePerformanceTests>
                        </systemPropertyVariables>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
</project>
