pom.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>zjugis-module-business</artifactId>
  7. <groupId>com.zjugis.cloud</groupId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>zjugis-module-business-api</artifactId>
  12. <packaging>jar</packaging> <!-- 2. 新增 packaging 为 jar -->
  13. <name>${project.artifactId}</name> <!-- 3. 新增 name 为 ${project.artifactId} -->
  14. <description> <!-- 4. 新增 description 为该模块的描述 -->
  15. business 模块 API,暴露给其它模块调用
  16. </description>
  17. <dependencies> <!-- 5. 新增 zjugis-common 依赖 -->
  18. <dependency>
  19. <groupId>com.zjugis.cloud</groupId>
  20. <artifactId>zjugis-common</artifactId>
  21. </dependency>
  22. <!-- Web 相关 -->
  23. <dependency>
  24. <groupId>io.swagger.core.v3</groupId> <!-- 接口文档:使用最新版本的 Swagger 模型 -->
  25. <artifactId>swagger-annotations</artifactId>
  26. <scope>provided</scope> <!-- 设置为 provided,主要是 PageParam 使用到 -->
  27. </dependency>
  28. <!-- 参数校验 -->
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-validation</artifactId>
  32. <optional>true</optional>
  33. </dependency>
  34. <!-- RPC 远程调用相关 -->
  35. <dependency>
  36. <groupId>org.springframework.cloud</groupId>
  37. <artifactId>spring-cloud-starter-openfeign</artifactId>
  38. <optional>true</optional>
  39. </dependency>
  40. </dependencies>
  41. </project>