pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.3.1.RELEASE</version>
  10. </parent>
  11. <groupId>cn.stylefeng</groupId>
  12. <artifactId>guns-separation</artifactId>
  13. <version>1.1.0</version>
  14. <name>guns-separation</name>
  15. <description>guns分离版本1.1.1</description>
  16. <packaging>pom</packaging>
  17. <modules>
  18. <module>guns-base-support</module>
  19. <module>guns-main</module>
  20. </modules>
  21. <properties>
  22. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  24. <mysql-connector-java.version>8.0.17</mysql-connector-java.version>
  25. <druid.version>1.1.21</druid.version>
  26. <mp.version>3.3.2</mp.version>
  27. <fastjson.version>1.2.70</fastjson.version>
  28. <jwt.version>0.9.1</jwt.version>
  29. <hutool.version>5.3.7</hutool.version>
  30. <lombok.versin>1.18.12</lombok.versin>
  31. <swagger.version>2.9.2</swagger.version>
  32. <swagger.bootstrap.ui.version>1.9.6</swagger.bootstrap.ui.version>
  33. <easypoi.version>4.2.0</easypoi.version>
  34. <jodconverter.version>4.2.0</jodconverter.version>
  35. <libreoffice.version>6.4.3</libreoffice.version>
  36. <roses.kernel.version>3.0.6</roses.kernel.version>
  37. </properties>
  38. <dependencyManagement>
  39. <dependencies>
  40. <!--mybatis-plus-->
  41. <dependency>
  42. <groupId>com.baomidou</groupId>
  43. <artifactId>mybatis-plus-boot-starter</artifactId>
  44. <version>${mp.version}</version>
  45. </dependency>
  46. <!--数据库驱动-->
  47. <dependency>
  48. <groupId>mysql</groupId>
  49. <artifactId>mysql-connector-java</artifactId>
  50. <version>${mysql-connector-java.version}</version>
  51. </dependency>
  52. <!--数据库连接池-->
  53. <dependency>
  54. <groupId>com.alibaba</groupId>
  55. <artifactId>druid</artifactId>
  56. <version>${druid.version}</version>
  57. </dependency>
  58. <!--jwt token-->
  59. <dependency>
  60. <groupId>io.jsonwebtoken</groupId>
  61. <artifactId>jjwt</artifactId>
  62. <version>${jwt.version}</version>
  63. </dependency>
  64. <!--fastjson-->
  65. <dependency>
  66. <groupId>com.alibaba</groupId>
  67. <artifactId>fastjson</artifactId>
  68. <version>${fastjson.version}</version>
  69. </dependency>
  70. <!--hutool-->
  71. <dependency>
  72. <groupId>cn.hutool</groupId>
  73. <artifactId>hutool-all</artifactId>
  74. <version>${hutool.version}</version>
  75. </dependency>
  76. <!--lombok-->
  77. <dependency>
  78. <groupId>org.projectlombok</groupId>
  79. <artifactId>lombok</artifactId>
  80. <version>${lombok.versin}</version>
  81. </dependency>
  82. <!--swagger接口文档-->
  83. <dependency>
  84. <groupId>io.springfox</groupId>
  85. <artifactId>springfox-swagger2</artifactId>
  86. <version>${swagger.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.springfox</groupId>
  90. <artifactId>springfox-swagger-ui</artifactId>
  91. <version>${swagger.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.github.xiaoymin</groupId>
  95. <artifactId>swagger-bootstrap-ui</artifactId>
  96. <version>${swagger.bootstrap.ui.version}</version>
  97. </dependency>
  98. <!--阿里云oss,可选腾讯云-->
  99. <dependency>
  100. <groupId>cn.stylefeng.roses</groupId>
  101. <artifactId>kernel-file</artifactId>
  102. <version>${roses.kernel.version}</version>
  103. </dependency>
  104. <!--阿里云短信服务,可选腾讯云-->
  105. <dependency>
  106. <groupId>cn.stylefeng.roses</groupId>
  107. <artifactId>kernel-sms</artifactId>
  108. <version>${roses.kernel.version}</version>
  109. </dependency>
  110. <!--邮件发送服务-->
  111. <dependency>
  112. <groupId>cn.stylefeng.roses</groupId>
  113. <artifactId>kernel-email</artifactId>
  114. <version>${roses.kernel.version}</version>
  115. </dependency>
  116. <!--easypoi导入导出-->
  117. <dependency>
  118. <groupId>cn.afterturn</groupId>
  119. <artifactId>easypoi-base</artifactId>
  120. <version>${easypoi.version}</version>
  121. </dependency>
  122. </dependencies>
  123. </dependencyManagement>
  124. <build>
  125. <plugins>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-compiler-plugin</artifactId>
  129. <version>3.1</version>
  130. <configuration>
  131. <source>${java.version}</source>
  132. <target>${java.version}</target>
  133. </configuration>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-resources-plugin</artifactId>
  138. <configuration>
  139. <delimiters>
  140. <delimiter>@</delimiter>
  141. </delimiters>
  142. <useDefaultDelimiters>false</useDefaultDelimiters>
  143. </configuration>
  144. </plugin>
  145. </plugins>
  146. <resources>
  147. <resource>
  148. <directory>src/main/webapp</directory>
  149. <filtering>false</filtering>
  150. </resource>
  151. <resource>
  152. <directory>src/main/resources</directory>
  153. <filtering>true</filtering>
  154. </resource>
  155. <resource>
  156. <directory>src/main/java</directory>
  157. <includes>
  158. <include>**/*.xml</include>
  159. </includes>
  160. </resource>
  161. </resources>
  162. </build>
  163. <profiles>
  164. <profile>
  165. <id>test</id>
  166. <properties>
  167. <spring.active>test</spring.active>
  168. </properties>
  169. <activation>
  170. <activeByDefault>true</activeByDefault>
  171. </activation>
  172. </profile>
  173. <profile>
  174. <id>dev</id>
  175. <properties>
  176. <spring.active>dev</spring.active>
  177. </properties>
  178. </profile>
  179. <profile>
  180. <id>prod</id>
  181. <properties>
  182. <spring.active>prod</spring.active>
  183. </properties>
  184. </profile>
  185. </profiles>
  186. </project>