pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.springframework.boot</groupId>
  5. <artifactId>spring-boot-starter-parent</artifactId>
  6. <version>1.5.18.RELEASE</version>
  7. <relativePath/>
  8. </parent>
  9. <artifactId>ssj-sys</artifactId>
  10. <packaging>war</packaging>
  11. <name>ssj-sys</name>
  12. <description>后台管理平台</description>
  13. <properties>
  14. <java.version>1.8</java.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <commons-lang.version>3.4</commons-lang.version>
  18. <commons-codec.version>1.10</commons-codec.version>
  19. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  20. <fastjson.version>1.2.71</fastjson.version>
  21. <org.jsoup.version>1.9.2</org.jsoup.version>
  22. <org.springframework.version>1.5.18.RELEASE</org.springframework.version>
  23. <!--以下两项需要如果不配置,解析themleaft 会有问题-->
  24. <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>
  25. <thymeleaf-layout-dialect.version>2.0.5</thymeleaf-layout-dialect.version>
  26. </properties>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. <exclusions>
  32. <exclusion>
  33. <groupId>org.slf4j</groupId>
  34. <artifactId>slf4j-log4j12</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <!-- 文件上传依赖 -->
  39. <dependency>
  40. <groupId>commons-fileupload</groupId>
  41. <artifactId>commons-fileupload</artifactId>
  42. <version>${commons-fileupload.version}</version>
  43. </dependency>
  44. <!-- commons-io -->
  45. <dependency>
  46. <groupId>org.apache.commons</groupId>
  47. <artifactId>commons-lang3</artifactId>
  48. <version>${commons-lang.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>commons-codec</groupId>
  52. <artifactId>commons-codec</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>commons-beanutils</groupId>
  56. <artifactId>commons-beanutils</artifactId>
  57. <exclusions>
  58. <exclusion>
  59. <groupId>commons-logging</groupId>
  60. <artifactId>commons-logging</artifactId>
  61. </exclusion>
  62. </exclusions>
  63. <version>1.9.3</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.alibaba</groupId>
  67. <artifactId>fastjson</artifactId>
  68. <version>${fastjson.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>mysql</groupId>
  72. <artifactId>mysql-connector-java</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-data-redis</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.session</groupId>
  80. <artifactId>spring-session-data-redis</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-data-jpa</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-amqp</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-aop</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.baomidou</groupId>
  100. <artifactId>mybatis-plus-boot-starter</artifactId>
  101. <version>3.2.0</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.squareup.okhttp3</groupId>
  105. <artifactId>okhttp</artifactId>
  106. <version>3.13.1</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.aliyun.oss</groupId>
  110. <artifactId>aliyun-sdk-oss</artifactId>
  111. <version>3.4.2</version>
  112. </dependency>
  113. <!-- 环信即时通讯-->
  114. <dependency>
  115. <groupId>com.easemob</groupId>
  116. <artifactId>rest-java-sdk</artifactId>
  117. <version>1.0.5</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.httpcomponents</groupId>
  121. <artifactId>httpcore</artifactId>
  122. <version>4.4.10</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.httpcomponents</groupId>
  126. <artifactId>httpclient</artifactId>
  127. <version>4.5.6</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>redis.clients</groupId>
  131. <artifactId>jedis</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>cn.afterturn</groupId>
  135. <artifactId>easypoi-base</artifactId>
  136. <version>3.3.0</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>cn.afterturn</groupId>
  140. <artifactId>easypoi-web</artifactId>
  141. <version>3.3.0</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>cn.afterturn</groupId>
  145. <artifactId>easypoi-annotation</artifactId>
  146. <version>3.3.0</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.google.code.gson</groupId>
  150. <artifactId>gson</artifactId>
  151. <version>2.8.5</version>
  152. </dependency>
  153. <!--easyexcel -->
  154. <dependency>
  155. <groupId>com.alibaba</groupId>
  156. <artifactId>easyexcel</artifactId>
  157. <version>3.0.5</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>io.swagger</groupId>
  161. <artifactId>swagger-annotations</artifactId>
  162. <version>1.5.13</version>
  163. <scope>compile</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.alipay.sdk</groupId>
  167. <artifactId>alipay-sdk-java</artifactId>
  168. <version>3.6.0.ALL</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.google.zxing</groupId>
  172. <artifactId>core</artifactId>
  173. <version>3.0.0</version>
  174. <scope>compile</scope>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.google.zxing</groupId>
  178. <artifactId>javase</artifactId>
  179. <version>3.0.0</version>
  180. <scope>compile</scope>
  181. </dependency>
  182. <dependency>
  183. <groupId>org</groupId>
  184. <artifactId>jaudiotagger</artifactId>
  185. <version>2.0.3</version>
  186. <scope>compile</scope>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework.session</groupId>
  190. <artifactId>spring-session</artifactId>
  191. <version>1.3.4.RELEASE</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>cn.jpush.api</groupId>
  195. <artifactId>jpush-client</artifactId>
  196. <version>3.4.3</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>cn.jpush.api</groupId>
  200. <artifactId>jiguang-common</artifactId>
  201. <version>1.1.7</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.google.code.gson</groupId>
  205. <artifactId>gson</artifactId>
  206. <version>2.8.5</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.alibaba</groupId>
  210. <artifactId>druid</artifactId>
  211. <version>1.1.19</version>
  212. </dependency>
  213. <!-- 任务调度quartz -->
  214. <dependency>
  215. <groupId>org.quartz-scheduler</groupId>
  216. <artifactId>quartz</artifactId>
  217. <version>2.2.3</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.quartz-scheduler</groupId>
  221. <artifactId>quartz-jobs</artifactId>
  222. <version>2.2.3</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.springframework.boot</groupId>
  226. <artifactId>spring-boot-starter-mail</artifactId>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.github.wechatpay-apiv3</groupId>
  230. <artifactId>wechatpay-apache-httpclient</artifactId>
  231. <version>0.2.2</version>
  232. </dependency>
  233. </dependencies>
  234. <!-- Package as an executable jar -->
  235. <build>
  236. <!-- 产生的构件的文件名,默认值是${artifactId}-${version}。 -->
  237. <finalName>${project.artifactId}</finalName>
  238. <resources>
  239. <resource>
  240. <directory>src/main/resources/</directory>
  241. <filtering>true</filtering>
  242. <includes>
  243. <include>**/*.properties</include>
  244. </includes>
  245. </resource>
  246. <resource>
  247. <directory>src/main/resources</directory>
  248. <includes>
  249. <include>**.*</include>
  250. <include>**/*.*</include><!-- i18n能读取到 -->
  251. <include>**/*/*.*</include>
  252. </includes>
  253. </resource>
  254. </resources>
  255. <plugins>
  256. <plugin>
  257. <artifactId>maven-resources-plugin</artifactId>
  258. <configuration>
  259. <encoding>utf-8</encoding>
  260. <useDefaultDelimiters>true</useDefaultDelimiters>
  261. </configuration>
  262. </plugin>
  263. </plugins>
  264. </build>
  265. <profiles>
  266. <profile>
  267. <id>dev</id>
  268. <properties>
  269. <!-- 环境标识,需要与配置文件的名称相对应 -->
  270. <activatedProperties>common-dev</activatedProperties>
  271. </properties>
  272. <activation>
  273. <!-- 默认环境 -->
  274. <activeByDefault>true</activeByDefault>
  275. </activation>
  276. </profile>
  277. <profile>
  278. <id>prod</id>
  279. <properties>
  280. <activatedProperties>common-prod</activatedProperties>
  281. </properties>
  282. </profile>
  283. </profiles>
  284. </project>