|
|
@ -56,7 +56,7 @@ |
|
|
|
</dependencies> |
|
|
|
|
|
|
|
<build> |
|
|
|
<finalName>${project.name}</finalName> |
|
|
|
<finalName>huzhou</finalName> |
|
|
|
<resources> |
|
|
|
<resource> |
|
|
|
<directory>src/main/resources</directory> |
|
|
@ -89,6 +89,39 @@ |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<!-- https://gitee.com/roseboy/classfinal --> |
|
|
|
<!-- <groupId>cn.ywyu</groupId>--> |
|
|
|
<!-- <artifactId>classfinal-maven-plugin</artifactId>--> |
|
|
|
<!-- <version>1.3.2</version>--> |
|
|
|
<groupId>com.gitee.lcm742320521</groupId> |
|
|
|
<artifactId>classfinal-maven-plugin</artifactId> |
|
|
|
<version>1.4.1</version> |
|
|
|
<configuration> |
|
|
|
<!--加密密码,如果是#号,则使用无密码模式加密,【加密后没有pom文件,不用担心泄漏】--> |
|
|
|
<password>123456</password> |
|
|
|
<!--加密的包名(可为空,多个用","分割)--> |
|
|
|
<packages>com.easy.admin</packages> |
|
|
|
<!--需要加密的配置文件,一般是classes目录下的yml或properties文件(可为空,多个用","分割)--> |
|
|
|
<cfgfiles>*.properties,*.yml,com/easy/admin/**/mapping/*.xml</cfgfiles> |
|
|
|
<!--外部依赖的jar目录,例如/tomcat/lib(可为空,多个用","分割)--> |
|
|
|
<!--<classpath></classpath>--> |
|
|
|
<libjars>huzhou-1.1.0.jar</libjars> <!--jar/war包lib下要加密jar文件名(可为空,多个用","分割)--> |
|
|
|
<!--<cfgpasspath>/etc/.env</cfgpasspath>--> <!--密码文件路径,可为空,默认 /etc/.env--> |
|
|
|
<!--<excludes>com.Test</excludes>--> <!--排除不需要加密的文件--> |
|
|
|
<!--<classpath></classpath>--> <!--外部依赖jarlib--> |
|
|
|
<!--<debug>true</debug>--> <!--调试模式,打印debug日志--> |
|
|
|
<code>FFD6C8E3D5A09C874D2AB2B311ABCCACD41D8CD98F00B204E9800998ECF8427ED41D8CD98F00B204E9800998ECF8427E</code> |
|
|
|
</configuration> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<phase>package</phase> |
|
|
|
<goals> |
|
|
|
<goal>classFinal</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
|
|
|
|