You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
4.1 KiB
111 lines
4.1 KiB
<?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>cas-server</artifactId>
|
|
<groupId>com.inscloudtech</groupId>
|
|
<version>4.7.0</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>jar</packaging>
|
|
<artifactId>cas-admin</artifactId>
|
|
|
|
<description>
|
|
web服务入口
|
|
</description>
|
|
|
|
<dependencies>
|
|
|
|
<!-- spring-boot-devtools -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<optional>true</optional> <!-- 表示依赖不会传递 -->
|
|
</dependency>
|
|
|
|
<!-- Mysql驱动包 -->
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 核心模块-->
|
|
<dependency>
|
|
<groupId>com.inscloudtech</groupId>
|
|
<artifactId>cas-framework</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.inscloudtech</groupId>
|
|
<artifactId>cas-system</artifactId>
|
|
</dependency>
|
|
<!-- 代码生成-->
|
|
<dependency>
|
|
<groupId>com.inscloudtech</groupId>
|
|
<artifactId>cas-generator</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<configuration>
|
|
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.2.2</version>
|
|
<configuration>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
<warName>${project.artifactId}</warName>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>net.roseboy</groupId>
|
|
<artifactId>classfinal-maven-plugin</artifactId>
|
|
<version>1.2.1</version>
|
|
<configuration>
|
|
<password>#</password><!-- #表示启动时不需要密码,事实上对于代码混淆来说,这个密码没什么用,它只是一个启动密码 -->
|
|
<excludes>org.spring</excludes>
|
|
<packages>com.inscloudtech</packages><!-- 加密的包名,多个包用逗号分开 -->
|
|
<cfgfiles>application.yml,application-dev.yml,application-prod.yml,application-soft.yml</cfgfiles>
|
|
<libjars>cas-system-4.7.0.jar</libjars><!-- jar包lib下面要加密的jar依赖文件,多个包用逗号分开 -->
|
|
<!-- <code>78828431441AC7E1D92FC694D6886239D41D8CD98F00B204E9800998ECF8427ED41D8CD98F00B204E9800998ECF8427E</code> <!– 指定机器启动,机器码 –>-->
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>classFinal</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|