pom.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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.3.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.apache.dubbo</groupId>
  41. <artifactId>dubbo</artifactId>
  42. <version>2.7.5</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.dubbo</groupId>
  46. <artifactId>dubbo-spring-boot-starter</artifactId>
  47. <version>2.7.5</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.dubbo</groupId>
  51. <artifactId>dubbo-registry-nacos</artifactId>
  52. <version>2.7.5</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.alibaba.nacos</groupId>
  56. <artifactId>nacos-client</artifactId>
  57. <version>1.1.4</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.elasticsearch.client</groupId>
  61. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>org.elasticsearch</groupId>
  65. <artifactId>elasticsearch</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>org.elasticsearch.client</groupId>
  69. <artifactId>elasticsearch-rest-client</artifactId>
  70. </exclusion>
  71. </exclusions>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.elasticsearch.client</groupId>
  75. <artifactId>elasticsearch-rest-client</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.elasticsearch</groupId>
  79. <artifactId>elasticsearch</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.aliyun</groupId>
  83. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  84. <version>1.1.0</version>
  85. <scope>compile</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-aop</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>mysql</groupId>
  93. <artifactId>mysql-connector-java</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-test</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>io.springfox</groupId>
  101. <artifactId>springfox-swagger2</artifactId>
  102. <version>2.9.2</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>io.springfox</groupId>
  106. <artifactId>springfox-swagger-ui</artifactId>
  107. <version>2.9.2</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.itextpdf</groupId>
  115. <artifactId>itextpdf</artifactId>
  116. <version>5.5.13</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>cn.afterturn</groupId>
  120. <artifactId>easypoi-base</artifactId>
  121. <version>3.3.0</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>cn.afterturn</groupId>
  125. <artifactId>easypoi-web</artifactId>
  126. <version>3.3.0</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>cn.afterturn</groupId>
  130. <artifactId>easypoi-annotation</artifactId>
  131. <version>3.3.0</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-data-redis</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.springframework.session</groupId>
  139. <artifactId>spring-session-data-redis</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>redis.clients</groupId>
  143. <artifactId>jedis</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.elasticsearch</groupId>
  147. <artifactId>elasticsearch</artifactId>
  148. <version>7.2.0</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.elasticsearch.client</groupId>
  152. <artifactId>elasticsearch-rest-client</artifactId>
  153. <version>7.2.0</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.elasticsearch.client</groupId>
  157. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  158. <version>7.2.0</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework.boot</groupId>
  162. <artifactId>spring-boot-starter-data-jpa</artifactId>
  163. <version>RELEASE</version>
  164. <scope>compile</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>javax.validation</groupId>
  168. <artifactId>validation-api</artifactId>
  169. <version>2.0.1.Final</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>redis.clients</groupId>
  173. <artifactId>jedis</artifactId>
  174. <version>3.6.1</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.projectlombok</groupId>
  178. <artifactId>lombok</artifactId>
  179. <version>1.18.16</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.aliyun</groupId>
  183. <artifactId>aliyun-java-sdk-core</artifactId>
  184. <version>4.0.6</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.springframework</groupId>
  188. <artifactId>spring-web</artifactId>
  189. <version>5.3.8</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>javax.servlet</groupId>
  193. <artifactId>javax.servlet-api</artifactId>
  194. <version>4.0.1</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.hibernate.validator</groupId>
  198. <artifactId>hibernate-validator</artifactId>
  199. <version>6.2.0.Final</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>com.aliyun.oss</groupId>
  203. <artifactId>aliyun-sdk-oss</artifactId>
  204. <version>3.8.1</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.springframework.session</groupId>
  208. <artifactId>spring-session</artifactId>
  209. <version>1.3.4.RELEASE</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.springframework</groupId>
  213. <artifactId>spring-web</artifactId>
  214. </dependency>
  215. <!-- https://mvnrepository.com/artifact/org.apache.tomcat.embed/tomcat-embed-core -->
  216. <dependency>
  217. <groupId>org.apache.tomcat.embed</groupId>
  218. <artifactId>tomcat-embed-core</artifactId>
  219. </dependency>
  220. </dependencies>
  221. <!-- Package as an executable jar -->
  222. <build>
  223. <!-- 产生的构件的文件名,默认值是${artifactId}-${version}。 -->
  224. <finalName>${project.artifactId}</finalName>
  225. <resources>
  226. <resource>
  227. <directory>src/main/resources/</directory>
  228. <filtering>true</filtering>
  229. <includes>
  230. <include>**/*.properties</include>
  231. </includes>
  232. </resource>
  233. <resource>
  234. <directory>src/main/resources</directory>
  235. <includes>
  236. <include>**.*</include>
  237. <include>**/*.*</include><!-- i18n能读取到 -->
  238. <include>**/*/*.*</include>
  239. </includes>
  240. </resource>
  241. </resources>
  242. <plugins>
  243. <plugin>
  244. <artifactId>maven-resources-plugin</artifactId>
  245. <configuration>
  246. <encoding>utf-8</encoding>
  247. <useDefaultDelimiters>true</useDefaultDelimiters>
  248. </configuration>
  249. </plugin>
  250. <plugin>
  251. <artifactId>maven-compiler-plugin</artifactId>
  252. <configuration>
  253. <source>1.8</source>
  254. <target>1.8</target>
  255. </configuration>
  256. </plugin>
  257. </plugins>
  258. </build>
  259. <profiles>
  260. <profile>
  261. <id>local</id>
  262. <properties>
  263. <!-- 环境标识,需要与配置文件的名称相对应 -->
  264. <activatedProperties>local</activatedProperties>
  265. </properties>
  266. <activation>
  267. <!-- 默认环境 -->
  268. <activeByDefault>true</activeByDefault>
  269. </activation>
  270. </profile>
  271. <profile>
  272. <id>dev</id>
  273. <properties>
  274. <activatedProperties>dev</activatedProperties>
  275. </properties>
  276. </profile>
  277. <profile>
  278. <id>prod</id>
  279. <properties>
  280. <activatedProperties>prod</activatedProperties>
  281. </properties>
  282. </profile>
  283. </profiles>
  284. </project>