pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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>lb-server</artifactId>
  7. <groupId>com.ydd</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>lb-app</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.springframework.boot</groupId>
  15. <artifactId>spring-boot-starter-web</artifactId>
  16. <exclusions>
  17. <exclusion>
  18. <artifactId>spring-boot-starter-tomcat</artifactId>
  19. <groupId>org.springframework.boot</groupId>
  20. </exclusion>
  21. </exclusions>
  22. </dependency>
  23. <!-- spring-boot-devtools -->
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-devtools</artifactId>
  27. <optional>true</optional> <!-- 表示依赖不会传递 -->
  28. </dependency>
  29. <!-- swagger2-->
  30. <dependency>
  31. <groupId>io.springfox</groupId>
  32. <artifactId>springfox-swagger2</artifactId>
  33. </dependency>
  34. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  35. <dependency>
  36. <groupId>io.swagger</groupId>
  37. <artifactId>swagger-annotations</artifactId>
  38. <version>1.5.21</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>io.swagger</groupId>
  42. <artifactId>swagger-models</artifactId>
  43. <version>1.5.21</version>
  44. </dependency>
  45. <!-- swagger2-UI-->
  46. <dependency>
  47. <groupId>io.springfox</groupId>
  48. <artifactId>springfox-swagger-ui</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.github.xiaoymin</groupId>
  52. <artifactId>swagger-bootstrap-ui</artifactId>
  53. <version>1.9.3</version>
  54. </dependency>
  55. <!-- 定时任务-->
  56. <dependency>
  57. <groupId>com.ydd</groupId>
  58. <artifactId>lb-module</artifactId>
  59. <version>1.0</version>
  60. </dependency>
  61. <!-- 定时任务-->
  62. <dependency>
  63. <groupId>com.ydd</groupId>
  64. <artifactId>lb-core</artifactId>
  65. <version>1.0</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.ydd</groupId>
  69. <artifactId>lb-feginclient</artifactId>
  70. <version>1.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.ydd</groupId>
  74. <artifactId>lb-framework</artifactId>
  75. <version>1.0</version>
  76. </dependency>
  77. <!--<dependency>-->
  78. <!--<groupId>com.ydd</groupId>-->
  79. <!--<artifactId>lb-third-waimai</artifactId>-->
  80. <!--<version>1.0</version>-->
  81. <!--</dependency>-->
  82. <!--<dependency>-->
  83. <!--<groupId>com.ydd</groupId>-->
  84. <!--<artifactId>lb-third-delivery</artifactId>-->
  85. <!--<version>1.0</version>-->
  86. <!--</dependency>-->
  87. <!-- Mysql驱动包 -->
  88. <dependency>
  89. <groupId>mysql</groupId>
  90. <artifactId>mysql-connector-java</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.github.binarywang</groupId>
  94. <artifactId>weixin-java-pay</artifactId>
  95. <version>4.0.0</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.github.javen205</groupId>
  99. <artifactId>IJPay-All</artifactId>
  100. <version>2.6.3</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.alipay.sdk</groupId>
  104. <artifactId>alipay-sdk-java</artifactId>
  105. <version>4.11.54.ALL</version>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/com.getui.push/restful-sdk -->
  108. <dependency>
  109. <groupId>com.getui.push</groupId>
  110. <artifactId>restful-sdk</artifactId>
  111. <version>1.0.0.1</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.github.binarywang</groupId>
  115. <artifactId>weixin-java-mp</artifactId>
  116. <version>4.0.0</version>
  117. <exclusions>
  118. <exclusion>
  119. <artifactId>xstream</artifactId>
  120. <groupId>com.thoughtworks.xstream</groupId>
  121. </exclusion>
  122. </exclusions>
  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>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-surefire-plugin</artifactId>
  154. <configuration>
  155. <testFailureIgnore>true</testFailureIgnore>
  156. </configuration>
  157. </plugin>
  158. </plugins>
  159. <finalName>${project.artifactId}</finalName>
  160. </build>
  161. <profiles>
  162. <profile>
  163. <id>dev</id>
  164. <properties>
  165. <!-- 环境标识,需要与配置文件的名称相对应 -->
  166. <profiles.active>dev</profiles.active>
  167. <logging.level>debug</logging.level>
  168. </properties>
  169. <activation>
  170. <!-- 默认环境 -->
  171. <activeByDefault>true</activeByDefault>
  172. </activation>
  173. </profile>
  174. <profile>
  175. <id>prod</id>
  176. <properties>
  177. <profiles.active>prod</profiles.active>
  178. <logging.level>info</logging.level>
  179. </properties>
  180. </profile>
  181. </profiles>
  182. </project>