pom.xml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <artifactId>fhzg</artifactId>
  8. <groupId>com.hdkj</groupId>
  9. <version>${revision}</version>
  10. </parent>
  11. <artifactId>services</artifactId>
  12. <packaging>pom</packaging>
  13. <modules>
  14. <module>load-transfer-bf</module>
  15. <module>load-transfer-mq</module>
  16. <module>load-transfer-si</module>
  17. </modules>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.hdkj</groupId>
  21. <artifactId>common-core</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.hdkj</groupId>
  25. <artifactId>ruoyi-common-core</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.hdkj</groupId>
  29. <artifactId>ruoyi-common-security</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.hdkj</groupId>
  33. <artifactId>ruoyi-common-datasource</artifactId>
  34. <version>0.0.1-SNAPSHOT</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.hdkj</groupId>
  38. <artifactId>load-transfer-si-api</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.hdkj</groupId>
  42. <artifactId>load-transfer-mq-api</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.hdkj</groupId>
  46. <artifactId>load-transfer-bf-api</artifactId>
  47. <version>0.0.1-SNAPSHOT</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.hdkj</groupId>
  51. <artifactId>load-transfer-io-api</artifactId>
  52. <version>0.0.1-SNAPSHOT</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.hdkj</groupId>
  56. <artifactId>ruoyi-api-system</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.baomidou</groupId>
  60. <artifactId>mybatis-plus-boot-starter</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-data-redis</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-web</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-test</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.alibaba.cloud</groupId>
  76. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.alibaba.cloud</groupId>
  80. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.statemachine</groupId>
  84. <artifactId>spring-statemachine-starter</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.statemachine</groupId>
  88. <artifactId>spring-statemachine-kryo</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.mysql</groupId>
  92. <artifactId>mysql-connector-j</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>commons-beanutils</groupId>
  96. <artifactId>commons-beanutils</artifactId>
  97. <version>1.9.4</version>
  98. </dependency>
  99. </dependencies>
  100. <profiles>
  101. <profile>
  102. <!-- 本地环境 -->
  103. <id>local</id>
  104. <activation>
  105. <activeByDefault>true</activeByDefault>
  106. </activation>
  107. <properties>
  108. <environment>local</environment>
  109. </properties>
  110. </profile>
  111. <profile>
  112. <!-- 开发环境 -->
  113. <id>dev</id>
  114. <activation>
  115. <activeByDefault>false</activeByDefault>
  116. </activation>
  117. <properties>
  118. <environment>dev</environment>
  119. </properties>
  120. </profile>
  121. <profile>
  122. <!-- 测试环境 -->
  123. <id>test</id>
  124. <activation>
  125. <activeByDefault>false</activeByDefault>
  126. </activation>
  127. <properties>
  128. <environment>test</environment>
  129. </properties>
  130. </profile>
  131. <profile>
  132. <!-- UAT环境 -->
  133. <id>uat</id>
  134. <activation>
  135. <activeByDefault>false</activeByDefault>
  136. </activation>
  137. <properties>
  138. <environment>uat</environment>
  139. </properties>
  140. </profile>
  141. <profile>
  142. <!-- 生产环境 -->
  143. <id>prod</id>
  144. <activation>
  145. <activeByDefault>false</activeByDefault>
  146. </activation>
  147. <properties>
  148. <environment>prod</environment>
  149. </properties>
  150. </profile>
  151. </profiles>
  152. <build>
  153. <resources>
  154. <resource>
  155. <!-- 指定配置文件所在的resources目录 -->
  156. <directory>src/main/resources</directory>
  157. <includes>
  158. <include>bootstrap.yml</include>
  159. <include>kaptcha.properties</include>
  160. <include>log4j2.xml</include>
  161. <include>sentinel.properties</include>
  162. </includes>
  163. <filtering>true</filtering>
  164. </resource>
  165. <resource>
  166. <!-- 把被激活环境下的配置文件都编译到classpath下 -->
  167. <directory>src/main/resources/config/${environment}</directory>
  168. </resource>
  169. <resource>
  170. <!-- 打包MyBatis XML文件所在的目录 -->
  171. <directory>src/main/resources</directory>
  172. <includes>
  173. <include>mapper/*.xml</include>
  174. </includes>
  175. </resource>
  176. <resource>
  177. <directory>src/main/java</directory>
  178. <includes>
  179. <include>com/hdkj/**/mapping/*.xml</include>
  180. </includes>
  181. </resource>
  182. <resource>
  183. <!-- 模板打包到template -->
  184. <directory>src/main/resources/template</directory>
  185. <targetPath>template/</targetPath>
  186. <includes>
  187. <include>**/*</include>
  188. </includes>
  189. </resource>
  190. </resources>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-maven-plugin</artifactId>
  195. <version>${spring-boot.version}</version>
  196. <configuration>
  197. <includeSystemScope>true</includeSystemScope>
  198. </configuration>
  199. <executions>
  200. <execution>
  201. <goals>
  202. <goal>repackage</goal>
  203. </goals>
  204. </execution>
  205. </executions>
  206. </plugin>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-compiler-plugin</artifactId>
  210. <version>3.8.1</version>
  211. <configuration>
  212. <source>${java.version}</source>
  213. <target>${java.version}</target>
  214. <encoding>${project.build.sourceEncoding}</encoding>
  215. </configuration>
  216. </plugin>
  217. </plugins>
  218. </build>
  219. </project>