<?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>org.operaton.bpm.model</groupId>
    <artifactId>operaton-model-apis</artifactId>
    <version>2.1.0</version>
  </parent>
  <artifactId>operaton-xml-model</artifactId>
  <name>Operaton - XML Model API</name>
  <description>${project.name}</description>
  <dependencies>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-api</artifactId>
      <!-- Required for AbstractModelElementInstanceTest -->
      <scope>provided</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-engine</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <!-- AbstractModelElementInstanceTest used by other model-api tests -->
              <goal>test-jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <!-- check for api differences between latest minor release -->
  <profiles>
    <profile>
      <id>check-api-compatibility</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>clirr-maven-plugin</artifactId>
            <configuration>
              <excludes>
                <exclude>org/operaton/bpm/model/xml/impl/**</exclude>
                <exclude>org/operaton/bpm/model/xml/test/AbstractModelElementInstanceTest</exclude>
                <exclude>org/operaton/bpm/model/xml/test/AbstractModelElementInstanceTest$*</exclude>
              </excludes>
            </configuration>
            <executions>
              <execution>
                <id>restrictive</id>
                <configuration>
                  <ignoredDifferencesFile>../.clirr-ignore.xml</ignoredDifferencesFile>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
