Files
nl-verify-check-sdk/nl-verify-check-test/pom.xml

62 lines
2.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>
<parent>
<groupId>org.nl</groupId>
<artifactId>nl-verify-check</artifactId>
<version>1.0</version>
</parent>
<artifactId>nl-verify-check-test</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.nl</groupId>
<artifactId>nl-verify-check-sdk</artifactId>
<version>1.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.gitee.lcm742320521</groupId>
<artifactId>classfinal-maven-plugin</artifactId>
<version>1.4.1</version>
<configuration>
<!-- 必填:加密密码,请务必修改为强密码并妥善保管 -->
<password>nl2024</password>
<!-- 需要加密的包名(支持多个,逗号分隔) -->
<packages>org.nl</packages>
<!-- 需要加密的配置文件 -->
<cfgfiles>application.yml,application-dev.yml,application-prod.yml</cfgfiles>
<!-- 排除不需要加密的包如实体类、DTO -->
<excludes>org.nl.**.domain.**,org.nl.Application</excludes>
<!-- 可选绑定机器码使加密后的jar只能在此机器运行 -->
<!-- <code>目标机器的唯一标识码</code> -->
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>classFinal</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>