<?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.iailab</groupId>
|
<artifactId>shasteel</artifactId>
|
<version>${revision}</version>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
<artifactId>shasteel-api</artifactId>
|
<packaging>jar</packaging>
|
|
<name>${project.artifactId}</name>
|
<description>
|
fast API,暴露给其它模块调用
|
</description>
|
|
<dependencies>
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common</artifactId>
|
</dependency>
|
|
<!-- Web 相关 -->
|
<dependency>
|
<groupId>org.springdoc</groupId>
|
<artifactId>springdoc-openapi-ui</artifactId>
|
<scope>provided</scope> <!-- 设置为 provided,主要是 PageParam 使用到 -->
|
</dependency>
|
|
<!-- 参数校验 -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-validation</artifactId>
|
<optional>true</optional>
|
</dependency>
|
|
<!-- RPC 远程调用相关 -->
|
<dependency>
|
<groupId>org.springframework.cloud</groupId>
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
<optional>true</optional>
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
<version>3.3.0</version>
|
<executions>
|
<execution>
|
<phase>package</phase>
|
<goals>
|
<goal>single</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|