pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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>mooctest-user</artifactId>
  7. <groupId>cn.iselab.mooctest</groupId>
  8. <version>0.0.1</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>mooctest-user-server</artifactId>
  12. <properties>
  13. <spring.boot.version>2.1.1.RELEASE</spring.boot.version>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>cn.iselab.mooctest</groupId>
  23. <artifactId>user-dubbo-api</artifactId>
  24. <version>1.0.28</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.mybatis.spring.boot</groupId>
  28. <artifactId>mybatis-spring-boot-starter</artifactId>
  29. <version>1.1.1</version>
  30. </dependency>
  31. <!--<dependency>-->
  32. <!--<groupId>cn.iselab.mooctest</groupId>-->
  33. <!--<artifactId>mooctest-user-common</artifactId>-->
  34. <!--<version>0.0.1</version>-->
  35. <!--</dependency>-->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-web</artifactId>
  39. <version>${spring.boot.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  44. <version>${spring.boot.version}</version>
  45. <exclusions>
  46. <exclusion>
  47. <groupId>org.slf4j</groupId>
  48. <artifactId>slf4j-api</artifactId>
  49. </exclusion>
  50. </exclusions>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-mail</artifactId>
  55. <version>${spring.boot.version}</version>
  56. </dependency>
  57. <!-- SMS dependency -->
  58. <dependency>
  59. <groupId>cn.iselab</groupId>
  60. <artifactId>ronglian-sms</artifactId>
  61. <version>1.0.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-data-redis</artifactId>
  66. <version>${spring.boot.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.session</groupId>
  70. <artifactId>spring-session-data-redis</artifactId>
  71. <version>2.1.7.RELEASE</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>net.sourceforge.nekohtml</groupId>
  75. <artifactId>nekohtml</artifactId>
  76. <version>1.9.22</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter</artifactId>
  81. <version>${spring.boot.version}</version>
  82. <exclusions>
  83. <exclusion>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-logging</artifactId>
  86. </exclusion>
  87. </exclusions>
  88. </dependency>
  89. <!-- <dependency>-->
  90. <!-- <groupId>org.apache.logging.log4j</groupId>-->
  91. <!-- <artifactId>log4j-web</artifactId>-->
  92. <!-- <version>2.4.1</version>-->
  93. <!-- </dependency>-->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-log4j2</artifactId>
  97. <version>${spring.boot.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-configuration-processor</artifactId>
  102. <version>${spring.boot.version}</version>
  103. <optional>true</optional>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-test</artifactId>
  108. <version>${spring.boot.version}</version>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-data-jpa</artifactId>
  114. <version>${spring.boot.version}</version>
  115. <exclusions>
  116. <exclusion>
  117. <groupId>org.springframework</groupId>
  118. <artifactId>spring-context</artifactId>
  119. </exclusion>
  120. <exclusion>
  121. <groupId>org.springframework</groupId>
  122. <artifactId>spring-beans</artifactId>
  123. </exclusion>
  124. <exclusion>
  125. <groupId>org.jboss.logging</groupId>
  126. <artifactId>jboss-logging</artifactId>
  127. </exclusion>
  128. <exclusion>
  129. <groupId>org.jboss.logging</groupId>
  130. <artifactId>jboss-logging-annotations</artifactId>
  131. </exclusion>
  132. <exclusion>
  133. <groupId>org.slf4j</groupId>
  134. <artifactId>slf4j-api</artifactId>
  135. </exclusion>
  136. </exclusions>
  137. </dependency>
  138. <!--<dependency>-->
  139. <!--<groupId>org.springframework.boot</groupId>-->
  140. <!--<artifactId>spring-boot-devtools</artifactId>-->
  141. <!--<version>${spring.boot.version}</version>-->
  142. <!--<optional>true</optional>-->
  143. <!--</dependency>-->
  144. <dependency>
  145. <groupId>org.jboss.spec.javax.servlet</groupId>
  146. <artifactId>jboss-servlet-api_3.1_spec</artifactId>
  147. <version>1.0.0.Final</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>io.dubbo.springboot</groupId>
  151. <artifactId>spring-boot-starter-dubbo</artifactId>
  152. <version>1.0.0</version>
  153. <exclusions>
  154. <exclusion>
  155. <groupId>org.javassist</groupId>
  156. <artifactId>javassist</artifactId>
  157. </exclusion>
  158. <exclusion>
  159. <groupId>org.slf4j</groupId>
  160. <artifactId>slf4j-log4j12</artifactId>
  161. </exclusion>
  162. </exclusions>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.101tec</groupId>
  166. <artifactId>zkclient</artifactId>
  167. <version>0.10</version>
  168. <exclusions>
  169. <exclusion>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>slf4j-log4j12</artifactId>
  172. </exclusion>
  173. <exclusion>
  174. <groupId>org.slf4j</groupId>
  175. <artifactId>slf4j-api</artifactId>
  176. </exclusion>
  177. </exclusions>
  178. </dependency>
  179. <dependency>
  180. <groupId>mysql</groupId>
  181. <artifactId>mysql-connector-java</artifactId>
  182. <version>8.0.11</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.projectlombok</groupId>
  186. <artifactId>lombok</artifactId>
  187. <version>1.16.6</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.fasterxml.jackson.core</groupId>
  191. <artifactId>jackson-databind</artifactId>
  192. <version>2.6.3</version>
  193. <exclusions>
  194. <exclusion>
  195. <groupId>com.fasterxml.jackson.core</groupId>
  196. <artifactId>jackson-annotations</artifactId>
  197. </exclusion>
  198. </exclusions>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.fasterxml.jackson.dataformat</groupId>
  202. <artifactId>jackson-dataformat-yaml</artifactId>
  203. <version>2.6.3</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.lmax</groupId>
  207. <artifactId>disruptor</artifactId>
  208. <version>3.4.2</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>net.dongliu</groupId>
  212. <artifactId>requests</artifactId>
  213. <version>4.7.3</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>cn.iselab</groupId>
  217. <artifactId>ronglian-sms</artifactId>
  218. <version>1.0.0</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.apache.httpcomponents</groupId>
  222. <artifactId>httpclient</artifactId>
  223. <version>4.4.1</version>
  224. </dependency>
  225. <!-- Apache commons validator -->
  226. <dependency>
  227. <groupId>commons-validator</groupId>
  228. <artifactId>commons-validator</artifactId>
  229. <version>1.4.1</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.springframework.cloud</groupId>
  233. <artifactId>spring-cloud-starter-zookeeper-config</artifactId>
  234. </dependency>
  235. <dependency>
  236. <groupId>com.itextpdf</groupId>
  237. <artifactId>itextpdf</artifactId>
  238. <version>5.5.10</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>com.itextpdf</groupId>
  242. <artifactId>itext-asian</artifactId>
  243. <version>5.2.0</version>
  244. </dependency>
  245. <!--aliyun -->
  246. <dependency>
  247. <groupId>com.aliyun.oss</groupId>
  248. <artifactId>aliyun-sdk-oss</artifactId>
  249. <version>2.8.2</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.json</groupId>
  253. <artifactId>json</artifactId>
  254. <version>20160810</version>
  255. </dependency>
  256. </dependencies>
  257. <dependencyManagement>
  258. <dependencies>
  259. <dependency>
  260. <groupId>org.springframework.cloud</groupId>
  261. <artifactId>spring-cloud-dependencies</artifactId>
  262. <version>Greenwich.SR2</version>
  263. <type>pom</type>
  264. <scope>import</scope>
  265. </dependency>
  266. </dependencies>
  267. </dependencyManagement>
  268. <build>
  269. <finalName>${project.artifactId}</finalName>
  270. <plugins>
  271. <plugin>
  272. <groupId>org.springframework.boot</groupId>
  273. <artifactId>spring-boot-maven-plugin</artifactId>
  274. <version>${spring.boot.version}</version>
  275. <executions>
  276. <execution>
  277. <goals>
  278. <goal>repackage</goal>
  279. </goals>
  280. </execution>
  281. </executions>
  282. </plugin>
  283. <plugin>
  284. <groupId>org.apache.maven.plugins</groupId>
  285. <artifactId>maven-deploy-plugin</artifactId>
  286. <version>2.7</version>
  287. <configuration>
  288. <skip>true</skip>
  289. </configuration>
  290. </plugin>
  291. <plugin>
  292. <groupId>org.apache.maven.plugins</groupId>
  293. <artifactId>maven-compiler-plugin</artifactId>
  294. <version>3.6.0</version>
  295. <configuration>
  296. <source>1.8</source>
  297. <target>1.8</target>
  298. </configuration>
  299. </plugin>
  300. </plugins>
  301. </build>
  302. </project>