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>
|
2024-08-03 11:18:04 +00:00
|
|
|
<version>3.3.2</version>
|
2020-12-27 08:15:37 +00:00
|
|
|
</parent>
|
|
|
|
|
2024-06-30 15:01:48 +00:00
|
|
|
<groupId>com.javaguns.guns</groupId>
|
2021-02-21 06:09:33 +00:00
|
|
|
<artifactId>guns</artifactId>
|
2024-08-03 11:18:04 +00:00
|
|
|
<version>8.3.0</version>
|
2020-12-27 08:15:37 +00:00
|
|
|
|
2021-02-21 06:09:33 +00:00
|
|
|
<name>guns</name>
|
2022-10-18 12:36:50 +00:00
|
|
|
<description>Guns主项目</description>
|
2020-12-27 08:15:37 +00:00
|
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2024-08-03 11:18:04 +00:00
|
|
|
<java.version>17</java.version>
|
2024-06-04 10:36:50 +00:00
|
|
|
<mysql-connector-java.version>8.0.33</mysql-connector-java.version>
|
2024-08-03 11:18:04 +00:00
|
|
|
<roses.kernel.version>8.3.0</roses.kernel.version>
|
2023-04-10 11:43:23 +00:00
|
|
|
<flyway.version>7.1.1</flyway.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>
|
2024-06-30 15:01:48 +00:00
|
|
|
<groupId>com.javaguns.roses</groupId>
|
2023-07-12 02:31:59 +00:00
|
|
|
<artifactId>system-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>
|
|
|
|
|
2023-05-09 11:13:16 +00:00
|
|
|
<!--缓存,默认增加内存缓存-->
|
2021-07-13 14:38:17 +00:00
|
|
|
<dependency>
|
2024-06-30 15:01:48 +00:00
|
|
|
<groupId>com.javaguns.roses</groupId>
|
2023-05-09 11:13:16 +00:00
|
|
|
<artifactId>cache-spring-boot-starter-memory</artifactId>
|
2021-07-13 14:38:17 +00:00
|
|
|
<version>${roses.kernel.version}</version>
|
|
|
|
</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>
|
|
|
|
|
2023-09-25 02:27:08 +00:00
|
|
|
<!--测试-->
|
2020-12-27 08:15:37 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2023-05-09 11:13:16 +00:00
|
|
|
<!--Properties自动扫描-->
|
2020-12-27 08:15:37 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
</dependency>
|
2021-06-10 01:18:50 +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>
|
2023-05-09 11:13:16 +00:00
|
|
|
<excludes>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
|
|
|
</excludes>
|
2020-12-27 08:15:37 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2024-08-03 11:18:04 +00:00
|
|
|
<version>3.13.0</version>
|
2020-12-27 08:15:37 +00:00
|
|
|
<configuration>
|
2024-08-03 11:18:04 +00:00
|
|
|
<release>17</release>
|
|
|
|
<source>17</source>
|
|
|
|
<target>17</target>
|
2020-12-27 08:15:37 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2024-08-03 11:18:04 +00:00
|
|
|
<version>3.3.1</version>
|
|
|
|
<configuration>
|
|
|
|
<attach>true</attach>
|
|
|
|
</configuration>
|
2020-12-27 08:15:37 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2024-08-03 11:18:04 +00:00
|
|
|
<id>attach-sources</id>
|
2020-12-27 08:15:37 +00:00
|
|
|
<goals>
|
2024-08-03 11:18:04 +00:00
|
|
|
<goal>jar</goal>
|
2020-12-27 08:15:37 +00:00
|
|
|
</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>
|
|
|
|
|
2021-01-10 05:54:19 +00:00
|
|
|
</project>
|