pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.bjlt.spider</groupId>
  5. <artifactId>email</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <name>email</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <maven.compiler.source>1.8</maven.compiler.source>
  14. <maven.compiler.target>1.8</maven.compiler.target>
  15. <java.version>1.8</java.version>
  16. <spring-cloud.version>Dalston.SR1</spring-cloud.version>
  17. <spring-boot.version>1.5.3.RELEASE</spring-boot.version>
  18. <mysql.version>5.1.40</mysql.version>
  19. <druid.version>1.0.29</druid.version>
  20. <log4j2.version>2.2</log4j2.version>
  21. <slf4j.version>1.7.10</slf4j.version>
  22. <common>0.0.4-SNAPSHOT</common>
  23. <spider-version>0.0.4-SNAPSHOT</spider-version>
  24. <contro-spider>0.0.2-SNAPSHOT</contro-spider>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>com.corundumstudio.socketio</groupId>
  29. <artifactId>netty-socketio</artifactId>
  30. <version>1.7.12</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.bjlt.spider</groupId>
  34. <artifactId>plugin-rpc</artifactId>
  35. <version>0.0.1-SNAPSHOT</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.poi</groupId>
  39. <artifactId>poi</artifactId>
  40. <version>3.16</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.poi</groupId>
  44. <artifactId>poi-ooxml</artifactId>
  45. <version>3.16</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.poi</groupId>
  49. <artifactId>poi-ooxml-schemas</artifactId>
  50. <version>3.16</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>net.sourceforge.nekohtml</groupId>
  54. <artifactId>nekohtml</artifactId>
  55. <version>1.9.22</version>
  56. </dependency>
  57. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  58. <!-- <dependency>
  59. <groupId>org.apache.shiro</groupId>
  60. <artifactId>shiro-spring</artifactId>
  61. <version>1.3.2</version>
  62. </dependency>-->
  63. <dependency>
  64. <groupId>net.sourceforge.jexcelapi</groupId>
  65. <artifactId>jxl</artifactId>
  66. <version>2.6.12</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.bjlt.spider</groupId>
  70. <artifactId>luyn-utils</artifactId>
  71. <version>0.1.0</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.rabbitmq</groupId>
  75. <artifactId>amqp-client</artifactId>
  76. <version>3.6.5</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.bjlt.spider</groupId>
  80. <artifactId>spider-rpc</artifactId>
  81. <version>${spider-version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.bjlt.spider</groupId>
  85. <artifactId>contro_rpc</artifactId>
  86. <version>${contro-spider}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.bjlt.spider</groupId>
  90. <artifactId>common</artifactId>
  91. <version>${common}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>fastjson</artifactId>
  96. <version>1.2.31</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>druid</artifactId>
  101. <version>${druid.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.logging.log4j</groupId>
  105. <artifactId>log4j-api</artifactId>
  106. <version>${log4j2.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.logging.log4j</groupId>
  110. <artifactId>log4j-core</artifactId>
  111. <version>${log4j2.version}</version>
  112. </dependency>
  113. <dependency> <!-- 桥接:告诉Slf4j使用Log4j2 -->
  114. <groupId>org.apache.logging.log4j</groupId>
  115. <artifactId>log4j-slf4j-impl</artifactId>
  116. <version>${log4j2.version}</version>
  117. </dependency>
  118. <dependency> <!-- 桥接:告诉commons logging使用Log4j2 -->
  119. <groupId>org.apache.logging.log4j</groupId>
  120. <artifactId>log4j-jcl</artifactId>
  121. <version>${log4j2.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.slf4j</groupId>
  125. <artifactId>slf4j-api</artifactId>
  126. <version>${slf4j.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.fasterxml.jackson.datatype</groupId>
  130. <artifactId>jackson-datatype-joda</artifactId>
  131. <version>2.9.0.pr3</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.fasterxml.jackson.datatype</groupId>
  135. <artifactId>jackson-datatype-jsr310</artifactId>
  136. <version>2.9.0.pr3</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.projectlombok</groupId>
  140. <artifactId>lombok</artifactId>
  141. <version>1.16.16</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>mysql</groupId>
  145. <artifactId>mysql-connector-java</artifactId>
  146. <version>${mysql.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter-actuator</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.springframework.boot</groupId>
  154. <artifactId>spring-boot-starter-aop</artifactId>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.springframework.cloud</groupId>
  158. <artifactId>spring-cloud-starter-eureka</artifactId>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework.cloud</groupId>
  162. <artifactId>spring-cloud-starter-ribbon</artifactId>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-starter-data-redis</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-starter-jdbc</artifactId>
  171. <exclusions>
  172. <!--使用druid数据源,排除自带的tomcatjdbc-->
  173. <exclusion>
  174. <groupId>org.apache.tomcat</groupId>
  175. <artifactId>tomcat-jdbc</artifactId>
  176. </exclusion>
  177. </exclusions>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-starter-test</artifactId>
  182. <scope>test</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework.boot</groupId>
  186. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework.boot</groupId>
  190. <artifactId>spring-boot-starter-freemarker</artifactId>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-starter-web</artifactId>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.springframework.boot</groupId>
  198. <artifactId>spring-boot-starter</artifactId>
  199. <exclusions>
  200. <!--去除spring boot自带的-->
  201. <exclusion>
  202. <groupId>org.springframework.boot</groupId>
  203. <artifactId>spring-boot-starter-logging</artifactId>
  204. </exclusion>
  205. </exclusions>
  206. </dependency>
  207. <dependency>
  208. <groupId>io.github.openfeign</groupId>
  209. <artifactId>feign-okhttp</artifactId>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.bjlt.spider</groupId>
  213. <artifactId>ip_rpc</artifactId>
  214. <version>0.0.3-SNAPSHOT</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.junit.jupiter</groupId>
  218. <artifactId>junit-jupiter-api</artifactId>
  219. <version>RELEASE</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.squareup.okhttp3</groupId>
  223. <artifactId>okhttp</artifactId>
  224. <version>3.4.1</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>com.alibaba</groupId>
  228. <artifactId>fastjson</artifactId>
  229. <version>1.2.40</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.springframework.boot</groupId>
  233. <artifactId>spring-boot-starter-websocket</artifactId>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.assertj</groupId>
  237. <artifactId>assertj-core</artifactId>
  238. </dependency>
  239. <dependency>
  240. <groupId>com.taobao.sdk</groupId>
  241. <artifactId>taobao</artifactId>
  242. <version>0.0.1</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>javax.mail</groupId>
  246. <artifactId>mail</artifactId>
  247. <version>1.4</version>
  248. </dependency>
  249. </dependencies>
  250. <dependencyManagement>
  251. <dependencies>
  252. <dependency>
  253. <groupId>org.springframework.boot</groupId>
  254. <artifactId>spring-boot-dependencies</artifactId>
  255. <version>${spring-boot.version}</version>
  256. <type>pom</type>
  257. <scope>import</scope>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.springframework.cloud</groupId>
  261. <artifactId>spring-cloud-dependencies</artifactId>
  262. <version>${spring-cloud.version}</version>
  263. <type>pom</type>
  264. <scope>import</scope>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.springframework.boot</groupId>
  268. <artifactId>spring-boot-devtools</artifactId>
  269. <optional>true</optional>
  270. <scope>true</scope>
  271. </dependency>
  272. <!-- <dependency>
  273. <groupId>org.springframework.boot</groupId>
  274. <artifactId>spring-boot-starter-websocket</artifactId>
  275. </dependency>-->
  276. </dependencies>
  277. </dependencyManagement>
  278. <build>
  279. <plugins>
  280. <plugin>
  281. <groupId>org.springframework.boot</groupId>
  282. <artifactId>spring-boot-maven-plugin</artifactId>
  283. <configuration>
  284. <mainClass>com.bjlt.spider.ControlcenterApplication</mainClass>
  285. <fork>true</fork>
  286. </configuration>
  287. <executions>
  288. <execution>
  289. <goals>
  290. <goal>repackage</goal>
  291. </goals>
  292. </execution>
  293. </executions>
  294. </plugin>
  295. <plugin>
  296. <groupId>org.apache.maven.plugins</groupId>
  297. <artifactId>maven-compiler-plugin</artifactId>
  298. <configuration>
  299. <source>${maven.compiler.source}</source>
  300. <target>${maven.compiler.target}</target>
  301. </configuration>
  302. </plugin>
  303. <plugin>
  304. <groupId>org.springframework.boot</groupId>
  305. <artifactId>spring-boot-maven-plugin</artifactId>
  306. <configuration>
  307. <!--fork : 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
  308. <fork>true</fork>
  309. </configuration>
  310. </plugin>
  311. </plugins>
  312. </build>
  313. <repositories>
  314. <repository>
  315. <id>public</id>
  316. <name>public</name>
  317. <url>http://47.95.209.27:8080/nexus/content/groups/public/</url>
  318. <snapshots>
  319. <enabled>true</enabled>
  320. </snapshots>
  321. </repository>
  322. </repositories>
  323. <distributionManagement>
  324. <repository>
  325. <id>releases</id>
  326. <name>releases</name>
  327. <url>http://47.95.209.27:8080/nexus/content/repositories/releases/</url>
  328. </repository>
  329. <snapshotRepository>
  330. <id>snapshots</id>
  331. <name>snapshots</name>
  332. <url>http://47.95.209.27:8080/nexus/content/repositories/snapshots/</url>
  333. </snapshotRepository>
  334. </distributionManagement>
  335. </project>