guns/pom.xml

311 lines
10 KiB
XML
Raw Normal View History

2020-12-27 08:15:37 +00: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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
2021-05-17 12:39:37 +00:00
<version>2.4.2</version>
2020-12-27 08:15:37 +00:00
</parent>
<groupId>cn.stylefeng</groupId>
2021-02-21 06:09:33 +00:00
<artifactId>guns</artifactId>
2022-05-31 03:00:24 +00:00
<version>7.2.3</version>
2020-12-27 08:15:37 +00:00
2021-02-21 06:09:33 +00:00
<name>guns</name>
2020-12-27 08:15:37 +00:00
<description>单体前后端不分离基于beetl模板引擎</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>
2022-05-31 03:00:24 +00:00
<roses.kernel.version>7.2.3</roses.kernel.version>
2021-02-19 12:34:26 +00:00
<docker.img.version>latest</docker.img.version>
2020-12-27 08:15:37 +00:00
</properties>
<dependencies>
2021-02-19 10:50:02 +00:00
<!--认证和鉴权模块-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>auth-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-02-19 12:34:26 +00:00
<!--安全模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>security-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
2021-02-19 10:50:02 +00:00
<!--系统配置-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>config-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-02-19 10:50:02 +00:00
<!--数据源连接和dao框架-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>db-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-02-19 10:50:02 +00:00
<!--文件管理-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>file-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-02-19 10:50:02 +00:00
<!--资源扫描-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>scanner-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-02-19 10:50:02 +00:00
<!--pinyin工具类-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>pinyin-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-02-19 10:50:02 +00:00
<!--字典业务-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>dict-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-03-20 03:11:40 +00:00
<!--参数校验模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>validator-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
2021-02-19 10:50:02 +00:00
<!--系统管理基础业务-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>system-integration-beetl</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-06-10 01:18:50 +00:00
<!--c端用户-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>customer-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
2021-02-19 10:50:02 +00:00
<!--办公处理-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>office-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-01-15 10:57:08 +00:00
2021-02-19 10:50:02 +00:00
<!--日志模块-->
2020-12-27 08:15:37 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>log-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2020-12-27 08:15:37 +00:00
</dependency>
2021-02-19 10:50:02 +00:00
<!--定时任务-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>timer-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
</dependency>
2021-02-19 10:50:02 +00:00
<!--短信模块-->
2021-01-15 10:57:08 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>sms-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2021-01-15 10:57:08 +00:00
</dependency>
2021-02-19 10:50:02 +00:00
<!--消息通知-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>message-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
</dependency>
2021-07-13 11:12:56 +00:00
<!--数据备份和迁移模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>migration-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
2021-06-03 08:02:15 +00:00
<!--Socket模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>socket-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
2021-02-19 10:50:02 +00:00
<!--wrapper工具-->
2021-01-19 14:58:17 +00:00
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>wrapper-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2021-01-19 14:58:17 +00:00
</dependency>
2021-01-24 14:25:12 +00:00
<!--多语言模块-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>i18n-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
2021-01-24 14:25:12 +00:00
</dependency>
<!--多数据源配置-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
<artifactId>ds-container-spring-boot-starter</artifactId>
2021-02-05 08:32:52 +00:00
<version>${roses.kernel.version}</version>
</dependency>
2021-02-19 10:50:02 +00:00
<!--硬件信息获取-->
<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>demo-spring-boot-starter</artifactId>
<version>${roses.kernel.version}</version>
<scope>provided</scope>
</dependency>
2020-12-27 08:15:37 +00:00
<!--数据库驱动,可根据自己需要自行删减-->
<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>
2021-06-10 01:18:50 +00:00
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
2021-01-16 13:49:14 +00:00
2020-12-27 08:15:37 +00:00
</dependencies>
<build>
2021-01-16 13:49:14 +00:00
<finalName>guns</finalName>
2020-12-27 08:15:37 +00:00
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- 如果没有该项配置则devtools不会起作用即应用不会restart -->
<fork>true</fork>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</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>
2021-01-16 13:14:46 +00:00
<profile>
<id>prod</id>
<properties>
<spring.active>prod</spring.active>
</properties>
</profile>
2020-12-27 08:15:37 +00:00
</profiles>
</project>