pom.xml 8.3 KB

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