pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  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.ssj</groupId>
  6. <artifactId>ssj</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <name>sharingschool</name>
  10. <description>私塾家平台</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>1.5.18.RELEASE</version>
  15. <relativePath/>
  16. </parent>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <commons-lang.version>3.4</commons-lang.version>
  22. <commons-codec.version>1.10</commons-codec.version>
  23. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  24. <fastjson.version>1.2.70</fastjson.version>
  25. <org.jsoup.version>1.9.2</org.jsoup.version>
  26. <com.baidu.aip.version>3.2.0</com.baidu.aip.version>
  27. <org.springframework.version>4.2.5.RELEASE</org.springframework.version>
  28. <!--以下两项需要如果不配置,解析themleaft 会有问题-->
  29. <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>
  30. <thymeleaf-layout-dialect.version>2.0.5</thymeleaf-layout-dialect.version>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. <exclusions>
  37. <exclusion>
  38. <groupId>org.slf4j</groupId>
  39. <artifactId>slf4j-log4j12</artifactId>
  40. </exclusion>
  41. </exclusions>
  42. </dependency>
  43. <!--dubbo 提供的和 springboot 整合的依赖-->
  44. <dependency>
  45. <groupId>com.alibaba.boot</groupId>
  46. <artifactId>dubbo-spring-boot-starter</artifactId>
  47. <version>0.1.1</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>ch.qos.logback</groupId>
  51. <artifactId>logback-classic</artifactId>
  52. <exclusions>
  53. <exclusion>
  54. <groupId>org.slf4j</groupId>
  55. <artifactId>slf4j-log4j12</artifactId>
  56. </exclusion>
  57. </exclusions>
  58. </dependency>
  59. <!-- 文件上传依赖 -->
  60. <dependency>
  61. <groupId>commons-fileupload</groupId>
  62. <artifactId>commons-fileupload</artifactId>
  63. <version>${commons-fileupload.version}</version>
  64. </dependency>
  65. <!-- commons-io -->
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-lang3</artifactId>
  69. <version>${commons-lang.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>commons-codec</groupId>
  73. <artifactId>commons-codec</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>commons-beanutils</groupId>
  77. <artifactId>commons-beanutils</artifactId>
  78. <exclusions>
  79. <exclusion>
  80. <groupId>commons-logging</groupId>
  81. <artifactId>commons-logging</artifactId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>fastjson</artifactId>
  88. <version>${fastjson.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-data-jpa</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>mysql</groupId>
  96. <artifactId>mysql-connector-java</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-data-redis</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework.session</groupId>
  104. <artifactId>spring-session-data-redis</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-cache</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-aop</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>net.logstash.logback</groupId>
  120. <artifactId>logstash-logback-encoder</artifactId>
  121. <version>5.0</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>io.springfox</groupId>
  125. <artifactId>springfox-swagger2</artifactId>
  126. <version>2.7.0</version>
  127. </dependency>
  128. <!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
  129. <dependency>
  130. <groupId>com.alibaba</groupId>
  131. <artifactId>druid</artifactId>
  132. <version>1.1.19</version>
  133. </dependency>
  134. </dependencies>
  135. <dependencyManagement>
  136. <!-- 模块说明:这里声明多个子模块 -->
  137. <dependencies>
  138. <!--子版本依赖-->
  139. <dependency>
  140. <groupId>com.ssj</groupId>
  141. <artifactId>ssj-bean</artifactId>
  142. <version>0.0.1-SNAPSHOT</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.ssj</groupId>
  146. <artifactId>ssj-dao</artifactId>
  147. <version>0.0.1-SNAPSHOT</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.ssj</groupId>
  151. <artifactId>ssj-mybatis-service-impl</artifactId>
  152. <version>0.0.1-SNAPSHOT</version>
  153. </dependency>
  154. <!-- 新增模块 -->
  155. <dependency>
  156. <groupId>com.ssj</groupId>
  157. <artifactId>ssj-common-bean</artifactId>
  158. <version>0.0.1-SNAPSHOT</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.ssj</groupId>
  162. <artifactId>ssj-common-service</artifactId>
  163. <version>0.0.1-SNAPSHOT</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.ssj</groupId>
  167. <artifactId>ssj-common-alipay</artifactId>
  168. <version>0.0.1-SNAPSHOT</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.ssj</groupId>
  172. <artifactId>ssj-common-aliyun-sms</artifactId>
  173. <version>0.0.1-SNAPSHOT</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.ssj</groupId>
  177. <artifactId>ssj-common-baidu-aipface</artifactId>
  178. <version>0.0.1-SNAPSHOT</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.ssj</groupId>
  182. <artifactId>ssj-common-common</artifactId>
  183. <version>0.0.1-SNAPSHOT</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.ssj</groupId>
  187. <artifactId>ssj-common-config</artifactId>
  188. <version>0.0.1-SNAPSHOT</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.ssj</groupId>
  192. <artifactId>ssj-common-easemob</artifactId>
  193. <version>0.0.1-SNAPSHOT</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.ssj</groupId>
  197. <artifactId>ssj-common-elasticsearch</artifactId>
  198. <version>0.0.1-SNAPSHOT</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.ssj</groupId>
  202. <artifactId>ssj-common-excel</artifactId>
  203. <version>0.0.1-SNAPSHOT</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.ssj</groupId>
  207. <artifactId>ssj-common-file</artifactId>
  208. <version>0.0.1-SNAPSHOT</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.ssj</groupId>
  212. <artifactId>ssj-common-oss</artifactId>
  213. <version>0.0.1-SNAPSHOT</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.ssj</groupId>
  217. <artifactId>ssj-common-rabbitmq</artifactId>
  218. <version>0.0.1-SNAPSHOT</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.ssj</groupId>
  222. <artifactId>ssj-common-solr</artifactId>
  223. <version>0.0.1-SNAPSHOT</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>com.ssj</groupId>
  227. <artifactId>ssj-common-ueditor</artifactId>
  228. <version>0.0.1-SNAPSHOT</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>com.ssj</groupId>
  232. <artifactId>ssj-common-weixin</artifactId>
  233. <version>0.0.1-SNAPSHOT</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>com.ssj</groupId>
  237. <artifactId>ssj-common-weixin-pay</artifactId>
  238. <version>0.0.1-SNAPSHOT</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>com.ssj</groupId>
  242. <artifactId>ssj-common-xunfei</artifactId>
  243. <version>0.0.1-SNAPSHOT</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>com.ssj</groupId>
  247. <artifactId>ssj-common-cmb</artifactId>
  248. <version>0.0.1-SNAPSHOT</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.ssj</groupId>
  252. <artifactId>ssj-common-controller</artifactId>
  253. <version>0.0.1-SNAPSHOT</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>com.ssj</groupId>
  257. <artifactId>ssj-common-jiguang</artifactId>
  258. <version>0.0.1-SNAPSHOT</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>com.ssj</groupId>
  262. <artifactId>ssj-kmt-exercise-api</artifactId>
  263. <version>0.0.1-SNAPSHOT</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>com.ssj</groupId>
  267. <artifactId>ssj-kmt-exercise-service</artifactId>
  268. <version>0.0.1-SNAPSHOT</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>com.ssj</groupId>
  272. <artifactId>ssj-kmt-exercise-service-impl</artifactId>
  273. <version>0.0.1-SNAPSHOT</version>
  274. </dependency>
  275. </dependencies>
  276. </dependencyManagement>
  277. <modules>
  278. <module>ssj-sys</module>
  279. <module>ssj-timer-task</module>
  280. <module>ssj-dao</module>
  281. <module>ssj-bean</module>
  282. <module>ssj-weixin</module>
  283. <module>ssj-kmt</module>
  284. <module>ssj-weixin-api</module>
  285. <module>ssj-mybatis-service-impl</module>
  286. <module>ssj-common-file</module>
  287. <module>ssj-common-oss</module>
  288. <module>ssj-common-alipay</module>
  289. <module>ssj-common-aliyun-sms</module>
  290. <module>ssj-common-baidu-aipface</module>
  291. <module>ssj-common-bean</module>
  292. <module>ssj-common-common</module>
  293. <module>ssj-common-controller</module>
  294. <module>ssj-common-easemob</module>
  295. <module>ssj-common-elasticsearch</module>
  296. <module>ssj-common-excel</module>
  297. <module>ssj-common-rabbitmq</module>
  298. <module>ssj-common-service</module>
  299. <module>ssj-common-solr</module>
  300. <module>ssj-common-ueditor</module>
  301. <module>ssj-common-weixin</module>
  302. <module>ssj-common-weixin-pay</module>
  303. <module>ssj-common-jiguang</module>
  304. <module>ssj-common-xunfei</module>
  305. <module>ssj-common-config</module>
  306. <module>ssj-common-cmb</module>
  307. <module>ssj-aijia-service</module>
  308. <module>ssj-sys-service</module>
  309. <module>ssj-common-mongodb</module>
  310. <module>ssj-kmt-exercise-api</module>
  311. <module>ssj-kmt-exercise-service</module>
  312. <module>ssj-kmt-exercise-service-impl</module>
  313. </modules>
  314. <!-- Package as an executable jar -->
  315. <build>
  316. <!-- 产生的构件的文件名,默认值是${artifactId}-${version}。 -->
  317. <finalName>${project.artifactId}</finalName>
  318. <resources>
  319. <resource>
  320. <directory>src/main/resources/</directory>
  321. <filtering>true</filtering>
  322. <includes>
  323. <include>**/*.properties</include>
  324. </includes>
  325. </resource>
  326. <resource>
  327. <directory>src/main/resources</directory>
  328. <includes>
  329. <include>**.*</include>
  330. <include>**/*.*</include><!-- i18n能读取到 -->
  331. <include>**/*/*.*</include>
  332. </includes>
  333. </resource>
  334. </resources>
  335. <plugins>
  336. <plugin>
  337. <artifactId>maven-resources-plugin</artifactId>
  338. <configuration>
  339. <encoding>utf-8</encoding>
  340. <useDefaultDelimiters>true</useDefaultDelimiters>
  341. </configuration>
  342. </plugin>
  343. </plugins>
  344. </build>
  345. <profiles>
  346. <profile>
  347. <id>dev</id>
  348. <properties>
  349. <!-- 环境标识,需要与配置文件的名称相对应 -->
  350. <activatedProperties>common-dev</activatedProperties>
  351. </properties>
  352. </profile>
  353. <!-- 本地启动环境 -->
  354. <profile>
  355. <id>local</id>
  356. <properties>
  357. <!-- 环境标识,需要与配置文件的名称相对应 -->
  358. <activatedProperties>common-local</activatedProperties>
  359. </properties>
  360. </profile>
  361. <profile>
  362. <id>test</id>
  363. <properties>
  364. <activatedProperties>common-test</activatedProperties>
  365. </properties>
  366. <activation>
  367. <!-- 默认环境 -->
  368. <activeByDefault>true</activeByDefault>
  369. </activation>
  370. </profile>
  371. <profile>
  372. <id>test-task</id>
  373. <properties>
  374. <activatedProperties>common-test-task</activatedProperties>
  375. </properties>
  376. </profile>
  377. <profile>
  378. <id>prod</id>
  379. <properties>
  380. <activatedProperties>common-prod</activatedProperties>
  381. </properties>
  382. </profile>
  383. <profile>
  384. <id>prod-task</id>
  385. <properties>
  386. <activatedProperties>common-task</activatedProperties>
  387. </properties>
  388. </profile>
  389. <profile>
  390. <id>shixun</id>
  391. <properties>
  392. <activatedProperties>common-shixun</activatedProperties>
  393. </properties>
  394. </profile>
  395. <profile>
  396. <id>mycat</id>
  397. <properties>
  398. <activatedProperties>common-mycat</activatedProperties>
  399. </properties>
  400. </profile>
  401. <profile>
  402. <id>exercise-test</id>
  403. <properties>
  404. <activatedProperties>common-exercise-test</activatedProperties>
  405. </properties>
  406. </profile>
  407. <profile>
  408. <id>exercise-prod</id>
  409. <properties>
  410. <activatedProperties>common-exercise-prod</activatedProperties>
  411. </properties>
  412. </profile>
  413. </profiles>
  414. </project>