pom.xml 12 KB

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