<?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>auth</artifactId>
        <groupId>com.hotent</groupId>
        <version>1.0.3</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <name>auth-client</name>
    <artifactId>auth-client</artifactId>
    <description>bpm-runtime实例启动，客户端上线逻辑</description>
    <dependencies>
        <dependency>
            <groupId>com.hotent</groupId>
            <artifactId>license4eip9</artifactId>
            <version>${license4eip.version}</version>
        </dependency>
        <dependency>
            <groupId>com.hotent</groupId>
            <artifactId>base</artifactId>
            <scope>provided</scope>
            <version>${eip.version}</version>
        </dependency>
    </dependencies>

    <build>
        <finalName>auth-client</finalName>
        <plugins>
            <!-- 代码混淆插件 加密 -->
            <plugin>
                <groupId>com.hotent.plugins</groupId>
                <artifactId>protect-maven-plugin</artifactId>
                <version>1.0.1</version>
                <configuration>
                    <classPath>${basedir}\target\classes</classPath>
                </configuration>
                <executions>
                    <execution>
                        <!-- 本地调试改为compile 发布时改为deploy -->
                        <phase>deploy</phase>
                        <goals>
                            <goal>encodeJar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.11.0</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <release>${java.version}</release>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>