2024-10-13 16:54:05 +08: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 https://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.5.6</version>
|
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
</parent>
|
|
|
|
|
<groupId>com.rabbiter</groupId>
|
|
|
|
|
<artifactId>ElectronicMallApi</artifactId>
|
2025-07-13 19:49:31 +08:00
|
|
|
|
<version>1.0</version>
|
2024-10-13 16:54:05 +08:00
|
|
|
|
<name>ElectronicMallApi</name>
|
|
|
|
|
<description>ElectronicMallApi</description>
|
2025-07-13 19:49:31 +08:00
|
|
|
|
<packaging>jar</packaging>
|
2024-10-13 16:54:05 +08:00
|
|
|
|
<properties>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
</properties>
|
2025-07-13 19:49:31 +08:00
|
|
|
|
|
|
|
|
|
|
2025-07-13 20:33:07 +08:00
|
|
|
|
<profiles>
|
|
|
|
|
<!--开发环境-->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>dev</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<profile>dev</profile>
|
|
|
|
|
</properties>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
</profile>
|
|
|
|
|
<!--测试环境-->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>test</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<profile>test</profile>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<!--生产环境-->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>prod</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<profile>prod</profile>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
|
|
|
|
|
2025-07-13 19:49:31 +08:00
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
<mainClass>com.rabbiter.em.ElectronicMallApplication</mainClass> <!-- 指定主类 -->
|
|
|
|
|
<arguments>
|
|
|
|
|
<argument>-XDignore.symbol.file</argument>
|
|
|
|
|
</arguments>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
2025-07-13 20:33:07 +08:00
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<!--指定打包的配置文件,且用filtering设置开启过滤-->
|
|
|
|
|
<include>application*.yml</include><!--这里使用占位符进行动态引用以确定具体的打包文件-->
|
|
|
|
|
<include>application.yml</include><!--主配置文件必须打包-->
|
2025-07-14 18:17:56 +08:00
|
|
|
|
<include>**/*.xml</include> <!-- 包含所有 XML -->
|
2025-07-13 20:33:07 +08:00
|
|
|
|
</includes>
|
|
|
|
|
<filtering>true</filtering><!--开启过滤,在打包时application.yml中配置的@env@将被确定到底是什么变量-->
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
2025-07-13 19:49:31 +08:00
|
|
|
|
</build>
|
|
|
|
|
|
2024-10-13 16:54:05 +08:00
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
|
<version>2.2.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 数据连接池 druid-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>druid</artifactId>
|
|
|
|
|
<version>1.2.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
|
<version>1.21</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- mybatis-plus-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
<version>3.5.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--swagger-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
|
|
<version>2.9.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
|
|
<version>2.9.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- jwt-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.auth0</groupId>
|
|
|
|
|
<artifactId>java-jwt</artifactId>
|
|
|
|
|
<version>3.10.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- hutool-->
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
<version>5.7.21</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- fastJson-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>1.2.73</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--redis-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
|
|
<version>2.9.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.sun.xml.fastinfoset</groupId>
|
|
|
|
|
<artifactId>FastInfoset</artifactId>
|
|
|
|
|
<version>1.2.18</version>
|
|
|
|
|
</dependency>
|
2024-10-14 14:45:01 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2025-07-13 19:49:31 +08:00
|
|
|
|
|
2024-10-13 16:54:05 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>public</id>
|
|
|
|
|
<name>aliyun nexus</name>
|
|
|
|
|
<url>https://maven.aliyun.com/repository/public/</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
|
<pluginRepository>
|
|
|
|
|
<id>public</id>
|
|
|
|
|
<name>aliyun nexus</name>
|
|
|
|
|
<url>https://maven.aliyun.com/repository/public/</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</pluginRepository>
|
|
|
|
|
</pluginRepositories>
|
2025-07-13 19:49:31 +08:00
|
|
|
|
|
2024-10-13 16:54:05 +08:00
|
|
|
|
</project>
|