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

    <parent>
        <groupId>org.mule.runtime</groupId>
        <artifactId>api-annotations-parent</artifactId>
        <version>1.8.20</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>api-annotations</artifactId>
    <packaging>jar</packaging>
    <name>API Annotations</name>
    <description>Annotations used for Mule Module API definition</description>

    <properties>
        <javaReleaseVersion>8</javaReleaseVersion>

        <skipMuleModuleMojos>true</skipMuleModuleMojos>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <executions>
                    <execution>
                        <id>base-compile</id>
                        <configuration>
                            <!-- Augment parent's base-compile excludes with jpms-specific exclusion.
                                 The parent pluginManagement already excludes module-info.java; this adds
                                 the api-annotations-specific org/mule/api/annotation/jpms/** package. -->
                            <excludes>
                                <exclude>module-info.java</exclude>
                                <exclude>org/mule/api/annotation/jpms/**</exclude>
                            </excludes>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
