pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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-admin-server</artifactId>
  12. <packaging>jar</packaging>
  13. <name>yudao-admin-server</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-infra-impl</artifactId>
  35. <version>${revision}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>cn.iocoder.boot</groupId>
  39. <artifactId>yudao-module-pay-impl</artifactId>
  40. <version>${revision}</version>
  41. </dependency>
  42. <!-- 默认引入 bpm-activiti 实现,可以替换为 bpm-flowable 实现-->
  43. <dependency>
  44. <groupId>cn.iocoder.boot</groupId>
  45. <artifactId>yudao-module-bpm-impl-activiti</artifactId>
  46. <version>${revision}</version>
  47. </dependency>
  48. <!-- spring boot 配置所需依赖 -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-configuration-processor</artifactId>
  52. <optional>true</optional>
  53. </dependency>
  54. <!-- 服务保障相关 -->
  55. <dependency>
  56. <groupId>cn.iocoder.boot</groupId>
  57. <artifactId>yudao-spring-boot-starter-protection</artifactId>
  58. </dependency>
  59. <!-- 监控相关 -->
  60. <dependency>
  61. <groupId>cn.iocoder.boot</groupId>
  62. <artifactId>yudao-spring-boot-starter-monitor</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>de.codecentric</groupId>
  66. <artifactId>spring-boot-admin-starter-server</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <!-- 设置构建的 jar 包名 -->
  71. <finalName>${artifactId}</finalName>
  72. <plugins>
  73. <!-- 打包 -->
  74. <plugin>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-maven-plugin</artifactId>
  77. <configuration>
  78. <fork>true</fork>
  79. </configuration>
  80. <executions>
  81. <execution>
  82. <goals>
  83. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  84. </goals>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>