<?xml version="1.0"?>
<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>

  <artifactId>modules-mail</artifactId>
  <name>BaseX Mail Module</name>
  <description>Mail module for BaseX</description>

  <parent>
    <groupId>org.basex.modules</groupId>
    <artifactId>basex-modules</artifactId>
    <version>13.0-SNAPSHOT</version>
  </parent>

  <properties>
    <greenmail.version>2.1.14</greenmail.version>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-email</artifactId>
      <version>1.6.0</version>
    </dependency>

    <dependency>
      <groupId>com.icegreen</groupId>
      <artifactId>greenmail-junit5</artifactId>
      <version>${greenmail.version}</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>org.basex.modules.Mail</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>license-maven-plugin</artifactId>
        <configuration>
          <includedLicenses>
            <includedLicense>Apache License</includedLicense>
            <includedLicense>BSD 3-Clause License</includedLicense>
            <includedLicense>Eclipse Public License - v 2.0</includedLicense>
          </includedLicenses>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
