pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  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>org.jeecgframework.boot</groupId>
  5. <artifactId>jeecg-boot-parent</artifactId>
  6. <version>2.0.2</version>
  7. <packaging>pom</packaging>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>2.1.3.RELEASE</version>
  12. <relativePath/>
  13. </parent>
  14. <modules>
  15. <module>jeecg-boot-base-common</module>
  16. <module>module-common</module>
  17. <module>module-crawler</module>
  18. <module>module-kuaishou</module>
  19. <module>module-toutiao</module>
  20. <module>module-media</module>
  21. <module>module-report</module>
  22. <module>jeecg-boot-module-system</module>
  23. </modules>
  24. <distributionManagement>
  25. <repository>
  26. <id>jeecg</id>
  27. <name>jeecg Repository</name>
  28. <url>http://maven.jeecg.com:8090/nexus/content/repositories/jeecg</url>
  29. </repository>
  30. <snapshotRepository>
  31. <id>jeecg-snapshots</id>
  32. <name>jeecg Snapshot Repository</name>
  33. <url>http://maven.jeecg.com:8090/nexus/content/repositories/snapshots/</url>
  34. </snapshotRepository>
  35. </distributionManagement>
  36. <repositories>
  37. <repository>
  38. <id>bintray-americanexpress-maven</id>
  39. <url>https://dl.bintray.com/americanexpress/maven</url>
  40. </repository>
  41. <repository>
  42. <id>aliyun</id>
  43. <name>aliyun Repository</name>
  44. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  45. <snapshots>
  46. <enabled>false</enabled>
  47. </snapshots>
  48. </repository>
  49. <repository>
  50. <id>jeecg</id>
  51. <name>jeecg Repository</name>
  52. <url>http://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  53. <snapshots>
  54. <enabled>false</enabled>
  55. </snapshots>
  56. </repository>
  57. <repository>
  58. <id>maven-3rdparty</id>
  59. <url>https://packages.atlassian.com/maven-3rdparty/</url>
  60. </repository>
  61. </repositories>
  62. <properties>
  63. <jeecgboot.common.version>2.0.2</jeecgboot.common.version>
  64. <java.version>1.8</java.version>
  65. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  66. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  67. <mybatis-plus.version>3.0.6</mybatis-plus.version>
  68. <druid.version>1.1.10</druid.version>
  69. <commons.version>2.6</commons.version>
  70. <aliyun-java-sdk-core.version>3.2.3</aliyun-java-sdk-core.version>
  71. <aliyun-java-sdk-dysmsapi.version>1.0.0</aliyun-java-sdk-dysmsapi.version>
  72. </properties>
  73. <dependencies>
  74. <!--集成springmvc框架并实现自动配置 -->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-web</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-mail</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-test</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-aop</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-actuator</artifactId>
  95. </dependency>
  96. <!-- <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-devtools</artifactId>
  99. <optional>true</optional>
  100. </dependency> -->
  101. <!-- commons -->
  102. <dependency>
  103. <groupId>commons-io</groupId>
  104. <artifactId>commons-io</artifactId>
  105. <version>${commons.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>commons-lang</groupId>
  109. <artifactId>commons-lang</artifactId>
  110. <version>${commons.version}</version>
  111. </dependency>
  112. <!-- freemarker -->
  113. <dependency>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-starter-freemarker</artifactId>
  116. </dependency>
  117. <!-- Lombok -->
  118. <dependency>
  119. <groupId>org.projectlombok</groupId>
  120. <artifactId>lombok</artifactId>
  121. </dependency>
  122. <!-- mybatis-plus -->
  123. <dependency>
  124. <groupId>com.baomidou</groupId>
  125. <artifactId>mybatis-plus-boot-starter</artifactId>
  126. <version>${mybatis-plus.version}</version>
  127. </dependency>
  128. <!-- druid -->
  129. <dependency>
  130. <groupId>com.alibaba</groupId>
  131. <artifactId>druid-spring-boot-starter</artifactId>
  132. <version>${druid.version}</version>
  133. </dependency>
  134. <!-- 动态数据源 -->
  135. <dependency>
  136. <groupId>com.baomidou</groupId>
  137. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  138. <version>2.5.4</version>
  139. </dependency>
  140. <!-- json -->
  141. <dependency>
  142. <groupId>com.alibaba</groupId>
  143. <artifactId>fastjson</artifactId>
  144. <version>1.2.56</version>
  145. </dependency>
  146. <!--mysql-->
  147. <dependency>
  148. <groupId>mysql</groupId>
  149. <artifactId>mysql-connector-java</artifactId>
  150. <version>5.1.47</version>
  151. <scope>runtime</scope>
  152. </dependency>
  153. <!--sqlserver-->
  154. <dependency>
  155. <groupId>net.sourceforge.jtds</groupId>
  156. <artifactId>jtds</artifactId>
  157. <version>1.3.1</version>
  158. <scope>runtime</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.microsoft.sqlserver</groupId>
  162. <artifactId>mssql-jdbc</artifactId>
  163. <version>7.2.1.jre8</version>
  164. <scope>runtime</scope>
  165. </dependency>
  166. <!-- Quartz定时任务 -->
  167. <dependency>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-starter-quartz</artifactId>
  170. </dependency>
  171. <!--JWT-->
  172. <dependency>
  173. <groupId>com.auth0</groupId>
  174. <artifactId>java-jwt</artifactId>
  175. <version>3.7.0</version>
  176. </dependency>
  177. <!--shiro-->
  178. <dependency>
  179. <groupId>org.apache.shiro</groupId>
  180. <artifactId>shiro-spring-boot-starter</artifactId>
  181. <version>1.4.0</version>
  182. </dependency>
  183. <!-- Swagger API文档 -->
  184. <dependency>
  185. <groupId>io.springfox</groupId>
  186. <artifactId>springfox-swagger2</artifactId>
  187. <version>2.9.2</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>io.springfox</groupId>
  191. <artifactId>springfox-swagger-ui</artifactId>
  192. <version>2.9.2</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.github.xiaoymin</groupId>
  196. <artifactId>swagger-bootstrap-ui</artifactId>
  197. <version>1.9.3</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>io.springfox</groupId>
  201. <artifactId>springfox-bean-validators</artifactId>
  202. <version>2.9.2</version>
  203. </dependency>
  204. <!-- Redis -->
  205. <dependency>
  206. <groupId>org.springframework.boot</groupId>
  207. <artifactId>spring-boot-starter-data-redis</artifactId>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.apache.commons</groupId>
  211. <artifactId>commons-pool2</artifactId>
  212. </dependency>
  213. <!-- 代码生成器 -->
  214. <!-- 如果下载失败,看这个链接http://jeecg-boot.mydoc.io/?t=344850 -->
  215. <dependency>
  216. <groupId>org.jeecgframework.boot</groupId>
  217. <artifactId>codegenerate</artifactId>
  218. <version>1.0.5</version>
  219. </dependency>
  220. <!-- AutoPoi Excel工具类-->
  221. <dependency>
  222. <groupId>org.jeecgframework</groupId>
  223. <artifactId>autopoi-web</artifactId>
  224. <version>1.0.3</version>
  225. <exclusions>
  226. <exclusion>
  227. <groupId>commons-codec</groupId>
  228. <artifactId>commons-codec</artifactId>
  229. </exclusion>
  230. </exclusions>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.apache.httpcomponents</groupId>
  234. <artifactId>httpclient</artifactId>
  235. <version>4.5.9</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.apache.httpcomponents</groupId>
  239. <artifactId>httpcore</artifactId>
  240. <version>4.4</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>com.squareup.retrofit2</groupId>
  244. <artifactId>retrofit</artifactId>
  245. <version>2.6.0</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>com.graphql-java</groupId>
  249. <artifactId>graphql-java</artifactId>
  250. <version>13.0</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>org.mountcloud</groupId>
  254. <artifactId>graphql-client</artifactId>
  255. <version>1.2</version>
  256. </dependency>
  257. <!-- <dependency>-->
  258. <!-- <groupId>io.aexp.nodes.graphql</groupId>-->
  259. <!-- <artifactId>nodes</artifactId>-->
  260. <!-- <version>0.4.0</version>-->
  261. <!-- </dependency>-->
  262. <dependency>
  263. <groupId>org.apache.pdfbox</groupId>
  264. <artifactId>fontbox</artifactId>
  265. <version>2.0.15</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.seleniumhq.selenium</groupId>
  269. <artifactId>selenium-java</artifactId>
  270. <version>3.14.0</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.json</groupId>
  274. <artifactId>json</artifactId>
  275. <version>LATEST</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>com.google.guava</groupId>
  279. <artifactId>guava</artifactId>
  280. <version>25.0-jre</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>us.codecraft</groupId>
  284. <artifactId>webmagic-core</artifactId>
  285. <version>0.7.3</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>us.codecraft</groupId>
  289. <artifactId>webmagic-extension</artifactId>
  290. <version>0.7.3</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>net.sourceforge.htmlunit</groupId>
  294. <artifactId>htmlunit</artifactId>
  295. <version>2.35.0</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>commons-codec</groupId>
  299. <artifactId>commons-codec</artifactId>
  300. <version>1.11</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>cn.hutool</groupId>
  304. <artifactId>hutool-all</artifactId>
  305. <version>4.5.11</version>
  306. </dependency>
  307. <!-- 阿里云短信 -->
  308. <dependency>
  309. <groupId>com.aliyun</groupId>
  310. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  311. <version>${aliyun-java-sdk-dysmsapi.version}</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>com.aliyun</groupId>
  315. <artifactId>aliyun-java-sdk-core</artifactId>
  316. <version>${aliyun-java-sdk-core.version}</version>
  317. </dependency>
  318. </dependencies>
  319. <dependencyManagement>
  320. <dependencies>
  321. <!-- jeecg-boot-base-common -->
  322. <dependency>
  323. <groupId>org.jeecgframework.boot</groupId>
  324. <artifactId>jeecg-boot-base-common</artifactId>
  325. <version>${jeecgboot.common.version}</version>
  326. </dependency>
  327. </dependencies>
  328. </dependencyManagement>
  329. <build>
  330. <plugins>
  331. <!--<plugin>
  332. <groupId>org.springframework.boot</groupId>
  333. <artifactId>spring-boot-maven-plugin</artifactId>
  334. </plugin>
  335. 指定JDK编译版本 -->
  336. <plugin>
  337. <groupId>org.apache.maven.plugins</groupId>
  338. <artifactId>maven-compiler-plugin</artifactId>
  339. <configuration>
  340. <source>1.8</source>
  341. <target>1.8</target>
  342. <encoding>UTF-8</encoding>
  343. </configuration>
  344. </plugin>
  345. <!-- 打包跳过测试 -->
  346. <plugin>
  347. <groupId>org.apache.maven.plugins</groupId>
  348. <artifactId>maven-surefire-plugin</artifactId>
  349. <configuration>
  350. <skipTests>true</skipTests>
  351. </configuration>
  352. </plugin>
  353. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  354. <plugin>
  355. <groupId>org.apache.maven.plugins</groupId>
  356. <artifactId>maven-resources-plugin</artifactId>
  357. <configuration>
  358. <nonFilteredFileExtensions>
  359. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  360. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  361. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  362. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  363. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  364. </nonFilteredFileExtensions>
  365. </configuration>
  366. </plugin>
  367. </plugins>
  368. <resources>
  369. <resource>
  370. <directory>src/main/resources</directory>
  371. <filtering>true</filtering>
  372. </resource>
  373. <resource>
  374. <directory>src/main/java</directory>
  375. <includes>
  376. <include>**/*.xml</include>
  377. <include>**/*.json</include>
  378. <include>**/*.ftl</include>
  379. </includes>
  380. </resource>
  381. </resources>
  382. </build>
  383. </project>