签入版本
This commit is contained in:
@@ -0,0 +1,250 @@
|
||||
<?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>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-modules</artifactId>
|
||||
<version>${revision}</version>
|
||||
</parent>
|
||||
|
||||
<!-- 项目名称 -->
|
||||
<artifactId>xiaomayi-web</artifactId>
|
||||
<!-- 项目打包类型:JAR包 -->
|
||||
<packaging>jar</packaging>
|
||||
<!-- 项目名称 -->
|
||||
<name>xiaomayi-web</name>
|
||||
<!-- 项目描述 -->
|
||||
<description>小蚂蚁云前台网站应用</description>
|
||||
|
||||
<!-- 依赖声明 -->
|
||||
<dependencies>
|
||||
<!-- 核心依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-core</artifactId>
|
||||
</dependency>
|
||||
<!-- 支付宝支付依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-alipay</artifactId>
|
||||
</dependency>
|
||||
<!-- 微信支付依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-wxpay</artifactId>
|
||||
</dependency>
|
||||
<!-- 短信依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-sms</artifactId>
|
||||
</dependency>
|
||||
<!-- 邮件依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-email</artifactId>
|
||||
</dependency>
|
||||
<!-- Actuator 监控管理 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-actuator</artifactId>
|
||||
</dependency>
|
||||
<!-- mybatis配置模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-mybatis</artifactId>
|
||||
<!-- <exclusions>-->
|
||||
<!-- <!– 排除多租户依赖 –>-->
|
||||
<!-- <exclusion>-->
|
||||
<!-- <groupId>com.xiaomayi</groupId>-->
|
||||
<!-- <artifactId>xiaomayi-tenant</artifactId>-->
|
||||
<!-- </exclusion>-->
|
||||
<!-- </exclusions>-->
|
||||
</dependency>
|
||||
<!-- 日志依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-logger</artifactId>
|
||||
</dependency>
|
||||
<!-- 文档依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-springdoc</artifactId>
|
||||
</dependency>
|
||||
<!-- 加减密依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-encrypt</artifactId>
|
||||
</dependency>
|
||||
<!-- 幂等性模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-idempotent</artifactId>
|
||||
</dependency>
|
||||
<!-- Ip2Region地址库 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-ip2region</artifactId>
|
||||
</dependency>
|
||||
<!-- CMS依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-cms</artifactId>
|
||||
</dependency>
|
||||
<!-- 商品管理依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-product</artifactId>
|
||||
</dependency>
|
||||
<!-- 订单管理依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-order</artifactId>
|
||||
</dependency>
|
||||
<!-- 用户管理依赖模块 -->
|
||||
<dependency>
|
||||
<groupId>com.xiaomayi</groupId>
|
||||
<artifactId>xiaomayi-member</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- 全局编译环境变量 -->
|
||||
<profiles>
|
||||
<!-- 本地开发环境 -->
|
||||
<profile>
|
||||
<id>local</id>
|
||||
<properties>
|
||||
<package.environment>local</package.environment>
|
||||
</properties>
|
||||
<activation>
|
||||
<!-- 设置默认开启本地环境 -->
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
</profile>
|
||||
<!-- 开发环境 -->
|
||||
<profile>
|
||||
<id>dev</id>
|
||||
<properties>
|
||||
<package.environment>dev</package.environment>
|
||||
</properties>
|
||||
</profile>
|
||||
<!-- 测试环境 -->
|
||||
<profile>
|
||||
<id>test</id>
|
||||
<properties>
|
||||
<package.environment>test</package.environment>
|
||||
</properties>
|
||||
</profile>
|
||||
<!-- 预发布环境 -->
|
||||
<profile>
|
||||
<id>uat</id>
|
||||
<properties>
|
||||
<package.environment>uat</package.environment>
|
||||
</properties>
|
||||
</profile>
|
||||
<!-- 生产环境 -->
|
||||
<profile>
|
||||
<id>prod</id>
|
||||
<properties>
|
||||
<package.environment>prod</package.environment>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<build>
|
||||
<finalName>xiaomayi-web</finalName>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<excludes>
|
||||
<exclude>**/*.eot</exclude>
|
||||
<exclude>**/*.ttf</exclude>
|
||||
<exclude>**/*.woff</exclude>
|
||||
<exclude>**/*.woff2</exclude>
|
||||
<exclude>**/*.svg</exclude>
|
||||
<exclude>static/assets/layui/font/**</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<!-- 专门处理字体文件(不进行过滤) -->
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
<includes>
|
||||
<include>**/*.eot</include>
|
||||
<include>**/*.ttf</include>
|
||||
<include>**/*.woff</include>
|
||||
<include>**/*.woff2</include>
|
||||
<include>**/*.svg</include>
|
||||
<include>static/assets/layui/font/**</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/java</directory>
|
||||
<includes>
|
||||
<include>**/*.*</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<targetPath>WEB-INF/classes</targetPath>
|
||||
<includes>
|
||||
<include>application-${package.environment}.yml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<finalName>${project.build.finalName}</finalName>
|
||||
<mainClass>com.xiaomayi.web.XMWebApplication</mainClass>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.3.1</version>
|
||||
<configuration>
|
||||
<nonFilteredFileExtensions>
|
||||
<nonFilteredFileExtension>eot</nonFilteredFileExtension>
|
||||
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
|
||||
<nonFilteredFileExtension>woff</nonFilteredFileExtension>
|
||||
<nonFilteredFileExtension>woff2</nonFilteredFileExtension>
|
||||
<nonFilteredFileExtension>svg</nonFilteredFileExtension>
|
||||
</nonFilteredFileExtensions>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<skipTests>true</skipTests>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user