guns/pom.xml

166 lines
5.5 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>
2023-04-10 11:43:23 +00:00
<version>2.6.14</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>
2023-07-07 06:24:51 +00:00
<version>8.0.0</version>
2020-12-27 08:15:37 +00:00
2021-02-21 06:09:33 +00:00
<name>guns</name>
<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>
<java.version>1.8</java.version>
<mysql-connector-java.version>8.0.21</mysql-connector-java.version>
2023-07-07 06:24:51 +00:00
<roses.kernel.version>8.0.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>
<groupId>cn.stylefeng.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
<!--系统配置,采用内存缓存实现-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
2023-05-09 11:13:16 +00:00
<artifactId>config-spring-boot-starter-memory</artifactId>
<version>${roses.kernel.version}</version>
</dependency>
2023-05-09 11:13:16 +00:00
<!--缓存,默认增加内存缓存-->
<dependency>
<groupId>cn.stylefeng.roses</groupId>
2023-05-09 11:13:16 +00:00
<artifactId>cache-spring-boot-starter-memory</artifactId>
<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-05-09 11:13:16 +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>
<!-- 如果没有该项配置则devtools不会起作用即应用不会restart -->
<fork>true</fork>
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>
<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>