<?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">
    <parent>
        <artifactId>bpm-platform</artifactId>
        <groupId>com.artfess</groupId>
        <version>1.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>bpm-userCenter-server</artifactId>

    <properties>
        <cron-utils.version>7.0.1</cron-utils.version>
        <spring-boot-starter-mobile.version>1.5.9.RELEASE</spring-boot-starter-mobile.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>com.artfess</groupId>
            <artifactId>bpm-base</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <!-- Spring boot 测试 -->
        <!-- ad同步 -->
        <dependency>
            <groupId>org.springframework.ldap</groupId>
            <artifactId>spring-ldap-core</artifactId>
        </dependency>
        <!-- 定时任务一 -->
        <dependency>
            <groupId>com.cronutils</groupId>
            <artifactId>cron-utils</artifactId>
            <version>${cron-utils.version}</version>
        </dependency>
        <!-- Spring boot 移动端支持 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-mobile</artifactId>
            <version>${spring-boot-starter-mobile.version}</version>
        </dependency>
        <!-- rest-auth-service 获取请求方法的授权信息 portal门户模块请不要依赖 只在 bpm-model bpm-runtime
            form,uc中依赖 -->
        <dependency>
            <groupId>com.artfess</groupId>
            <artifactId>rest-auth-service</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <!-- excel处理相关 -->
        <dependency>
            <groupId>com.artfess</groupId>
            <artifactId>poi</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <!-- redis -->
        <dependency>
            <groupId>com.artfess</groupId>
            <artifactId>redis</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <!-- mq -->
        <dependency>
            <groupId>com.artfess</groupId>
            <artifactId>activemq</artifactId>
            <version>${project.version}</version>
        </dependency>
        <!-- 其他模块使用I18nUtil的方法,获取国际化资源 -->
        <dependency>
            <groupId>com.artfess</groupId>
            <artifactId>i18n</artifactId>
            <version>${project.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>com.artfess</groupId>
                    <artifactId>uc-api-impl</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- service -->
        <dependency>
            <groupId>com.artfess</groupId>
            <artifactId>service</artifactId>
            <version>${project.version}</version>
        </dependency>

        <dependency>
            <groupId>com.jcraft</groupId>
            <artifactId>jsch</artifactId>
            <version>0.1.54</version>
        </dependency>

    </dependencies>

    <!-- 用于生成jar文件 -->
    <build>
        <finalName>uc</finalName>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <version>2.2.6.RELEASE</version>
                <configuration>
                    <mainClass>com.artfess.uc.Application</mainClass>
                    <layout>JAR</layout>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                        <configuration>
                            <attach>false</attach>
                            <classifier>boot</classifier>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

        </plugins>
    </build>

</project>