pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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. <groupId>com.diagbot</groupId>
  7. <artifactId>tran-service</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <name>tran-service</name>
  11. <description>Tran Service for Spring Boot</description>
  12. <parent>
  13. <groupId>com.diagbot</groupId>
  14. <artifactId>diagbotcloud</artifactId>
  15. <version>0.0.1-SNAPSHOT</version>
  16. </parent>
  17. <dependencies>
  18. <!-- https://mvnrepository.com/artifact/wsdl4j/wsdl4j -->
  19. <dependency>
  20. <groupId>wsdl4j</groupId>
  21. <artifactId>wsdl4j</artifactId>
  22. <version>1.6.2</version>
  23. </dependency>
  24. <!-- https://mvnrepository.com/artifact/commons-discovery/commons-discovery -->
  25. <dependency>
  26. <groupId>commons-discovery</groupId>
  27. <artifactId>commons-discovery</artifactId>
  28. <version>0.2</version>
  29. </dependency>
  30. <!-- https://mvnrepository.com/artifact/javax.mail/mail -->
  31. <dependency>
  32. <groupId>javax.mail</groupId>
  33. <artifactId>mail</artifactId>
  34. <version>1.4</version>
  35. </dependency>
  36. <!-- https://mvnrepository.com/artifact/javax.activation/activation -->
  37. <dependency>
  38. <groupId>javax.activation</groupId>
  39. <artifactId>activation</artifactId>
  40. <version>1.1.1</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.metaparadigm</groupId>
  44. <artifactId>json-rpc</artifactId>
  45. <version>1.0</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>javax.xml</groupId>
  49. <artifactId>jaxrpc</artifactId>
  50. <version>1.1</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.axis</groupId>
  54. <artifactId>axis</artifactId>
  55. <version>1.4</version>
  56. </dependency>
  57. <!-- Jackson JSON Mapper -->
  58. <dependency>
  59. <groupId>org.codehaus.jackson</groupId>
  60. <artifactId>jackson-mapper-asl</artifactId>
  61. <version>1.9.13</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.diagbot</groupId>
  65. <artifactId>common</artifactId>
  66. <version>0.0.1-SNAPSHOT</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.cloud</groupId>
  70. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  71. </dependency>
  72. <!-- 配置-->
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-starter-config</artifactId>
  76. </dependency>
  77. <!-- 开启web-->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-web</artifactId>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-tomcat</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-undertow</artifactId>
  91. </dependency>
  92. <!-- 开启feign-->
  93. <dependency>
  94. <groupId>org.springframework.cloud</groupId>
  95. <artifactId>spring-cloud-starter-openfeign</artifactId>
  96. </dependency>
  97. <!-- dashboard -->
  98. <!-- actuator-->
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-actuator</artifactId>
  102. </dependency>
  103. <!--hystrix-dashboard-->
  104. <dependency>
  105. <groupId>org.springframework.cloud</groupId>
  106. <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
  107. </dependency>
  108. <!--hystrix -->
  109. <dependency>
  110. <groupId>org.springframework.cloud</groupId>
  111. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  112. </dependency>
  113. <!-- zipkin-->
  114. <!--<dependency>-->
  115. <!--<groupId>org.springframework.cloud</groupId>-->
  116. <!--<artifactId>spring-cloud-starter-zipkin</artifactId>-->
  117. <!--</dependency>-->
  118. <!--swagger-->
  119. <dependency>
  120. <groupId>io.springfox</groupId>
  121. <artifactId>springfox-swagger2</artifactId>
  122. </dependency>
  123. <dependency>
  124. <groupId>io.springfox</groupId>
  125. <artifactId>springfox-swagger-ui</artifactId>
  126. </dependency>
  127. <!--database-->
  128. <dependency>
  129. <groupId>mysql</groupId>
  130. <artifactId>mysql-connector-java</artifactId>
  131. <scope>runtime</scope>
  132. </dependency>
  133. <!--security-->
  134. <dependency>
  135. <groupId>org.springframework.cloud</groupId>
  136. <artifactId>spring-cloud-starter-oauth2</artifactId>
  137. </dependency>
  138. <!-- mq -->
  139. <dependency>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-starter-amqp</artifactId>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.projectlombok</groupId>
  145. <artifactId>lombok</artifactId>
  146. <optional>true</optional>
  147. </dependency>
  148. <dependency>
  149. <groupId>net.logstash.logback</groupId>
  150. <artifactId>logstash-logback-encoder</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.springframework.cloud</groupId>
  154. <artifactId>spring-cloud-starter-bus-amqp</artifactId>
  155. </dependency>
  156. <!-- mybatis-plus begin -->
  157. <dependency>
  158. <groupId>com.baomidou</groupId>
  159. <artifactId>mybatis-plus-boot-starter</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.baomidou</groupId>
  163. <artifactId>mybatis-plus-generator</artifactId>
  164. </dependency>
  165. <!-- mybatis-plus end -->
  166. <!-- 阿里巴巴druid数据库连接池 -->
  167. <dependency>
  168. <groupId>com.alibaba</groupId>
  169. <artifactId>druid-spring-boot-starter</artifactId>
  170. </dependency>
  171. <!-- springboot整合mybatis(核心就这一个) -->
  172. <!-- 注意顺序,这个一定要放在最下面 -->
  173. <dependency>
  174. <groupId>org.mybatis.spring.boot</groupId>
  175. <artifactId>mybatis-spring-boot-starter</artifactId>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.springframework.cloud</groupId>
  179. <artifactId>spring-cloud-starter-stream-rabbit</artifactId>
  180. </dependency>
  181. <!--&lt;!&ndash; CXF webservice &ndash;&gt;-->
  182. <!--<dependency>-->
  183. <!--<groupId>org.apache.cxf</groupId>-->
  184. <!--<artifactId>cxf-spring-boot-starter-jaxws</artifactId>-->
  185. <!--<version>3.3.2</version>-->
  186. <!--</dependency>-->
  187. <!--&lt;!&ndash; CXF webservice &ndash;&gt;-->
  188. <!--redis设置-->
  189. <dependency>
  190. <groupId>org.springframework.boot</groupId>
  191. <artifactId>spring-boot-starter-data-redis</artifactId>
  192. </dependency>
  193. <!-- 必须加上,jedis依赖此 -->
  194. <dependency>
  195. <groupId>org.apache.commons</groupId>
  196. <artifactId>commons-pool2</artifactId>
  197. </dependency>
  198. <dependency>
  199. <groupId>io.github.lvyahui8</groupId>
  200. <artifactId>spring-boot-data-aggregator-starter</artifactId>
  201. </dependency>
  202. </dependencies>
  203. <build>
  204. <plugins>
  205. <plugin>
  206. <groupId>org.springframework.boot</groupId>
  207. <artifactId>spring-boot-maven-plugin</artifactId>
  208. </plugin>
  209. <!-- 添加docker-maven插件 -->
  210. <plugin>
  211. <groupId>com.spotify</groupId>
  212. <artifactId>docker-maven-plugin</artifactId>
  213. <configuration>
  214. <imageName>${docker.image.prefix}/${project.artifactId}:${project.version}</imageName>
  215. <forceTags>true</forceTags>
  216. <!--镜像的FROM,使用压缩的小镜像-->
  217. <baseImage>frolvlad/alpine-oraclejre8:slim</baseImage>
  218. <entryPoint>["java", "-jar", "-Xms256m", "-Xmx1024m", "-Duser.timezone=GMT+8", "/${project.build.finalName}.jar"]</entryPoint>
  219. <resources>
  220. <resource>
  221. <targetPath>/</targetPath>
  222. <directory>${project.build.directory}</directory>
  223. <include>${project.build.finalName}.jar</include>
  224. </resource>
  225. </resources>
  226. <serverId>docker-registry</serverId>
  227. <registryUrl>${registryUrl}</registryUrl>
  228. </configuration>
  229. </plugin>
  230. </plugins>
  231. </build>
  232. </project>