pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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-system-biz</artifactId>
  24. <version>${revision}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>cn.iocoder.boot</groupId>
  28. <artifactId>yudao-module-pms-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. <!-- 会员中心。默认注释,保证编译速度 -->
  37. <!-- <dependency>-->
  38. <!-- <groupId>cn.iocoder.boot</groupId>-->
  39. <!-- <artifactId>yudao-module-member-biz</artifactId>-->
  40. <!-- <version>${revision}</version>-->
  41. <!-- </dependency>-->
  42. <!-- 数据报表。默认注释,保证编译速度 -->
  43. <dependency>
  44. <groupId>cn.iocoder.boot</groupId>
  45. <artifactId>yudao-module-report-biz</artifactId>
  46. <version>${revision}</version>
  47. </dependency>
  48. <!-- 工作流。默认注释,保证编译速度 -->
  49. <dependency>
  50. <groupId>cn.iocoder.boot</groupId>
  51. <artifactId>yudao-module-bpm-biz</artifactId>
  52. <version>${revision}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>cn.iocoder.boot</groupId>
  56. <artifactId>yudao-module-supplier-biz</artifactId>
  57. <version>${revision}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>cn.iocoder.boot</groupId>
  61. <artifactId>yudao-module-supplier-biz</artifactId>
  62. <version>${revision}</version>
  63. </dependency>
  64. <!-- 支付服务。默认注释,保证编译速度 -->
  65. <!-- <dependency>-->
  66. <!-- <groupId>cn.iocoder.boot</groupId>-->
  67. <!-- <artifactId>yudao-module-pay-biz</artifactId>-->
  68. <!-- <version>${revision}</version>-->
  69. <!-- </dependency>-->
  70. <!-- 微信公众号模块。默认注释,保证编译速度 -->
  71. <!-- <dependency>-->
  72. <!-- <groupId>cn.iocoder.boot</groupId>-->
  73. <!-- <artifactId>yudao-module-mp-biz</artifactId>-->
  74. <!-- <version>${revision}</version>-->
  75. <!-- </dependency>-->
  76. <!-- 商城相关模块。默认注释,保证编译速度-->
  77. <!-- <dependency>-->
  78. <!-- <groupId>cn.iocoder.boot</groupId>-->
  79. <!-- <artifactId>yudao-module-promotion-biz</artifactId>-->
  80. <!-- <version>${revision}</version>-->
  81. <!-- </dependency>-->
  82. <!-- <dependency>-->
  83. <!-- <groupId>cn.iocoder.boot</groupId>-->
  84. <!-- <artifactId>yudao-module-product-biz</artifactId>-->
  85. <!-- <version>${revision}</version>-->
  86. <!-- </dependency>-->
  87. <!-- <dependency>-->
  88. <!-- <groupId>cn.iocoder.boot</groupId>-->
  89. <!-- <artifactId>yudao-module-trade-biz</artifactId>-->
  90. <!-- <version>${revision}</version>-->
  91. <!-- </dependency>-->
  92. <!-- <dependency>-->
  93. <!-- <groupId>cn.iocoder.boot</groupId>-->
  94. <!-- <artifactId>yudao-module-statistics-biz</artifactId>-->
  95. <!-- <version>${revision}</version>-->
  96. <!-- </dependency>-->
  97. <!-- CRM 相关模块。默认注释,保证编译速度 -->
  98. <!-- <dependency>-->
  99. <!-- <groupId>cn.iocoder.boot</groupId>-->
  100. <!-- <artifactId>yudao-module-crm-biz</artifactId>-->
  101. <!-- <version>${revision}</version>-->
  102. <!-- </dependency>-->
  103. <!-- ERP 相关模块。默认注释,保证编译速度 -->
  104. <!-- <dependency>-->
  105. <!-- <groupId>cn.iocoder.boot</groupId>-->
  106. <!-- <artifactId>yudao-module-erp-biz</artifactId>-->
  107. <!-- <version>${revision}</version>-->
  108. <!-- </dependency>-->
  109. <!-- AI 大模型相关模块。默认注释,保证编译速度 -->
  110. <!-- <dependency>-->
  111. <!-- <groupId>cn.iocoder.boot</groupId>-->
  112. <!-- <artifactId>yudao-module-ai-biz</artifactId>-->
  113. <!-- <version>${revision}</version>-->
  114. <!-- </dependency>-->
  115. <!-- IoT 物联网相关模块。默认注释,保证编译速度 -->
  116. <!-- <dependency>-->
  117. <!-- <groupId>cn.iocoder.boot</groupId>-->
  118. <!-- <artifactId>yudao-module-iot-biz</artifactId>-->
  119. <!-- <version>${revision}</version>-->
  120. <!-- </dependency>-->
  121. <!-- spring boot 配置所需依赖 -->
  122. <dependency>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-configuration-processor</artifactId>
  125. <optional>true</optional>
  126. </dependency>
  127. <!-- 服务保障相关 -->
  128. <dependency>
  129. <groupId>cn.iocoder.boot</groupId>
  130. <artifactId>yudao-spring-boot-starter-protection</artifactId>
  131. </dependency>
  132. </dependencies>
  133. <build>
  134. <!-- 设置构建的 jar 包名 -->
  135. <finalName>${project.artifactId}</finalName>
  136. <!--
  137. <resources>
  138. <resource>
  139. <directory>src/main/resources/lib</directory>
  140. <targetPath>BOOT-INF/lib</targetPath>
  141. <filtering>false</filtering>
  142. <includes>
  143. <include>sapjco3.jar</include>
  144. </includes>
  145. </resource>
  146. </resources> -->
  147. <plugins>
  148. <!-- 依赖复制插件
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-dependency-plugin</artifactId>
  152. <version>3.3.0</version>
  153. <executions>
  154. <execution>
  155. <id>copy-sapjco</id>
  156. <phase>prepare-package</phase>
  157. <goals>
  158. <goal>copy</goal>
  159. </goals>
  160. <configuration>
  161. <artifactItems>
  162. <artifactItem>
  163. <groupId>com.sap</groupId>
  164. <artifactId>sapjco3</artifactId>
  165. <version>3.0.12</version>
  166. <outputDirectory>${project.build.directory}/BOOT-INF/lib</outputDirectory>
  167. <destFileName>sapjco3.jar</destFileName>
  168. </artifactItem>
  169. </artifactItems>
  170. </configuration>
  171. </execution>
  172. </executions>
  173. </plugin> -->
  174. <!-- 打包 -->
  175. <plugin>
  176. <groupId>org.springframework.boot</groupId>
  177. <artifactId>spring-boot-maven-plugin</artifactId>
  178. <version>${spring.boot.version}</version>
  179. <configuration>
  180. <!--
  181. <excludes>
  182. <exclude>
  183. <groupId>com.sap</groupId>
  184. <artifactId>sapjco3</artifactId>
  185. </exclude>
  186. </excludes> -->
  187. <includeSystemScope>true</includeSystemScope>
  188. </configuration>
  189. <executions>
  190. <execution>
  191. <goals>
  192. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  193. </goals>
  194. </execution>
  195. </executions>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </project>