pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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>fs</artifactId>
  7. <groupId>com.fs</groupId>
  8. <version>1.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>fs-company</artifactId>
  12. <description>
  13. 销售端接口服务
  14. </description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-devtools</artifactId>
  19. <optional>true</optional> <!-- 表示依赖不会传递 -->
  20. </dependency>
  21. <!-- swagger2-->
  22. <dependency>
  23. <groupId>io.springfox</groupId>
  24. <artifactId>springfox-swagger2</artifactId>
  25. </dependency>
  26. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  27. <dependency>
  28. <groupId>io.swagger</groupId>
  29. <artifactId>swagger-annotations</artifactId>
  30. <version>1.5.21</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>io.swagger</groupId>
  34. <artifactId>swagger-models</artifactId>
  35. <version>1.5.21</version>
  36. </dependency>
  37. <!-- swagger2-UI-->
  38. <dependency>
  39. <groupId>io.springfox</groupId>
  40. <artifactId>springfox-swagger-ui</artifactId>
  41. </dependency>
  42. <!-- Mysql驱动包 -->
  43. <dependency>
  44. <groupId>mysql</groupId>
  45. <artifactId>mysql-connector-java</artifactId>
  46. </dependency>
  47. <!-- SpringBoot Web容器 -->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-web</artifactId>
  51. </dependency>
  52. <!-- SpringBoot 拦截器 -->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-aop</artifactId>
  56. </dependency>
  57. <!-- spring security 安全认证 -->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-security</artifactId>
  61. </dependency>
  62. <!-- 阿里数据库连接池 -->
  63. <dependency>
  64. <groupId>com.alibaba</groupId>
  65. <artifactId>druid-spring-boot-starter</artifactId>
  66. </dependency>
  67. <!-- 验证码 -->
  68. <dependency>
  69. <groupId>com.github.penggle</groupId>
  70. <artifactId>kaptcha</artifactId>
  71. <exclusions>
  72. <exclusion>
  73. <artifactId>javax.servlet-api</artifactId>
  74. <groupId>javax.servlet</groupId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.github.javen205</groupId>
  80. <artifactId>IJPay-All</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.alipay.sdk</groupId>
  84. <artifactId>alipay-sdk-java</artifactId>
  85. <version>4.8.62.ALL</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.google.zxing</groupId>
  89. <artifactId>javase</artifactId>
  90. <version>3.4.1</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.slf4j</groupId>
  94. <artifactId>slf4j-api</artifactId>
  95. <version>1.7.30</version>
  96. <scope>provided</scope>
  97. </dependency>
  98. <!-- 开源多维码生成工具 -->
  99. <dependency>
  100. <groupId>com.github.xkzhangsan</groupId>
  101. <artifactId>xk-time</artifactId>
  102. <version>3.2.1</version>
  103. </dependency>
  104. <!-- 系统模块-->
  105. <dependency>
  106. <groupId>com.fs</groupId>
  107. <artifactId>fs-service-system</artifactId>
  108. </dependency>
  109. <!-- websocket模块-->
  110. <!-- <dependency>-->
  111. <!-- <groupId>com.fs</groupId>-->
  112. <!-- <artifactId>fs-socket</artifactId>-->
  113. <!-- </dependency>-->
  114. <dependency>
  115. <groupId>commons-codec</groupId>
  116. <artifactId>commons-codec</artifactId>
  117. <version>1.11</version>
  118. </dependency>
  119. <!-- WebSocket -->
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-starter-websocket</artifactId>
  123. </dependency>
  124. </dependencies>
  125. <build>
  126. <plugins>
  127. <plugin>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-maven-plugin</artifactId>
  130. <version>2.1.1.RELEASE</version>
  131. <configuration>
  132. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  133. </configuration>
  134. <executions>
  135. <execution>
  136. <goals>
  137. <goal>repackage</goal>
  138. </goals>
  139. </execution>
  140. </executions>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-war-plugin</artifactId>
  145. <version>3.1.0</version>
  146. <configuration>
  147. <failOnMissingWebXml>false</failOnMissingWebXml>
  148. <warName>${project.artifactId}</warName>
  149. </configuration>
  150. </plugin>
  151. <plugin>
  152. <groupId>com.spotify</groupId>
  153. <artifactId>docker-maven-plugin</artifactId>
  154. <version>1.0.0</version>
  155. <configuration>
  156. <imageName>${project.artifactId}:${project.version}</imageName>
  157. <baseImage>kdvolder/jdk8</baseImage>
  158. <maintainer>docker_maven docker_maven@email.com</maintainer>
  159. <workdir>/</workdir>
  160. <cmd>["java", "-version"]</cmd>
  161. <entryPoint>["java", "-jar", "${project.build.finalName}.jar"]</entryPoint>
  162. <!-- 这里是复制 jar 包到 docker 容器指定目录配置 -->
  163. <resources>
  164. <resource>
  165. <targetPath>/</targetPath>
  166. <directory>${project.build.directory}</directory>
  167. <include>${project.build.finalName}.jar</include>
  168. </resource>
  169. </resources>
  170. <dockerHost>http://8.140.143.122:2375</dockerHost>
  171. </configuration>
  172. </plugin>
  173. </plugins>
  174. <finalName>${project.artifactId}</finalName>
  175. </build>
  176. </project>