pom.xml 12 KB

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