<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.dromara.solon-plugins</groupId>
    <artifactId>solon-plugins</artifactId>
    <version>0.1.2</version>
  </parent>
  <groupId>org.dromara.solon-plugins</groupId>
  <artifactId>mapstruct-plus-solon-plugin</artifactId>
  <version>0.1.2</version>
  <licenses>
    <license>
      <name>MIT License</name>
      <url>https://opensource.org/licenses/MIT</url>
    </license>
  </licenses>
  <properties>
    <mapstruct-plus.version>1.4.3</mapstruct-plus.version>
  </properties>
  <dependencies>
    <dependency>
      <groupId>org.noear</groupId>
      <artifactId>solon</artifactId>
    </dependency>
    <dependency>
      <groupId>org.noear</groupId>
      <artifactId>solon-test-junit5</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>io.github.linpeilie</groupId>
      <artifactId>mapstruct-plus</artifactId>
      <version>${mapstruct-plus.version}</version>
    </dependency>
    <dependency>
      <groupId>cn.hutool</groupId>
      <artifactId>hutool-all</artifactId>
      <version>${hutool.version}</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.8.1</version>
        <executions>
          <execution>
            <phase>test</phase>
          </execution>
        </executions>
        <configuration>
          <source>${maven.compiler.source}</source>
          <target>${maven.compiler.target}</target>
          <goal>bind</goal>
          <annotationProcessorPaths>
            <path>
              <groupId>io.github.linpeilie</groupId>
              <artifactId>mapstruct-plus-processor</artifactId>
              <version>${mapstruct-plus.version}</version>
            </path>
          </annotationProcessorPaths>
          <compilerArgs>
            <arg>-Amapstruct.defaultComponentModel=solon</arg>
          </compilerArgs>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
