pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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-weixin</artifactId>
  10. <packaging>war</packaging>
  11. <name>ssj-weixin</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. <dependency>
  208. <groupId>org.json</groupId>
  209. <artifactId>json</artifactId>
  210. <version>20140107</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>io.springfox</groupId>
  214. <artifactId>springfox-swagger2</artifactId>
  215. <version>2.7.0</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>io.springfox</groupId>
  219. <artifactId>springfox-swagger-ui</artifactId>
  220. <version>2.7.0</version>
  221. </dependency>
  222. <!-- 阿里云短信SDK -->
  223. <dependency>
  224. <groupId>com.aliyun</groupId>
  225. <artifactId>aliyun-java-sdk-core</artifactId>
  226. <version>4.0.6</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.aliyun</groupId>
  230. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  231. <version>1.1.0</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.baidu.aip</groupId>
  235. <artifactId>java-sdk</artifactId>
  236. <version>3.2.0</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>com.thoughtworks.xstream</groupId>
  240. <artifactId>xstream</artifactId>
  241. <version>1.4.10</version>
  242. </dependency>
  243. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  244. <dependency>
  245. <groupId>com.google.guava</groupId>
  246. <artifactId>guava</artifactId>
  247. <version>18.0</version>
  248. </dependency>
  249. </dependencies>
  250. <!-- Package as an executable jar -->
  251. <build>
  252. <!-- 产生的构件的文件名,默认值是${artifactId}-${version}。 -->
  253. <finalName>${project.artifactId}</finalName>
  254. <resources>
  255. <resource>
  256. <directory>src/main/resources/</directory>
  257. <filtering>true</filtering>
  258. <includes>
  259. <include>**/*.properties</include>
  260. </includes>
  261. </resource>
  262. <resource>
  263. <directory>src/main/resources</directory>
  264. <includes>
  265. <include>**.*</include>
  266. <include>**/*.*</include><!-- i18n能读取到 -->
  267. <include>**/*/*.*</include>
  268. </includes>
  269. </resource>
  270. </resources>
  271. <plugins>
  272. <plugin>
  273. <artifactId>maven-resources-plugin</artifactId>
  274. <configuration>
  275. <encoding>utf-8</encoding>
  276. <useDefaultDelimiters>true</useDefaultDelimiters>
  277. </configuration>
  278. </plugin>
  279. </plugins>
  280. </build>
  281. <profiles>
  282. <profile>
  283. <id>dev</id>
  284. <properties>
  285. <!-- 环境标识,需要与配置文件的名称相对应 -->
  286. <activatedProperties>common-dev</activatedProperties>
  287. </properties>
  288. <activation>
  289. <!-- 默认环境 -->
  290. <activeByDefault>true</activeByDefault>
  291. </activation>
  292. </profile>
  293. <profile>
  294. <id>prod</id>
  295. <properties>
  296. <activatedProperties>common-prod</activatedProperties>
  297. </properties>
  298. </profile>
  299. </profiles>
  300. </project>