pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  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>tk.mybatis</groupId>
  54. <artifactId>mapper-spring-boot-starter</artifactId>
  55. <version>1.2.4</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-aop</artifactId>
  60. </dependency>
  61. <!-- MySQL 连接驱动依赖 -->
  62. <dependency>
  63. <groupId>mysql</groupId>
  64. <artifactId>mysql-connector-java</artifactId>
  65. <version>8.0.11</version>
  66. </dependency>
  67. <!-- 数据库连接池 -->
  68. <dependency>
  69. <groupId>com.alibaba</groupId>
  70. <artifactId>druid-spring-boot-starter</artifactId>
  71. <version>1.1.10</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-test</artifactId>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>javax.servlet</groupId>
  80. <artifactId>jstl</artifactId>
  81. </dependency>
  82. <!-- jasper -->
  83. <dependency>
  84. <groupId>org.apache.tomcat.embed</groupId>
  85. <artifactId>tomcat-embed-jasper</artifactId>
  86. <scope>provided</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.github.pagehelper</groupId>
  90. <artifactId>pagehelper-spring-boot-starter</artifactId>
  91. <version>1.2.5</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-devtools</artifactId>
  96. <optional>true</optional>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.fasterxml.jackson.core</groupId>
  100. <artifactId>jackson-databind</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.commons</groupId>
  104. <artifactId>commons-lang3</artifactId>
  105. <version>3.3.2</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-jdbc</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.projectlombok</groupId>
  113. <artifactId>lombok</artifactId>
  114. <version>1.18.4</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.alibaba</groupId>
  118. <artifactId>fastjson</artifactId>
  119. <version>1.2.44</version>
  120. <scope>compile</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.github.xiaoymin</groupId>
  124. <artifactId>knife4j-spring-boot-starter</artifactId>
  125. <version>2.0.4</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>io.springfox</groupId>
  129. <artifactId>springfox-swagger2</artifactId>
  130. <version>2.6.1</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>io.springfox</groupId>
  134. <artifactId>springfox-swagger-ui</artifactId>
  135. <version>2.6.1</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>cn.hutool</groupId>
  139. <artifactId>hutool-all</artifactId>
  140. <version>4.1.0</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.alibaba</groupId>
  144. <artifactId>druid-spring-boot-starter</artifactId>
  145. <version>1.1.10</version>
  146. <scope>compile</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.retry</groupId>
  150. <artifactId>spring-retry</artifactId>
  151. <version>1.2.5.RELEASE</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.aspectj</groupId>
  155. <artifactId>aspectjweaver</artifactId>
  156. </dependency>
  157. </dependencies>
  158. <build>
  159. <finalName>jlifereptileserver</finalName>
  160. <resources>
  161. <resource>
  162. <directory>src/main/java</directory>
  163. <includes>
  164. <include>**/*.yml</include>
  165. <include>**/*.properties</include>
  166. <include>**/*.xml</include>
  167. </includes>
  168. <filtering>false</filtering>
  169. </resource>
  170. <resource>
  171. <directory>src/main/resources</directory>
  172. <includes>
  173. <include>**/*.yml</include>
  174. <include>**/*.properties</include>
  175. <include>**/*.xml</include>
  176. </includes>
  177. <filtering>false</filtering>
  178. </resource>
  179. </resources>
  180. <plugins>
  181. <plugin>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-maven-plugin</artifactId>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-compiler-plugin</artifactId>
  188. <configuration>
  189. <source>1.8</source>
  190. <target>1.8</target>
  191. <encoding>UTF-8</encoding>
  192. <compilerArguments>
  193. <verbose/>
  194. <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>
  195. <extdirs>${project.basedir}/src/main/webapp/WEB-INF/lib</extdirs>
  196. </compilerArguments>
  197. </configuration>
  198. </plugin>
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-resources-plugin</artifactId>
  202. <executions>
  203. <execution>
  204. <id>default-resources</id>
  205. <phase>validate</phase>
  206. <goals>
  207. <goal>copy-resources</goal>
  208. </goals>
  209. <configuration>
  210. <outputDirectory>target/classes</outputDirectory>
  211. <useDefaultDelimiters>false</useDefaultDelimiters>
  212. <delimiters>
  213. <delimiter>#</delimiter>
  214. </delimiters>
  215. <resources>
  216. <resource>
  217. <directory>src/main/resources/</directory>
  218. <filtering>true</filtering>
  219. </resource>
  220. <resource>
  221. <directory>src/main/resources.${spring.profiles.active}</directory>
  222. <filtering>false</filtering>
  223. </resource>
  224. </resources>
  225. </configuration>
  226. </execution>
  227. </executions>
  228. </plugin>
  229. <plugin>
  230. <groupId>org.apache.maven.plugins</groupId>
  231. <artifactId>maven-surefire-plugin</artifactId>
  232. <version>2.5</version>
  233. <configuration>
  234. <skipTests>true</skipTests>
  235. </configuration>
  236. </plugin>
  237. </plugins>
  238. </build>
  239. <profiles>
  240. <!--开发环境 -->
  241. <profile>
  242. <id>dev</id>
  243. <properties>
  244. <spring.profiles.active>dev</spring.profiles.active>
  245. </properties>
  246. <activation>
  247. <activeByDefault>true</activeByDefault>
  248. </activation>
  249. </profile>
  250. <!--生产环境 -->
  251. <profile>
  252. <id>pro</id>
  253. <properties>
  254. <spring.profiles.active>pro</spring.profiles.active>
  255. </properties>
  256. </profile>
  257. <profile>
  258. <id>uat</id>
  259. <properties>
  260. <spring.profiles.active>uat</spring.profiles.active>
  261. </properties>
  262. </profile>
  263. </profiles>
  264. </project>