加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 15.59 KB
一键复制 编辑 原始数据 按行查看 历史
quspacedragon 提交于 2024-10-11 16:14 . bug修复
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.2</version>
</parent>
<groupId>cn.stylefeng</groupId>
<artifactId>guns</artifactId>
<version>7.3.3</version>
<name>guns</name>
<description>Guns主项目</description>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<mysql-connector-java.version>8.0.21</mysql-connector-java.version>
<roses.kernel.version>7.3.3</roses.kernel.version>
<docker.img.version>latest</docker.img.version>
<revision>3.3.3</revision>
<mapstruct.version>1.5.2.Final</mapstruct.version>
<lombok.version>1.18.24</lombok.version>
</properties>
<!-- <dependencyManagement>-->
<!-- <dependencies>-->
<!-- <dependency>-->
<!-- <groupId>com.azure</groupId>-->
<!-- <artifactId>azure-sdk-bom</artifactId>-->
<!-- <version>1.2.23</version>-->
<!-- <type>pom</type>-->
<!-- <scope>import</scope>-->
<!-- </dependency>-->
<!-- </dependencies>-->
<!-- </dependencyManagement>-->
<dependencies>
<!-- <dependency>-->
<!-- <groupId>cn.stylefeng.roses</groupId>-->
<!-- <artifactId>kernel-s-devops-integration</artifactId>-->
<!-- <version>${roses.kernel.version}</version>-->
<!-- </dependency>-->
<!--认证和鉴权模块-->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
<version>3.5.2</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.azure</groupId>-->
<!-- <artifactId>azure-storage-blob</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.azure</groupId>-->
<!-- <artifactId>azure-security-keyvault-secrets</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.azure</groupId>-->
<!-- <artifactId>azure-identity</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.microsoft.graph</groupId>-->
<!-- <artifactId>microsoft-graph</artifactId>-->
<!-- <version>[6.0,)</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.microsoft.graph</groupId>-->
<!-- <artifactId>microsoft-graph-beta</artifactId>-->
<!-- <version>[6.0,)</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.bouncycastle</groupId>-->
<!-- <artifactId>bcprov-jdk15on</artifactId>-->
<!-- <version>1.68</version>-->
<!-- </dependency>-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>auth-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<dependency>
<groupId>p6spy</groupId>
<artifactId>p6spy</artifactId>
<version>3.8.2</version>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>jtds</artifactId>
<version>1.3.1</version>
<scope>system</scope>
<systemPath>${basedir}/src/main/lib/jtds-1.3.1.jar</systemPath>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<!-- 引入swagger2依赖-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.9.2</version>
</dependency>
<!--安全模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>security-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--系统配置-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>config-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--数据源连接和dao框架-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>db-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--文件管理-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>file-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--资源扫描-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>scanner-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--guava-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>28.0-jre</version>
</dependency>
<!--pinyin工具类-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>pinyin-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--字典业务-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>dict-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--参数校验模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>validator-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--系统管理基础业务-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>system-integration-rest</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--c端用户-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>customer-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--办公处理-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>office-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--日志模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>log-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--定时任务-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>timer-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--短信模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>sms-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--消息通知-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>message-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--数据备份和迁移模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>migration-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--Socket模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>socket-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--wrapper工具-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>wrapper-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--多语言模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>i18n-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--多数据源配置-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>ds-container-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--硬件信息获取-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>monitor-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--演示环境api-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>demo-api</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--默认增加内存缓存-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>memory-cache-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
<!--演示环境的业务,可选依赖-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>demo-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel-core</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel-support</artifactId>
<version>${revision}</version>
</dependency>
<!--数据库驱动,可根据自己需要自行删减-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector-java.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</dependency>
</dependencies>
<build>
<finalName>guns</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<configuration>
<includeSystemScope>true</includeSystemScope>
<!-- 如果没有该项配置,则devtools不会起作用,即应用不会restart -->
<fork>true</fork>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>0.2.0</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/webapp</directory>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
<profiles>
<profile>
<id>local</id>
<properties>
<spring.active>local</spring.active>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>dev</id>
<properties>
<spring.active>dev</spring.active>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<spring.active>prod</spring.active>
</properties>
</profile>
<profile>
<id>chulitang</id>
<properties>
<spring.active>chulitang</spring.active>
</properties>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化