<?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">
  <parent>
    <artifactId>aptk-compilermessages-parent</artifactId>
    <groupId>io.toolisticon.aptk</groupId>
    <version>0.21.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>aptk-compilermessages-processor</artifactId>
  <name>aptk-compilermessages-processor</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>io.toolisticon.aptk:aptk-tools</include>
                  <include>io.toolisticon.aptk:aptk-common</include>
                  <include>io.toolisticon.aptk:aptk-templating</include>
                </includes>
              </artifactSet>
              <createDependencyReducedPom>true</createDependencyReducedPom>
              <transformers>
                <transformer>
                  <resource>.txt</resource>
                </transformer>
              </transformers>
              <relocations>
                <relocation>
                  <pattern>io.toolisticon.aptk.tools</pattern>
                  <shadedPattern>io.toolisticon.aptk.compilermessage._3rdparty.io.toolisticon.aptk.tools</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>io.toolisticon.aptk.common</pattern>
                  <shadedPattern>io.toolisticon.aptk.compilermessage._3rdparty.io.toolisticon.aptk.common</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>io.toolisticon.aptk.templating</pattern>
                  <shadedPattern>io.toolisticon.aptk.compilermessage._3rdparty.io.toolisticon.aptk.templating</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>${java.compile.source.version}</source>
          <target>${java.compile.target.version}</target>
          <annotationProcessorPaths>
            <path>
              <groupId>io.toolisticon.spiap</groupId>
              <artifactId>spiap-processor</artifactId>
              <version>${spiap.version}</version>
            </path>
            <path>
              <groupId>io.toolisticon.aptk</groupId>
              <artifactId>aptk-annotationwrapper-processor</artifactId>
              <version>${project.version}</version>
            </path>
          </annotationProcessorPaths>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>io.toolisticon.aptk</groupId>
      <artifactId>aptk-compilermessages-api</artifactId>
      <version>0.21.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>io.toolisticon.spiap</groupId>
      <artifactId>spiap-api</artifactId>
      <version>0.11.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>io.toolisticon.aptk</groupId>
      <artifactId>aptk-annotationwrapper-api</artifactId>
      <version>0.21.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>io.toolisticon.cute</groupId>
      <artifactId>cute</artifactId>
      <version>0.12.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>extension-api</artifactId>
          <groupId>io.toolisticon.cute</groupId>
        </exclusion>
        <exclusion>
          <artifactId>extension-plainjava</artifactId>
          <groupId>io.toolisticon.cute</groupId>
        </exclusion>
        <exclusion>
          <artifactId>extension-modulesupport</artifactId>
          <groupId>io.toolisticon.cute</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>io.toolisticon.aptk</groupId>
      <artifactId>aptk-cute</artifactId>
      <version>0.21.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.13.2</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest-library</artifactId>
      <version>2.2</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>4.3.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>byte-buddy</artifactId>
          <groupId>net.bytebuddy</groupId>
        </exclusion>
        <exclusion>
          <artifactId>byte-buddy-agent</artifactId>
          <groupId>net.bytebuddy</groupId>
        </exclusion>
        <exclusion>
          <artifactId>objenesis</artifactId>
          <groupId>org.objenesis</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <version>1.18.22</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest</artifactId>
      <version>2.2</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
