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

119 lines
4.4 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-log</artifactId>
<groupId>com.jysoft.cloud</groupId>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>jysoft-module-log-base</artifactId>
<name>${project.artifactId}</name>
<description>审计日志</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-spring-boot-starter-log</artifactId>
</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>
<!-- 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>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-redis</artifactId>
</dependency>
<!-- 监控相关 -->
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-monitor</artifactId>
</dependency>
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-module-log-api</artifactId>
</dependency>
<dependency>
<groupId>com.jysoft.cloud</groupId>
<artifactId>jysoft-spring-boot-starter-tenant</artifactId>
</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>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>${spring.boot.version}</version> &lt;!&ndash; 如果 spring.boot.version 版本修改,则这里也要跟着修改 &ndash;&gt;-->
<version>2.4.2</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
<configuration>
<!-- 打包时是否包含scope为system的依赖 -->
<includeSystemScope>true</includeSystemScope>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>