62 lines
2.3 KiB
XML
62 lines
2.3 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>
|
|
<groupId>com.css.ggzc</groupId>
|
|
<artifactId>ggzc-framework-dependencies</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>txw-gateway</artifactId>
|
|
<groupId>com.css.txw</groupId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<name>${project.artifactId}</name>
|
|
<description>txw-gateway</description>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.css.ggzc</groupId>
|
|
<artifactId>ggzc-framework-starter</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.css.ggzc</groupId>
|
|
<artifactId>ggzc-framework-starter-gateway</artifactId>
|
|
</dependency>
|
|
<!-- RPC 远程调用相关 -->
|
|
<dependency>
|
|
<groupId>com.css.ggzc</groupId>
|
|
<artifactId>ggzc-framework-starter-rpc</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- 设置构建的 jar 包名 -->
|
|
<finalName>springboot</finalName>
|
|
<plugins>
|
|
<!-- 打包 -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring.boot.version}</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
|
</goals>
|
|
<configuration>
|
|
<mainClass>com.css.txw.gateway.app.DevAppStarter</mainClass>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|