1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?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>
- <artifactId>zjugis-module-business</artifactId>
- <groupId>com.zjugis.cloud</groupId>
- <version>${revision}</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>zjugis-module-business-api</artifactId>
- <packaging>jar</packaging> <!-- 2. 新增 packaging 为 jar -->
- <name>${project.artifactId}</name> <!-- 3. 新增 name 为 ${project.artifactId} -->
- <description> <!-- 4. 新增 description 为该模块的描述 -->
- business 模块 API,暴露给其它模块调用
- </description>
- <dependencies> <!-- 5. 新增 zjugis-common 依赖 -->
- <dependency>
- <groupId>com.zjugis.cloud</groupId>
- <artifactId>zjugis-common</artifactId>
- </dependency>
- <!-- Web 相关 -->
- <dependency>
- <groupId>io.swagger.core.v3</groupId> <!-- 接口文档:使用最新版本的 Swagger 模型 -->
- <artifactId>swagger-annotations</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>
- </project>
|