pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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. <properties>
  21. <maven.plugin.version>3.8.1</maven.plugin.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>cn.iocoder.boot</groupId>
  26. <artifactId>yudao-module-system-biz</artifactId>
  27. <version>${revision}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>cn.iocoder.boot</groupId>
  31. <artifactId>yudao-module-infra-biz</artifactId>
  32. <version>${revision}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>cn.iocoder.boot</groupId>
  36. <artifactId>yudao-module-contract-biz</artifactId>
  37. <version>${revision}</version>
  38. </dependency>
  39. <!-- 会员中心。默认注释,保证编译速度 -->
  40. <!-- <dependency>-->
  41. <!-- <groupId>cn.iocoder.boot</groupId>-->
  42. <!-- <artifactId>yudao-module-member-biz</artifactId>-->
  43. <!-- <version>${revision}</version>-->
  44. <!-- </dependency>-->
  45. <!-- 数据报表。默认注释,保证编译速度 -->
  46. <!-- <dependency>-->
  47. <!-- <groupId>cn.iocoder.boot</groupId>-->
  48. <!-- <artifactId>yudao-module-report-biz</artifactId>-->
  49. <!-- <version>${revision}</version>-->
  50. <!-- </dependency>-->
  51. <!-- 工作流。默认注释,保证编译速度 -->
  52. <!-- <dependency>-->
  53. <!-- <groupId>cn.iocoder.boot</groupId>-->
  54. <!-- <artifactId>yudao-module-bpm-biz</artifactId>-->
  55. <!-- <version>${revision}</version>-->
  56. <!-- </dependency>-->
  57. <!-- 支付服务。默认注释,保证编译速度 -->
  58. <!-- <dependency>-->
  59. <!-- <groupId>cn.iocoder.boot</groupId>-->
  60. <!-- <artifactId>yudao-module-pay-biz</artifactId>-->
  61. <!-- <version>${revision}</version>-->
  62. <!-- </dependency>-->
  63. <!-- 微信公众号模块。默认注释,保证编译速度 -->
  64. <!-- <dependency>-->
  65. <!-- <groupId>cn.iocoder.boot</groupId>-->
  66. <!-- <artifactId>yudao-module-mp-biz</artifactId>-->
  67. <!-- <version>${revision}</version>-->
  68. <!-- </dependency>-->
  69. <!-- 商城相关模块。默认注释,保证编译速度-->
  70. <!-- <dependency>-->
  71. <!-- <groupId>cn.iocoder.boot</groupId>-->
  72. <!-- <artifactId>yudao-module-promotion-biz</artifactId>-->
  73. <!-- <version>${revision}</version>-->
  74. <!-- </dependency>-->
  75. <!-- <dependency>-->
  76. <!-- <groupId>cn.iocoder.boot</groupId>-->
  77. <!-- <artifactId>yudao-module-product-biz</artifactId>-->
  78. <!-- <version>${revision}</version>-->
  79. <!-- </dependency>-->
  80. <!-- <dependency>-->
  81. <!-- <groupId>cn.iocoder.boot</groupId>-->
  82. <!-- <artifactId>yudao-module-trade-biz</artifactId>-->
  83. <!-- <version>${revision}</version>-->
  84. <!-- </dependency>-->
  85. <!-- <dependency>-->
  86. <!-- <groupId>cn.iocoder.boot</groupId>-->
  87. <!-- <artifactId>yudao-module-statistics-biz</artifactId>-->
  88. <!-- <version>${revision}</version>-->
  89. <!-- </dependency>-->
  90. <!-- CRM 相关模块。默认注释,保证编译速度 -->
  91. <!-- <dependency>-->
  92. <!-- <groupId>cn.iocoder.boot</groupId>-->
  93. <!-- <artifactId>yudao-module-crm-biz</artifactId>-->
  94. <!-- <version>${revision}</version>-->
  95. <!-- </dependency>-->
  96. <!-- ERP 相关模块。默认注释,保证编译速度 -->
  97. <!-- <dependency>-->
  98. <!-- <groupId>cn.iocoder.boot</groupId>-->
  99. <!-- <artifactId>yudao-module-erp-biz</artifactId>-->
  100. <!-- <version>${revision}</version>-->
  101. <!-- </dependency>-->
  102. <!-- spring boot 配置所需依赖 -->
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-configuration-processor</artifactId>
  106. <optional>true</optional>
  107. </dependency>
  108. <!-- 服务保障相关 -->
  109. <dependency>
  110. <groupId>cn.iocoder.boot</groupId>
  111. <artifactId>yudao-spring-boot-starter-protection</artifactId>
  112. </dependency>
  113. </dependencies>
  114. <build>
  115. <!-- 设置构建的 jar 包名 -->
  116. <finalName>${project.artifactId}</finalName>
  117. <plugins>
  118. <!-- 打包 -->
  119. <plugin>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-maven-plugin</artifactId>
  122. <version>${spring.boot.version}</version>
  123. <executions>
  124. <execution>
  125. <goals>
  126. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  127. </goals>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. </plugins>
  132. <!-- <pluginManagement>-->
  133. <!-- <plugins>-->
  134. <!-- <plugin>-->
  135. <!-- <groupId>org.springframework.boot</groupId>-->
  136. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  137. <!-- <version>2.7.11</version>-->
  138. <!-- <configuration>-->
  139. <!-- <executable>true</executable>-->
  140. <!-- <layout>ZIP</layout>-->
  141. <!-- <finalName>${project.build.finalName}</finalName>-->
  142. <!-- <includeSystemScope>true</includeSystemScope>-->
  143. <!-- &lt;!&ndash;只包含自己&ndash;&gt;-->
  144. <!-- <includes>-->
  145. <!-- <include>-->
  146. <!-- <groupId>${groupId}</groupId>-->
  147. <!-- <artifactId>${artifactId}</artifactId>-->
  148. <!-- </include>-->
  149. <!--      &lt;!&ndash;或者&ndash;&gt;-->
  150. <!--     &lt;!&ndash;依赖jar不打进项目jar包中&ndash;&gt;-->
  151. <!-- &lt;!&ndash;<include>-->
  152. <!-- <groupId>nothing</groupId>-->
  153. <!-- <artifactId>nothing</artifactId>-->
  154. <!-- </include>&ndash;&gt;-->
  155. <!-- </includes>-->
  156. <!-- &lt;!&ndash;不包含哪些&ndash;&gt;-->
  157. <!-- &lt;!&ndash;<excludeGroupIds>&ndash;&gt;-->
  158. <!-- &lt;!&ndash;com.hundsun.jrescloud,&ndash;&gt;-->
  159. <!-- &lt;!&ndash;org.springframework.boot,&ndash;&gt;-->
  160. <!-- &lt;!&ndash;org.springframework&ndash;&gt;-->
  161. <!-- &lt;!&ndash;</excludeGroupIds>&ndash;&gt;-->
  162. <!-- </configuration>-->
  163. <!-- <executions>-->
  164. <!-- <execution>-->
  165. <!-- <goals>-->
  166. <!-- <goal>repackage</goal>-->
  167. <!-- </goals>-->
  168. <!-- </execution>-->
  169. <!-- </executions>-->
  170. <!-- </plugin>-->
  171. <!--&lt;!&ndash; <plugin>&ndash;&gt;-->
  172. <!--&lt;!&ndash; <groupId>io.fabric8</groupId>&ndash;&gt;-->
  173. <!--&lt;!&ndash; <artifactId>docker-maven-plugin</artifactId>&ndash;&gt;-->
  174. <!--&lt;!&ndash; <version>${docker.fabric.version}</version>&ndash;&gt;-->
  175. <!--&lt;!&ndash; <configuration>&ndash;&gt;-->
  176. <!--&lt;!&ndash; <authConfig>&ndash;&gt;-->
  177. <!--&lt;!&ndash; <username>${docker.username}</username>&ndash;&gt;-->
  178. <!--&lt;!&ndash; <password>${docker.password}</password>&ndash;&gt;-->
  179. <!--&lt;!&ndash; </authConfig>&ndash;&gt;-->
  180. <!--&lt;!&ndash; <registry>${docker.registry.url}</registry>&ndash;&gt;-->
  181. <!--&lt;!&ndash; <images>&ndash;&gt;-->
  182. <!--&lt;!&ndash; <image>&ndash;&gt;-->
  183. <!--&lt;!&ndash; <name>${docker.namespace}/${project.build.finalName}:${project.version}</name>&ndash;&gt;-->
  184. <!--&lt;!&ndash; <alias>${project.name}</alias>&ndash;&gt;-->
  185. <!--&lt;!&ndash; <build>&ndash;&gt;-->
  186. <!--&lt;!&ndash; <dockerFile>${project.basedir}/Dockerfile</dockerFile>&ndash;&gt;-->
  187. <!--&lt;!&ndash; </build>&ndash;&gt;-->
  188. <!--&lt;!&ndash; </image>&ndash;&gt;-->
  189. <!--&lt;!&ndash; </images>&ndash;&gt;-->
  190. <!--&lt;!&ndash; <buildArgs>&ndash;&gt;-->
  191. <!--&lt;!&ndash; <JAR_FILE>${basedir}/target/${project.build.finalName}.jar</JAR_FILE>&ndash;&gt;-->
  192. <!--&lt;!&ndash; </buildArgs>&ndash;&gt;-->
  193. <!--&lt;!&ndash; </configuration>&ndash;&gt;-->
  194. <!--&lt;!&ndash; </plugin>&ndash;&gt;-->
  195. <!-- </plugins>-->
  196. <!-- </pluginManagement>-->
  197. <!-- <plugins>-->
  198. <!-- <plugin>-->
  199. <!-- <groupId>org.springframework.boot</groupId>-->
  200. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  201. <!-- </plugin>-->
  202. <!-- <plugin>-->
  203. <!-- <artifactId>maven-compiler-plugin</artifactId>-->
  204. <!-- <version>${maven.plugin.version}</version>-->
  205. <!-- <configuration>-->
  206. <!-- <source>${java.version}</source>-->
  207. <!-- <target>${java.version}</target>-->
  208. <!-- <encoding>UTF-8</encoding>-->
  209. <!-- <compilerArgs>-->
  210. <!-- <arg>-parameters</arg>-->
  211. <!-- </compilerArgs>-->
  212. <!-- </configuration>-->
  213. <!-- </plugin>-->
  214. <!-- &lt;!&ndash;拷贝依赖到jar外面的lib目录&ndash;&gt;-->
  215. <!-- <plugin>-->
  216. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  217. <!-- <artifactId>maven-dependency-plugin</artifactId>-->
  218. <!-- <executions>-->
  219. <!-- <execution>-->
  220. <!-- <id>copy</id>-->
  221. <!-- <phase>package</phase>-->
  222. <!-- <goals>-->
  223. <!-- <goal>copy-dependencies</goal>-->
  224. <!-- </goals>-->
  225. <!-- <configuration> &lt;!&ndash;指定的依赖路径&ndash;&gt;-->
  226. <!-- <outputDirectory>-->
  227. <!-- ${project.build.directory}/lib-->
  228. <!-- </outputDirectory>-->
  229. <!-- </configuration>-->
  230. <!-- </execution>-->
  231. <!-- </executions>-->
  232. <!-- </plugin>-->
  233. <!-- </plugins>-->
  234. </build>
  235. </project>