pom.xml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. <artifactId>zlt-business</artifactId>
  7. <groupId>com.zlt</groupId>
  8. <version>2.7.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>idaas-center</artifactId>
  12. <dependencies>
  13. <!-- 公共实体类模块 -->
  14. <dependency>
  15. <groupId>com.zlt</groupId>
  16. <artifactId>zlt-config</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.zlt</groupId>
  20. <artifactId>zlt-common-spring-boot-starter</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.zlt</groupId>
  24. <artifactId>zlt-db-spring-boot-starter</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.zlt</groupId>
  28. <artifactId>zlt-redis-spring-boot-starter</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.zlt</groupId>
  32. <artifactId>zlt-ribbon-spring-boot-starter</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.zlt</groupId>
  36. <artifactId>zlt-sentinel-spring-boot-starter</artifactId>
  37. </dependency>
  38. <!-- swagger -->
  39. <dependency>
  40. <groupId>com.zlt</groupId>
  41. <artifactId>zlt-swagger2-spring-boot-starter</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework</groupId>
  45. <artifactId>spring-context-support</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-actuator</artifactId>
  50. </dependency>
  51. <!-- Mysql数据库依赖,跟随项目版本:5.7 -->
  52. <dependency>
  53. <groupId>mysql</groupId>
  54. <artifactId>mysql-connector-java</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.micrometer</groupId>
  58. <artifactId>micrometer-registry-prometheus</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework</groupId>
  62. <artifactId>spring-core</artifactId>
  63. <exclusions>
  64. <exclusion>
  65. <groupId>org.springframework</groupId>
  66. <artifactId>spring-jcl</artifactId>
  67. </exclusion>
  68. </exclusions>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-web</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework</groupId>
  76. <artifactId>spring-context</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>javax.servlet</groupId>
  80. <artifactId>javax.servlet-api</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.cloud</groupId>
  84. <artifactId>spring-cloud-commons</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework</groupId>
  88. <artifactId>spring-tx</artifactId>
  89. </dependency>
  90. <!-- google json工具 -->
  91. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  92. <dependency>
  93. <groupId>com.google.code.gson</groupId>
  94. <artifactId>gson</artifactId>
  95. </dependency>
  96. <!-- 阿里Nacos依赖 -->
  97. <dependency>
  98. <groupId>com.alibaba.cloud</groupId>
  99. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  100. </dependency>
  101. <!-- 阿里云 MQ消息队列依赖 -->
  102. <dependency>
  103. <groupId>com.aliyun.openservices</groupId>
  104. <artifactId>ons-client</artifactId>
  105. <version>${ons-client.version}</version>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel -->
  108. <!-- 阿里easyexcel工具,导入导出,读取excel -->
  109. <dependency>
  110. <groupId>com.alibaba</groupId>
  111. <artifactId>easyexcel</artifactId>
  112. <version>${easyexcel.version}</version>
  113. </dependency>
  114. <!-- 阿里云总线CSB依赖 -->
  115. <dependency>
  116. <groupId>com.alibaba.csb.sdk</groupId>
  117. <artifactId>http-client</artifactId>
  118. <version>1.1.5.9</version>
  119. </dependency>
  120. <!-- 验证码生成工具 -->
  121. <dependency>
  122. <groupId>com.github.whvcse</groupId>
  123. <artifactId>easy-captcha</artifactId>
  124. </dependency>
  125. <!-- &lt;!&ndash; 华为高斯数据库连接依赖 &ndash;&gt;-->
  126. <!-- &lt;!&ndash; 仅用于政务外网devops环境,测试结束后不再使用 &ndash;&gt;-->
  127. <!-- <dependency>-->
  128. <!-- <groupId>com.huawei.gauss.jdbc</groupId>-->
  129. <!-- <artifactId>gsjdbc200</artifactId>-->
  130. <!-- <version>1.0.0</version>-->
  131. <!-- </dependency>-->
  132. <!-- dom4j -->
  133. <dependency>
  134. <groupId>dom4j</groupId>
  135. <artifactId>dom4j</artifactId>
  136. <version>1.6.1</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.apache.axis</groupId>
  140. <artifactId>axis</artifactId>
  141. <version>1.4</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>axis</groupId>
  145. <artifactId>axis-jaxrpc</artifactId>
  146. <version>1.4</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>commons-discovery</groupId>
  150. <artifactId>commons-discovery</artifactId>
  151. <version>0.2</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>wsdl4j</groupId>
  155. <artifactId>wsdl4j</artifactId>
  156. <version>1.6.3</version>
  157. </dependency>
  158. </dependencies>
  159. <build>
  160. <plugins>
  161. <plugin>
  162. <groupId>org.springframework.boot</groupId>
  163. <artifactId>spring-boot-maven-plugin</artifactId>
  164. <executions>
  165. <execution>
  166. <goals>
  167. <goal>repackage</goal>
  168. </goals>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. <plugin>
  173. <groupId>com.spotify</groupId>
  174. <artifactId>docker-maven-plugin</artifactId>
  175. <configuration>
  176. <imageName>${docker.image.prefix}/${project.artifactId}</imageName>
  177. <imageTags>
  178. <imageTag>${project.version}</imageTag>
  179. <imageTag>latest</imageTag>
  180. </imageTags>
  181. <forceTags>true</forceTags>
  182. <baseImage>${docker.baseImage}</baseImage>
  183. <volumes>${docker.volumes}</volumes>
  184. <env>
  185. <JAVA_OPTS>${docker.java.opts}</JAVA_OPTS>
  186. </env>
  187. <entryPoint>["sh","-c","java $JAVA_OPTS ${docker.java.security.egd} -jar /${project.build.finalName}.jar"]</entryPoint>
  188. <resources>
  189. <resource>
  190. <targetPath>/</targetPath>
  191. <directory>${project.build.directory}</directory>
  192. <include>${project.build.finalName}.jar</include>
  193. </resource>
  194. </resources>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. <!--打包部署放开以下注释-->
  199. <!--正常启动需注释以下代码,否则会包shiro错误-->
  200. <finalName>${project.artifactId}</finalName>
  201. </build>
  202. </project>