pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.bjlt.spider</groupId>
  5. <artifactId>auto_order_service</artifactId>
  6. <packaging>jar</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>auto_order_service</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <!--<luyn-utils.version>1.0-SNAPSHOT</luyn-utils.version>-->
  13. <luyn-utils.version>0.0.1</luyn-utils.version>
  14. <okhttp.version>3.4.1</okhttp.version>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. <java.version>1.8</java.version>
  19. <spring-cloud.version>Dalston.SR3</spring-cloud.version>
  20. <spring-boot.version>1.5.7.RELEASE</spring-boot.version>
  21. <ip>0.0.1-SNAPSHOT</ip>
  22. <common.version>0.0.1-SNAPSHOT</common.version>
  23. <log4j2.version>2.8</log4j2.version>
  24. <slf4j.version>1.7.10</slf4j.version>
  25. <swagger2.version>2.6.1</swagger2.version>
  26. </properties>
  27. <dependencies>
  28. <dependency>
  29. <groupId>com.alibaba</groupId>
  30. <artifactId>fastjson</artifactId>
  31. <version>1.2.31</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.alibaba</groupId>
  35. <artifactId>druid</artifactId>
  36. <version>1.1.6</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.logging.log4j</groupId>
  40. <artifactId>log4j-api</artifactId>
  41. <version>${log4j2.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.logging.log4j</groupId>
  45. <artifactId>log4j-core</artifactId>
  46. <version>${log4j2.version}</version>
  47. </dependency>
  48. <dependency> <!-- 桥接:告诉Slf4j使用Log4j2 -->
  49. <groupId>org.apache.logging.log4j</groupId>
  50. <artifactId>log4j-slf4j-impl</artifactId>
  51. <version>${log4j2.version}</version>
  52. </dependency>
  53. <dependency> <!-- 桥接:告诉commons logging使用Log4j2 -->
  54. <groupId>org.apache.logging.log4j</groupId>
  55. <artifactId>log4j-jcl</artifactId>
  56. <version>${log4j2.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.slf4j</groupId>
  60. <artifactId>slf4j-api</artifactId>
  61. <version>${slf4j.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.lmax</groupId>
  65. <artifactId>disruptor</artifactId>
  66. <version>3.3.6</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.fasterxml.jackson.datatype</groupId>
  70. <artifactId>jackson-datatype-joda</artifactId>
  71. <version>2.9.0.pr3</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.fasterxml.jackson.datatype</groupId>
  75. <artifactId>jackson-datatype-jsr310</artifactId>
  76. <version>2.9.0.pr3</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok</artifactId>
  81. <version>1.16.16</version>
  82. </dependency>
  83. <!--<dependency>-->
  84. <!--<groupId>mysql</groupId>-->
  85. <!--<artifactId>mysql-connector-java</artifactId>-->
  86. <!--<version>${mysql.version}</version>-->
  87. <!--</dependency>-->
  88. <dependency>
  89. <groupId>com.lmax</groupId>
  90. <artifactId>disruptor</artifactId>
  91. <version>3.3.6</version>
  92. </dependency>
  93. <!-- http 网络请求包 -->
  94. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  95. <dependency>
  96. <groupId>org.apache.httpcomponents</groupId>
  97. <artifactId>httpclient</artifactId>
  98. <version>4.5.4</version>
  99. </dependency>
  100. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
  101. <dependency>
  102. <groupId>org.apache.httpcomponents</groupId>
  103. <artifactId>httpcore</artifactId>
  104. <version>4.4.5</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>javax.mail</groupId>
  108. <artifactId>mail</artifactId>
  109. <version>1.4.7</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.seleniumhq.selenium</groupId>
  113. <artifactId>selenium-java</artifactId>
  114. <version>3.7.1</version>
  115. </dependency>
  116. <!--<dependency>-->
  117. <!--<groupId>org.seleniumhq.selenium</groupId>-->
  118. <!--<artifactId>selenium-java</artifactId>-->
  119. <!--<version>2.44.0</version>-->
  120. <!--</dependency>-->
  121. <dependency>
  122. <groupId>net.sourceforge.htmlunit</groupId>
  123. <artifactId>htmlunit</artifactId>
  124. <version>2.27</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.squareup.okhttp3</groupId>
  128. <artifactId>okhttp</artifactId>
  129. <version>${okhttp.version}</version>
  130. </dependency>
  131. <!--<dependency>-->
  132. <!--<groupId>com.bjlt.spider</groupId>-->
  133. <!--<artifactId>luyn-utils</artifactId>-->
  134. <!--<version>1.0-SNAPSHOT</version>-->
  135. <!--</dependency>-->
  136. <dependency>
  137. <groupId>com.bjlt.spider</groupId>
  138. <artifactId>luyn-utils</artifactId>
  139. <version>${luyn-utils.version}</version>
  140. </dependency>
  141. <!--<dependency>-->
  142. <!--<groupId>junit</groupId>-->
  143. <!--<artifactId>junit</artifactId>-->
  144. <!--<version>3.8.1</version>-->
  145. <!--<scope>test</scope>-->
  146. <!--</dependency>-->
  147. <dependency>
  148. <groupId>com.bjlt.spider</groupId>
  149. <artifactId>common</artifactId>
  150. <version>${common.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.bjlt.spider</groupId>
  154. <artifactId>ip_rpc</artifactId>
  155. <version>${ip}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-starter-web</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.springframework.boot</groupId>
  163. <artifactId>spring-boot-starter-actuator</artifactId>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-starter-aop</artifactId>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework.cloud</groupId>
  171. <artifactId>spring-cloud-starter-eureka</artifactId>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.springframework.boot</groupId>
  175. <artifactId>spring-boot-starter-data-redis</artifactId>
  176. </dependency>
  177. <!--<dependency>-->
  178. <!--<groupId>org.springframework.boot</groupId>-->
  179. <!--<artifactId>spring-boot-starter-jdbc</artifactId>-->
  180. <!--<exclusions>-->
  181. <!--&lt;!&ndash;使用druid数据源,排除自带的tomcatjdbc&ndash;&gt;-->
  182. <!--<exclusion>-->
  183. <!--<groupId>org.apache.tomcat</groupId>-->
  184. <!--<artifactId>tomcat-jdbc</artifactId>-->
  185. <!--</exclusion>-->
  186. <!--</exclusions>-->
  187. <!--</dependency>-->
  188. <dependency>
  189. <groupId>org.springframework.boot</groupId>
  190. <artifactId>spring-boot-starter-test</artifactId>
  191. <scope>test</scope>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.springframework.boot</groupId>
  195. <artifactId>spring-boot-starter</artifactId>
  196. <exclusions>
  197. <!--去除spring boot自带的-->
  198. <exclusion>
  199. <groupId>org.springframework.boot</groupId>
  200. <artifactId>spring-boot-starter-logging</artifactId>
  201. </exclusion>
  202. </exclusions>
  203. </dependency>
  204. <dependency>
  205. <groupId>io.github.openfeign</groupId>
  206. <artifactId>feign-okhttp</artifactId>
  207. </dependency>
  208. </dependencies>
  209. <dependencyManagement>
  210. <dependencies>
  211. <dependency>
  212. <groupId>org.springframework.boot</groupId>
  213. <artifactId>spring-boot-dependencies</artifactId>
  214. <version>${spring-boot.version}</version>
  215. <type>pom</type>
  216. <scope>import</scope>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.springframework.cloud</groupId>
  220. <artifactId>spring-cloud-dependencies</artifactId>
  221. <version>${spring-cloud.version}</version>
  222. <type>pom</type>
  223. <scope>import</scope>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.springframework.boot</groupId>
  227. <artifactId>spring-boot-devtools</artifactId>
  228. <optional>true</optional>
  229. </dependency>
  230. <!-- https://mvnrepository.com/artifact/junit/junit -->
  231. <dependency>
  232. <groupId>junit</groupId>
  233. <artifactId>junit</artifactId>
  234. <version>4.12</version>
  235. <scope>test</scope>
  236. </dependency>
  237. </dependencies>
  238. </dependencyManagement>
  239. <build>
  240. <plugins>
  241. <plugin>
  242. <groupId>org.springframework.boot</groupId>
  243. <artifactId>spring-boot-maven-plugin</artifactId>
  244. <configuration>
  245. <mainClass>com.bjlt.spider.UserServiceApplication</mainClass>
  246. </configuration>
  247. <executions>
  248. <execution>
  249. <goals>
  250. <goal>repackage</goal>
  251. </goals>
  252. </execution>
  253. </executions>
  254. </plugin>
  255. <plugin>
  256. <groupId>org.apache.maven.plugins</groupId>
  257. <artifactId>maven-compiler-plugin</artifactId>
  258. <configuration>
  259. <source>${maven.compiler.source}</source>
  260. <target>${maven.compiler.target}</target>
  261. </configuration>
  262. </plugin>
  263. <plugin>
  264. <groupId>org.springframework.boot</groupId>
  265. <artifactId>spring-boot-maven-plugin</artifactId>
  266. <configuration>
  267. <!--fork : 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
  268. <fork>true</fork>
  269. </configuration>
  270. </plugin>
  271. </plugins>
  272. </build>
  273. <repositories>
  274. <repository>
  275. <id>public</id>
  276. <name>public</name>
  277. <url>http://183.61.25.117:8081/nexus/content/groups/public/</url>
  278. <snapshots>
  279. <enabled>true</enabled>
  280. </snapshots>
  281. </repository>
  282. </repositories>
  283. <distributionManagement>
  284. <repository>
  285. <id>releases</id>
  286. <name>releases</name>
  287. <url>http://183.61.25.117:8081/nexus/content/repositories/releases/</url>
  288. </repository>
  289. <snapshotRepository>
  290. <id>snapshots</id>
  291. <name>snapshots</name>
  292. <url>http://183.61.25.117:8081/nexus/content/repositories/snapshots/</url>
  293. </snapshotRepository>
  294. </distributionManagement>
  295. </project>