pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.1.1.RELEASE</version>
  9. <relativePath /> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.jlife.reptile</groupId>
  12. <artifactId>jlifereptileserver</artifactId>
  13. <packaging>jar</packaging>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>jlifereptileserver Maven Webapp</name>
  16. <url>http://maven.apache.org</url>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <!-- 阿里sdk -->
  22. <dependency>
  23. <groupId>com.aliyun</groupId>
  24. <artifactId>aliyun-java-sdk-core</artifactId>
  25. <version>4.4.2</version>
  26. </dependency>
  27. <!-- ureport -->
  28. <!-- <dependency>
  29. <groupId>com.bstek.ureport</groupId>
  30. <artifactId>ureport2-console</artifactId>
  31. <version>2.2.9</version>
  32. </dependency> -->
  33. <dependency>
  34. <groupId>com.google.code.gson</groupId>
  35. <artifactId>gson</artifactId>
  36. <version>2.6.2</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.github.binarywang</groupId>
  40. <artifactId>java-emoji-converter</artifactId>
  41. <version>0.1.1</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-web</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.mybatis.spring.boot</groupId>
  49. <artifactId>mybatis-spring-boot-starter</artifactId>
  50. <version>1.3.2</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-mail</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>tk.mybatis</groupId>
  58. <artifactId>mapper-spring-boot-starter</artifactId>
  59. <version>1.2.4</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-aop</artifactId>
  64. </dependency>
  65. <!-- MySQL 连接驱动依赖 -->
  66. <dependency>
  67. <groupId>mysql</groupId>
  68. <artifactId>mysql-connector-java</artifactId>
  69. <version>8.0.11</version>
  70. </dependency>
  71. <!-- 数据库连接池 -->
  72. <dependency>
  73. <groupId>com.alibaba</groupId>
  74. <artifactId>druid-spring-boot-starter</artifactId>
  75. <version>1.1.10</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-test</artifactId>
  80. <scope>test</scope>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>com.vaadin.external.google</groupId>
  84. <artifactId>android-json</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>javax.servlet</groupId>
  90. <artifactId>jstl</artifactId>
  91. </dependency>
  92. <!-- jasper -->
  93. <dependency>
  94. <groupId>org.apache.tomcat.embed</groupId>
  95. <artifactId>tomcat-embed-jasper</artifactId>
  96. <scope>provided</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.github.pagehelper</groupId>
  100. <artifactId>pagehelper-spring-boot-starter</artifactId>
  101. <version>1.2.5</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-devtools</artifactId>
  106. <optional>true</optional>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.fasterxml.jackson.core</groupId>
  110. <artifactId>jackson-databind</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.commons</groupId>
  114. <artifactId>commons-lang3</artifactId>
  115. <version>3.3.2</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-starter-jdbc</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.projectlombok</groupId>
  123. <artifactId>lombok</artifactId>
  124. <version>1.18.4</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.alibaba</groupId>
  128. <artifactId>fastjson</artifactId>
  129. <version>1.2.44</version>
  130. <scope>compile</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.github.xiaoymin</groupId>
  134. <artifactId>knife4j-spring-boot-starter</artifactId>
  135. <version>2.0.4</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>io.springfox</groupId>
  139. <artifactId>springfox-swagger2</artifactId>
  140. <version>2.6.1</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>io.springfox</groupId>
  144. <artifactId>springfox-swagger-ui</artifactId>
  145. <version>2.6.1</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>cn.hutool</groupId>
  149. <artifactId>hutool-all</artifactId>
  150. <version>4.1.0</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.springframework.retry</groupId>
  154. <artifactId>spring-retry</artifactId>
  155. <version>1.2.5.RELEASE</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.aspectj</groupId>
  159. <artifactId>aspectjweaver</artifactId>
  160. </dependency>
  161. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  162. <dependency>
  163. <groupId>com.squareup.okhttp3</groupId>
  164. <artifactId>okhttp</artifactId>
  165. <version>4.9.2</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.jetbrains.kotlin</groupId>
  169. <artifactId>kotlin-stdlib</artifactId>
  170. <version>1.3.70</version>
  171. </dependency>
  172. <!-- selenium-java -->
  173. <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
  174. <dependency>
  175. <groupId>org.seleniumhq.selenium</groupId>
  176. <artifactId>selenium-java</artifactId>
  177. <version>3.141.59</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.google.guava</groupId>
  181. <artifactId>guava</artifactId>
  182. <version>22.0</version>
  183. </dependency>
  184. <!--查询手机号归属地-->
  185. <dependency>
  186. <groupId>me.ihxq.projects</groupId>
  187. <artifactId>phone-number-geo</artifactId>
  188. <version>1.0.9-202108</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.sun.mail</groupId>
  192. <artifactId>javax.mail</artifactId>
  193. </dependency>
  194. </dependencies>
  195. <build>
  196. <finalName>jlifereptileserver</finalName>
  197. <resources>
  198. <resource>
  199. <directory>src/main/java</directory>
  200. <includes>
  201. <include>**/*.yml</include>
  202. <include>**/*.properties</include>
  203. <include>**/*.xml</include>
  204. </includes>
  205. <filtering>false</filtering>
  206. </resource>
  207. <resource>
  208. <directory>src/main/resources</directory>
  209. <includes>
  210. <include>**/*.yml</include>
  211. <include>**/*.properties</include>
  212. <include>**/*.xml</include>
  213. </includes>
  214. <filtering>false</filtering>
  215. </resource>
  216. </resources>
  217. <plugins>
  218. <plugin>
  219. <groupId>org.springframework.boot</groupId>
  220. <artifactId>spring-boot-maven-plugin</artifactId>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.apache.maven.plugins</groupId>
  224. <artifactId>maven-compiler-plugin</artifactId>
  225. <configuration>
  226. <source>1.8</source>
  227. <target>1.8</target>
  228. <encoding>UTF-8</encoding>
  229. <compilerArguments>
  230. <verbose/>
  231. <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>
  232. <extdirs>${project.basedir}/src/main/webapp/WEB-INF/lib</extdirs>
  233. </compilerArguments>
  234. </configuration>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.apache.maven.plugins</groupId>
  238. <artifactId>maven-resources-plugin</artifactId>
  239. <executions>
  240. <execution>
  241. <id>default-resources</id>
  242. <phase>validate</phase>
  243. <goals>
  244. <goal>copy-resources</goal>
  245. </goals>
  246. <configuration>
  247. <outputDirectory>target/classes</outputDirectory>
  248. <useDefaultDelimiters>false</useDefaultDelimiters>
  249. <delimiters>
  250. <delimiter>#</delimiter>
  251. </delimiters>
  252. <resources>
  253. <resource>
  254. <directory>src/main/resources/</directory>
  255. <filtering>true</filtering>
  256. </resource>
  257. <resource>
  258. <directory>src/main/resources.${spring.profiles.active}</directory>
  259. <filtering>false</filtering>
  260. </resource>
  261. </resources>
  262. </configuration>
  263. </execution>
  264. </executions>
  265. </plugin>
  266. <plugin>
  267. <groupId>org.apache.maven.plugins</groupId>
  268. <artifactId>maven-surefire-plugin</artifactId>
  269. <version>2.5</version>
  270. <configuration>
  271. <skipTests>true</skipTests>
  272. </configuration>
  273. </plugin>
  274. </plugins>
  275. </build>
  276. <profiles>
  277. <!--开发环境 -->
  278. <profile>
  279. <id>dev</id>
  280. <properties>
  281. <spring.profiles.active>dev</spring.profiles.active>
  282. </properties>
  283. <activation>
  284. <activeByDefault>true</activeByDefault>
  285. </activation>
  286. </profile>
  287. <!--生产环境 -->
  288. <profile>
  289. <id>pro</id>
  290. <properties>
  291. <spring.profiles.active>pro</spring.profiles.active>
  292. </properties>
  293. </profile>
  294. <profile>
  295. <id>uat</id>
  296. <properties>
  297. <spring.profiles.active>uat</spring.profiles.active>
  298. </properties>
  299. </profile>
  300. </profiles>
  301. </project>