143 lines
5.0 KiB
XML
143 lines
5.0 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">
|
|
|
|
<parent>
|
|
<groupId>com.platform</groupId>
|
|
<artifactId>marketing-admin-all</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>marketing-admin-server</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>${project.artifactId}</name>
|
|
|
|
<description>
|
|
后端 Server 的主项目,通过引入需要 marketing-module-xxx 的依赖,
|
|
从而实现提供 RESTful API 给 marketing-ui-admin、marketing-ui-user 等前端项目。
|
|
本质上来说,它就是个空壳(容器)!
|
|
</description>
|
|
|
|
<url>https://github.com/makemyownlife/marketing-admin</url>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>com.platform</groupId>
|
|
<artifactId>marketing-module-system</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.platform</groupId>
|
|
<artifactId>marketing-module-infra</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<!-- spring boot 配置所需依赖 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- 服务保障相关 -->
|
|
<dependency>
|
|
<groupId>com.platform</groupId>
|
|
<artifactId>marketing-spring-boot-starter-protection</artifactId>
|
|
</dependency>
|
|
|
|
<!-- ========================== 短信业务 start ========================== -->
|
|
|
|
<dependency>
|
|
<groupId>com.platform</groupId>
|
|
<artifactId>marketing-module-channel</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.platform</groupId>
|
|
<artifactId>marketing-module-tenant</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.platform</groupId>
|
|
<artifactId>marketing-module-record</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.platform</groupId>
|
|
<artifactId>marketing-module-gateway</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.platform</groupId>
|
|
<artifactId>marketing-module-worker</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<!-- ========================== 短信业务 end ========================== -->
|
|
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>docker</id>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<directory>src/main/resources</directory>
|
|
<excludes>
|
|
<exclude>application-**</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<configuration>
|
|
<nonFilteredFileExtensions>
|
|
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>png</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>jpg</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>jpeg</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>ico</nonFilteredFileExtension>
|
|
</nonFilteredFileExtensions>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<!-- 设置构建的 jar 包名 -->
|
|
<finalName>marketing-admin-server</finalName>
|
|
<plugins>
|
|
<!-- 打包 -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|