pom.xml 7.8 KB

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