49 lines
1.6 KiB
XML
49 lines
1.6 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>
|
|
<parent>
|
|
<artifactId>zt-module-template</artifactId>
|
|
<groupId>com.zt.plat</groupId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<artifactId>zt-module-template-server-app</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>${project.artifactId}</name>
|
|
<description>
|
|
template 模块启动器。
|
|
</description>
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-module-template-server</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
<build>
|
|
<!-- 设置构建的 jar 包名 -->
|
|
<finalName>${project.artifactId}</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>
|