pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. <groupId>cn.iocoder.boot</groupId>
  7. <artifactId>yudao</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>yudao-server</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${artifactId}</name>
  14. <description>
  15. 后端 Server 的主项目,通过引入需要 yudao-module-xxx 的依赖,
  16. 从而实现提供 RESTful API 给 yudao-ui-admin、yudao-ui-user 等前端项目。
  17. 本质上来说,它就是个空壳(容器)!
  18. </description>
  19. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  20. <dependencies>
  21. <!-- TODO 芋艿:多模块 -->
  22. <dependency>
  23. <groupId>cn.iocoder.boot</groupId>
  24. <artifactId>yudao-module-member-impl</artifactId>
  25. <version>${revision}</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>cn.iocoder.boot</groupId>
  29. <artifactId>yudao-module-system-impl</artifactId>
  30. <version>${revision}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>cn.iocoder.boot</groupId>
  34. <artifactId>yudao-module-tool-impl</artifactId>
  35. <version>${revision}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>cn.iocoder.boot</groupId>
  39. <artifactId>yudao-module-infra-impl</artifactId>
  40. <version>${revision}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>cn.iocoder.boot</groupId>
  44. <artifactId>yudao-module-pay-impl</artifactId>
  45. <version>${revision}</version>
  46. </dependency>
  47. <!-- 默认引入 bpm-activiti 实现,可以替换为 bpm-flowable 实现-->
  48. <dependency>
  49. <groupId>cn.iocoder.boot</groupId>
  50. <artifactId>yudao-module-bpm-impl-activiti</artifactId>
  51. <version>${revision}</version>
  52. </dependency>
  53. <!-- spring boot 配置所需依赖 -->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-configuration-processor</artifactId>
  57. <optional>true</optional>
  58. </dependency>
  59. <!-- 服务保障相关 -->
  60. <dependency>
  61. <groupId>cn.iocoder.boot</groupId>
  62. <artifactId>yudao-spring-boot-starter-protection</artifactId>
  63. </dependency>
  64. <!-- 监控相关 -->
  65. <dependency>
  66. <groupId>cn.iocoder.boot</groupId>
  67. <artifactId>yudao-spring-boot-starter-monitor</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>de.codecentric</groupId>
  71. <artifactId>spring-boot-admin-starter-server</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
  72. </dependency>
  73. </dependencies>
  74. <build>
  75. <!-- 设置构建的 jar 包名 -->
  76. <finalName>${artifactId}</finalName>
  77. <plugins>
  78. <!-- 打包 -->
  79. <plugin>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-maven-plugin</artifactId>
  82. <configuration>
  83. <fork>true</fork>
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <goals>
  88. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>