136 lines
3.8 KiB
XML
136 lines
3.8 KiB
XML
<?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>
|
|
<groupId>com.suisung.mall</groupId>
|
|
<artifactId>mall-search</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
<name>mall-search</name>
|
|
<description>mall-search project for mall</description>
|
|
<parent>
|
|
<groupId>com.suisung.mall</groupId>
|
|
<artifactId>mall-suite</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.suisung.mall</groupId>
|
|
<artifactId>mall-common</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>easyexcel</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.redisson</groupId>
|
|
<artifactId>redisson</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-all</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<profiles>
|
|
<!--本地环境 -->
|
|
<profile>
|
|
<id>local</id>
|
|
<properties>
|
|
<profiles.active>local</profiles.active>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
<!--开发环境 -->
|
|
<profile>
|
|
<id>dev</id>
|
|
<properties>
|
|
<profiles.active>dev</profiles.active>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
<!--测试环境 -->
|
|
<profile>
|
|
<id>test</id>
|
|
<properties>
|
|
<profiles.active>test</profiles.active>
|
|
</properties>
|
|
</profile>
|
|
<!--uat环境 -->
|
|
<profile>
|
|
<id>uat</id>
|
|
<properties>
|
|
<profiles.active>uat</profiles.active>
|
|
</properties>
|
|
</profile>
|
|
<!--生产环境 -->
|
|
<profile>
|
|
<id>prod</id>
|
|
<properties>
|
|
<profiles.active>prod</profiles.active>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>application.yml</include>
|
|
<include>bootstrap.yml</include>
|
|
<include>bootstrap-${profiles.active}.yml</include>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.spotify</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|