2024-09-20 15:55:53 +08:00
|
|
|
|
<?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>
|
|
|
|
|
<groupId>com.ensign</groupId>
|
|
|
|
|
<artifactId>ensign</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</parent>
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<artifactId>ensign-server</artifactId>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<name>${project.artifactId}</name>
|
|
|
|
|
<description>
|
|
|
|
|
后端 Server 的主项目,通过引入需要 ensign-module-xxx 的依赖,
|
|
|
|
|
从而实现提供 RESTful API 给 ensign-ui-admin、ensign-ui-user 等前端项目。
|
|
|
|
|
本质上来说,它就是个空壳(容器)!
|
|
|
|
|
</description>
|
|
|
|
|
<url>https://github.com/YunaiV/ruoyi-vue-pro</url>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.ensign</groupId>
|
|
|
|
|
<artifactId>ensign-module-system-biz</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.ensign</groupId>
|
|
|
|
|
<artifactId>ensign-module-infra-biz</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- spring boot 配置所需依赖 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 服务保障相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.ensign</groupId>
|
|
|
|
|
<artifactId>ensign-spring-boot-starter-protection</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-09-23 11:14:54 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.ensign</groupId>
|
|
|
|
|
<artifactId>ensign-module-crm-biz</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</dependency>
|
2024-09-20 15:55:53 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<!-- 设置构建的 jar 包名 -->
|
|
|
|
|
<plugins>
|
2024-09-24 18:03:44 +08:00
|
|
|
|
<!-- 指定启动类,将依赖打成外部jar包 -->
|
2024-09-20 15:55:53 +08:00
|
|
|
|
<plugin>
|
2024-09-24 18:03:44 +08:00
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<archive>
|
|
|
|
|
<!-- 生成的jar中,不要包含pom.xml和pom.properties这两个文件 -->
|
|
|
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
|
|
|
<manifest>
|
|
|
|
|
<!-- 是否要把第三方jar加入到类构建路径 -->
|
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
|
<!-- 外部依赖jar包的最终位置 -->
|
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
|
|
<!-- 项目启动类 -->
|
|
|
|
|
<mainClass>com.ensign.crm.server.EnsignServerApplication</mainClass>
|
|
|
|
|
</manifest>
|
|
|
|
|
</archive>
|
2024-09-24 18:23:08 +08:00
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
2024-09-24 18:03:44 +08:00
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!--拷贝依赖到jar外面的lib目录-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2024-09-20 15:55:53 +08:00
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
2024-09-24 18:03:44 +08:00
|
|
|
|
<id>copy-lib</id>
|
|
|
|
|
<phase>package</phase>
|
2024-09-20 15:55:53 +08:00
|
|
|
|
<goals>
|
2024-09-24 18:03:44 +08:00
|
|
|
|
<goal>copy-dependencies</goal>
|
2024-09-20 15:55:53 +08:00
|
|
|
|
</goals>
|
2024-09-24 18:03:44 +08:00
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>target/lib</outputDirectory>
|
|
|
|
|
<excludeTransitive>false</excludeTransitive>
|
|
|
|
|
<stripVersion>false</stripVersion>
|
|
|
|
|
<includeScope>runtime</includeScope>
|
|
|
|
|
</configuration>
|
2024-09-20 15:55:53 +08:00
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|