pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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. <dependency>
  154. <groupId>io.swagger</groupId>
  155. <artifactId>swagger-annotations</artifactId>
  156. <version>1.5.13</version>
  157. <scope>compile</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.alipay.sdk</groupId>
  161. <artifactId>alipay-sdk-java</artifactId>
  162. <version>3.6.0.ALL</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.google.zxing</groupId>
  166. <artifactId>core</artifactId>
  167. <version>3.0.0</version>
  168. <scope>compile</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.google.zxing</groupId>
  172. <artifactId>javase</artifactId>
  173. <version>3.0.0</version>
  174. <scope>compile</scope>
  175. </dependency>
  176. <dependency>
  177. <groupId>org</groupId>
  178. <artifactId>jaudiotagger</artifactId>
  179. <version>2.0.3</version>
  180. <scope>compile</scope>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.springframework.session</groupId>
  184. <artifactId>spring-session</artifactId>
  185. <version>1.3.4.RELEASE</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>cn.jpush.api</groupId>
  189. <artifactId>jpush-client</artifactId>
  190. <version>3.4.3</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>cn.jpush.api</groupId>
  194. <artifactId>jiguang-common</artifactId>
  195. <version>1.1.7</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.google.code.gson</groupId>
  199. <artifactId>gson</artifactId>
  200. <version>2.8.5</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.alibaba</groupId>
  204. <artifactId>druid</artifactId>
  205. <version>1.1.19</version>
  206. </dependency>
  207. <!-- 任务调度quartz -->
  208. <dependency>
  209. <groupId>org.quartz-scheduler</groupId>
  210. <artifactId>quartz</artifactId>
  211. <version>2.2.3</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.quartz-scheduler</groupId>
  215. <artifactId>quartz-jobs</artifactId>
  216. <version>2.2.3</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.springframework.boot</groupId>
  220. <artifactId>spring-boot-starter-mail</artifactId>
  221. </dependency>
  222. <dependency>
  223. <groupId>com.github.wechatpay-apiv3</groupId>
  224. <artifactId>wechatpay-apache-httpclient</artifactId>
  225. <version>0.2.2</version>
  226. </dependency>
  227. </dependencies>
  228. <!-- Package as an executable jar -->
  229. <build>
  230. <!-- 产生的构件的文件名,默认值是${artifactId}-${version}。 -->
  231. <finalName>${project.artifactId}</finalName>
  232. <resources>
  233. <resource>
  234. <directory>src/main/resources/</directory>
  235. <filtering>true</filtering>
  236. <includes>
  237. <include>**/*.properties</include>
  238. </includes>
  239. </resource>
  240. <resource>
  241. <directory>src/main/resources</directory>
  242. <includes>
  243. <include>**.*</include>
  244. <include>**/*.*</include><!-- i18n能读取到 -->
  245. <include>**/*/*.*</include>
  246. </includes>
  247. </resource>
  248. </resources>
  249. <plugins>
  250. <plugin>
  251. <artifactId>maven-resources-plugin</artifactId>
  252. <configuration>
  253. <encoding>utf-8</encoding>
  254. <useDefaultDelimiters>true</useDefaultDelimiters>
  255. </configuration>
  256. </plugin>
  257. </plugins>
  258. </build>
  259. <profiles>
  260. <profile>
  261. <id>dev</id>
  262. <properties>
  263. <!-- 环境标识,需要与配置文件的名称相对应 -->
  264. <activatedProperties>common-dev</activatedProperties>
  265. </properties>
  266. <activation>
  267. <!-- 默认环境 -->
  268. <activeByDefault>true</activeByDefault>
  269. </activation>
  270. </profile>
  271. <profile>
  272. <id>prod</id>
  273. <properties>
  274. <activatedProperties>common-prod</activatedProperties>
  275. </properties>
  276. </profile>
  277. </profiles>
  278. </project>