pom.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <groupId>com.aijia</groupId>
  3. <artifactId>ssj-px</artifactId>
  4. <version>0.0.1-SNAPSHOT</version>
  5. <packaging>war</packaging>
  6. <name>ssj-px</name>
  7. <description>私塾家兼职培训平台</description>
  8. <modelVersion>4.0.0</modelVersion>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <elasticsearch.version>7.2.0</elasticsearch.version>
  12. <java.version>1.8</java.version>
  13. </properties>
  14. <parent>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-parent</artifactId>
  17. <version>2.1.6.RELEASE</version>
  18. </parent>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.baomidou</groupId>
  26. <artifactId>mybatis-plus-boot-starter</artifactId>
  27. <version>3.3.2</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.belerweb</groupId>
  31. <artifactId>pinyin4j</artifactId>
  32. <version>2.5.1</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba</groupId>
  36. <artifactId>druid</artifactId>
  37. <version>1.1.19</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.elasticsearch.client</groupId>
  41. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>org.elasticsearch</groupId>
  45. <artifactId>elasticsearch</artifactId>
  46. </exclusion>
  47. <exclusion>
  48. <groupId>org.elasticsearch.client</groupId>
  49. <artifactId>elasticsearch-rest-client</artifactId>
  50. </exclusion>
  51. </exclusions>
  52. </dependency>
  53. <dependency>
  54. <groupId>commons-io</groupId>
  55. <artifactId>commons-io</artifactId>
  56. <version>2.10.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.elasticsearch.client</groupId>
  60. <artifactId>elasticsearch-rest-client</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.elasticsearch</groupId>
  64. <artifactId>elasticsearch</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.aliyun</groupId>
  68. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  69. <version>1.1.0</version>
  70. <scope>compile</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-aop</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>mysql</groupId>
  78. <artifactId>mysql-connector-java</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-test</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.springfox</groupId>
  86. <artifactId>springfox-swagger2</artifactId>
  87. <version>2.9.2</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>io.springfox</groupId>
  91. <artifactId>springfox-swagger-ui</artifactId>
  92. <version>2.9.2</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.itextpdf</groupId>
  100. <artifactId>itextpdf</artifactId>
  101. <version>5.5.13</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>cn.afterturn</groupId>
  105. <artifactId>easypoi-base</artifactId>
  106. <version>3.3.0</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>cn.afterturn</groupId>
  110. <artifactId>easypoi-web</artifactId>
  111. <version>3.3.0</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>cn.afterturn</groupId>
  115. <artifactId>easypoi-annotation</artifactId>
  116. <version>3.3.0</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-starter-data-redis</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>redis.clients</groupId>
  124. <artifactId>jedis</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.elasticsearch</groupId>
  128. <artifactId>elasticsearch</artifactId>
  129. <version>7.2.0</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.elasticsearch.client</groupId>
  133. <artifactId>elasticsearch-rest-client</artifactId>
  134. <version>7.2.0</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.elasticsearch.client</groupId>
  138. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  139. <version>7.2.0</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-starter-data-jpa</artifactId>
  144. <version>RELEASE</version>
  145. <scope>compile</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>javax.validation</groupId>
  149. <artifactId>validation-api</artifactId>
  150. <version>2.0.1.Final</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.projectlombok</groupId>
  154. <artifactId>lombok</artifactId>
  155. <version>1.18.16</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.aliyun</groupId>
  159. <artifactId>aliyun-java-sdk-core</artifactId>
  160. <version>4.0.6</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.springframework</groupId>
  164. <artifactId>spring-web</artifactId>
  165. <version>5.3.8</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>javax.servlet</groupId>
  169. <artifactId>javax.servlet-api</artifactId>
  170. <version>4.0.1</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.hibernate.validator</groupId>
  174. <artifactId>hibernate-validator</artifactId>
  175. <version>6.2.0.Final</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.aliyun.oss</groupId>
  179. <artifactId>aliyun-sdk-oss</artifactId>
  180. <version>3.8.1</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.springframework</groupId>
  184. <artifactId>spring-web</artifactId>
  185. </dependency>
  186. <!-- https://mvnrepository.com/artifact/org.apache.tomcat.embed/tomcat-embed-core -->
  187. <dependency>
  188. <groupId>org.apache.tomcat.embed</groupId>
  189. <artifactId>tomcat-embed-core</artifactId>
  190. </dependency>
  191. <!-- 任务调度quartz -->
  192. <dependency>
  193. <groupId>org.quartz-scheduler</groupId>
  194. <artifactId>quartz</artifactId>
  195. <version>2.2.3</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.quartz-scheduler</groupId>
  199. <artifactId>quartz-jobs</artifactId>
  200. <version>2.2.3</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.alibaba</groupId>
  204. <artifactId>fastjson</artifactId>
  205. <version>1.2.71</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.springframework.session</groupId>
  209. <artifactId>spring-session-data-redis</artifactId>
  210. <version>2.1.7.RELEASE</version>
  211. </dependency>
  212. </dependencies>
  213. <!-- Package as an executable jar -->
  214. <build>
  215. <!-- 产生的构件的文件名,默认值是${artifactId}-${version}。 -->
  216. <finalName>${project.artifactId}</finalName>
  217. <resources>
  218. <resource>
  219. <directory>src/main/resources/</directory>
  220. <filtering>true</filtering>
  221. <includes>
  222. <include>**/*.properties</include>
  223. </includes>
  224. </resource>
  225. <resource>
  226. <directory>src/main/resources</directory>
  227. <includes>
  228. <include>**.*</include>
  229. <include>**/*.*</include><!-- i18n能读取到 -->
  230. <include>**/*/*.*</include>
  231. </includes>
  232. </resource>
  233. </resources>
  234. <plugins>
  235. <plugin>
  236. <artifactId>maven-resources-plugin</artifactId>
  237. <configuration>
  238. <encoding>utf-8</encoding>
  239. <useDefaultDelimiters>true</useDefaultDelimiters>
  240. </configuration>
  241. </plugin>
  242. <plugin>
  243. <artifactId>maven-compiler-plugin</artifactId>
  244. <configuration>
  245. <source>1.8</source>
  246. <target>1.8</target>
  247. </configuration>
  248. </plugin>
  249. </plugins>
  250. </build>
  251. <profiles>
  252. <profile>
  253. <id>local</id>
  254. <properties>
  255. <!-- 环境标识,需要与配置文件的名称相对应 -->
  256. <activatedProperties>local</activatedProperties>
  257. </properties>
  258. <activation>
  259. <!-- 默认环境 -->
  260. <activeByDefault>true</activeByDefault>
  261. </activation>
  262. </profile>
  263. <profile>
  264. <id>dev</id>
  265. <properties>
  266. <activatedProperties>dev</activatedProperties>
  267. </properties>
  268. </profile>
  269. <profile>
  270. <id>prod</id>
  271. <properties>
  272. <activatedProperties>prod</activatedProperties>
  273. </properties>
  274. </profile>
  275. </profiles>
  276. </project>