YiZhanManage/jysoft-module-system/jysoft-module-system-base/pom.xml

204 lines
7.1 KiB
XML

<?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>jysoft-module-system</artifactId>
<groupId>com.jysoft.cloud</groupId>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>jysoft-module-system-base</artifactId>
<name>${project.artifactId}</name>
<description>
system 模块下的通用业务,支撑上层的核心业务。
例如说:用户、部门、权限、数据字典等等
</description>
<dependencies>
<!-- Spring Cloud 基础 -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>
<!-- 依赖服务 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-module-system-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-module-log-api</artifactId>
<version>${revision}</version>
</dependency>
<!-- 业务组件 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-banner</artifactId>
</dependency>
<!-- Web 相关 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-security</artifactId>
</dependency>
<!-- DB 相关 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-mybatis</artifactId>
</dependency>
<!-- 文件 相关 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-file</artifactId>
</dependency>
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-redis</artifactId>
</dependency>
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-data-permission</artifactId>
</dependency>
<!-- RPC 远程调用相关 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-rpc</artifactId>
<exclusions>
<exclusion>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Registry 注册中心相关 -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<!-- Config 配置中心相关 -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
</dependency>
<!-- 工具类相关 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
</dependency>
<!-- 操作日志相关 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-log</artifactId>
</dependency>
<!--多租户 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-tenant</artifactId>
</dependency>
<!-- 监控相关 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-monitor</artifactId>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-engine-core</artifactId> <!-- 实现代码生成 -->
</dependency>
<dependency>
<groupId>cn.smallbun.screw</groupId>
<artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
</dependency>
<dependency>
<groupId>mobile.client.message.api</groupId>
<artifactId>mobile.client.message</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${pom.basedir}/src/main/resources/lib/mobile-message-client-api-1.0.0-jdk17.jar</systemPath>
</dependency>
<dependency>
<groupId>com.sgcc</groupId>
<artifactId>sgcc.nds.jdbc.driver</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${pom.basedir}/src/main/resources/lib/sgjdbc-V4.3.21.1-build-20220304.2635.jar</systemPath>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-excel</artifactId>
</dependency>
<!-- 当前项目支持热部署,无需重启 -->
<!--<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>-->
</dependencies>
<build>
<!-- 设置构建的 jar 包名 -->
<finalName>${project.artifactId}</finalName>
<plugins>
<!-- 打包 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.4.2</version>
<configuration>
<!-- 打包时是否包含scope为system的依赖 -->
<includeSystemScope>true</includeSystemScope>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>