<?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>
    <groupId>com.els.srm.v5.account</groupId>
    <artifactId>srm-account-cloud</artifactId>
    <packaging>jar</packaging>

    <name>srm-account-cloud</name>

    <parent>
        <groupId>com.els.srm.v5</groupId>
        <artifactId>srm-account-module</artifactId>
        <version>1.27.3-yintai</version>
    </parent>

    <dependencies>
        <dependency>
            <groupId>com.els.srm.v5.account</groupId>
            <artifactId>srm-account</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>com.els.srm.v5</groupId>
            <artifactId>srm-core-cloud</artifactId>
            <version>${project.version}</version>
        </dependency>
        <!--解决Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError:
            javax/mail/Authenticator -->
        <dependency>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
            <version>1.4.1</version>
        </dependency>
    </dependencies>

    <build>
        <finalName>srm-account-cloud</finalName>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>
</project>
