pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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>${project.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. <dependency>
  22. <groupId>cn.iocoder.boot</groupId>
  23. <artifactId>yudao-module-member-biz</artifactId>
  24. <version>${revision}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>cn.iocoder.boot</groupId>
  28. <artifactId>yudao-module-system-biz</artifactId>
  29. <version>${revision}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>cn.iocoder.boot</groupId>
  33. <artifactId>yudao-module-infra-biz</artifactId>
  34. <version>${revision}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>cn.iocoder.boot</groupId>
  38. <artifactId>yudao-module-pay-biz</artifactId>
  39. <version>${revision}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>cn.iocoder.boot</groupId>
  43. <artifactId>yudao-module-market-biz</artifactId>
  44. <version>${revision}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>cn.iocoder.boot</groupId>
  48. <artifactId>yudao-module-product-biz</artifactId>
  49. <version>${revision}</version>
  50. </dependency>
  51. <!-- 默认引入 yudao-module-bpm-biz-flowable 实现,可以替换为 yudao-module-bpm-biz-activiti 实现-->
  52. <dependency>
  53. <groupId>cn.iocoder.boot</groupId>
  54. <artifactId>yudao-module-bpm-biz</artifactId>
  55. <version>${revision}</version>
  56. </dependency>
  57. <!-- <dependency>-->
  58. <!-- <groupId>cn.iocoder.boot</groupId>-->
  59. <!-- <artifactId>yudao-module-bpm-biz-activiti</artifactId>-->
  60. <!-- <version>${revision}</version>-->
  61. <!-- </dependency>-->
  62. <dependency>
  63. <groupId>cn.iocoder.boot</groupId>
  64. <artifactId>yudao-spring-boot-starter-biz-error-code</artifactId>
  65. </dependency>
  66. <!-- spring boot 配置所需依赖 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-configuration-processor</artifactId>
  70. <optional>true</optional>
  71. </dependency>
  72. <dependency>
  73. <groupId>cn.iocoder.boot</groupId>
  74. <artifactId>yudao-spring-boot-starter-banner</artifactId>
  75. </dependency>
  76. <!-- 服务保障相关 -->
  77. <dependency>
  78. <groupId>cn.iocoder.boot</groupId>
  79. <artifactId>yudao-spring-boot-starter-protection</artifactId>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <!-- 设置构建的 jar 包名 -->
  84. <finalName>${project.artifactId}</finalName>
  85. <plugins>
  86. <!-- 打包 -->
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. <version>2.6.7</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
  91. <configuration>
  92. <fork>true</fork>
  93. </configuration>
  94. <executions>
  95. <execution>
  96. <goals>
  97. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  98. </goals>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. </plugins>
  103. </build>
  104. </project>