柯桥增值式服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

234 lines
7.9KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.ningdatech</groupId>
  7. <artifactId>kq-value-added-project</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>kqapi</artifactId>
  11. <version>1.0.0</version>
  12. <properties>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.google.guava</groupId>
  17. <artifactId>guava</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>cn.hutool</groupId>
  21. <artifactId>hutool-all</artifactId>
  22. <version>5.8.5</version>
  23. </dependency>
  24. <!--lombok-->
  25. <dependency>
  26. <groupId>org.projectlombok</groupId>
  27. <artifactId>lombok</artifactId>
  28. </dependency>
  29. <!-- mybatis plus-->
  30. <dependency>
  31. <groupId>com.baomidou</groupId>
  32. <artifactId>mybatis-plus-boot-starter</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.baomidou</groupId>
  36. <artifactId>mybatis-plus-extension</artifactId>
  37. </dependency>
  38. <!--spring boot 集成redis所需common-pool2-->
  39. <dependency>
  40. <groupId>org.apache.commons</groupId>
  41. <artifactId>commons-pool2</artifactId>
  42. <version>${commons-pool2.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.commons</groupId>
  46. <artifactId>commons-lang3</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.alibaba</groupId>
  50. <artifactId>fastjson</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.tomcat.embed</groupId>
  54. <artifactId>tomcat-embed-core</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-validation</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-web</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-jdbc</artifactId>
  67. </dependency>
  68. <!--实现springboot的热加载-->
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-devtools</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-aop</artifactId>
  77. </dependency>
  78. <!--cache-->
  79. <dependency>
  80. <groupId>com.github.ben-manes.caffeine</groupId>
  81. <artifactId>caffeine</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.httpcomponents</groupId>
  85. <artifactId>httpclient</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.poi</groupId>
  89. <artifactId>poi</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.poi</groupId>
  93. <artifactId>poi-ooxml</artifactId>
  94. </dependency>
  95. <!-- 阿里云oss -->
  96. <dependency>
  97. <groupId>com.aliyun.oss</groupId>
  98. <artifactId>aliyun-sdk-oss</artifactId>
  99. <version>3.15.0</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>junit</groupId>
  103. <artifactId>junit</artifactId>
  104. <scope>test</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.aspectj</groupId>
  108. <artifactId>aspectjweaver</artifactId>
  109. </dependency>
  110. <!--Spring boot 测试-->
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-test</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-configuration-processor</artifactId>
  118. </dependency>
  119. <!-- MYSQL -->
  120. <dependency>
  121. <groupId>mysql</groupId>
  122. <artifactId>mysql-connector-java</artifactId>
  123. </dependency>
  124. <!--配置文件加密-->
  125. <dependency>
  126. <groupId>com.github.ulisesbocchio</groupId>
  127. <artifactId>jasypt-spring-boot-starter</artifactId>
  128. <version>3.0.4</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.ningdatech</groupId>
  132. <artifactId>nd-log-starter</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-starter-data-redis</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.session</groupId>
  140. <artifactId>spring-session-data-redis</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.ningdatech</groupId>
  144. <artifactId>nd-swagger2-starter</artifactId>
  145. </dependency>
  146. </dependencies>
  147. <!-- 打包 -->
  148. <!--配置环境的profile-->
  149. <profiles>
  150. <profile>
  151. <id>dev</id>
  152. <properties>
  153. <!--使用${environment}获取值-->
  154. <environment>dev</environment>
  155. </properties>
  156. </profile>
  157. <profile>
  158. <id>test</id>
  159. <properties>
  160. <environment>test</environment>
  161. </properties>
  162. </profile>
  163. <profile>
  164. <id>pre</id>
  165. <properties>
  166. <environment>pre</environment>
  167. </properties>
  168. </profile>
  169. <profile>
  170. <id>prod</id>
  171. <properties>
  172. <environment>prod</environment>
  173. </properties>
  174. </profile>
  175. </profiles>
  176. <build>
  177. <resources>
  178. <resource>
  179. <directory>src/main/resources</directory>
  180. <includes>
  181. <include>**/*</include>
  182. </includes>
  183. </resource>
  184. <resource>
  185. <directory>src/main/java</directory>
  186. <includes>
  187. <include>**/*.xml</include>
  188. </includes>
  189. </resource>
  190. <resource>
  191. <directory>src/main/lib</directory>
  192. <targetPath>BOOT-INF/lib/</targetPath>
  193. <includes>
  194. <include>**/*.jar</include>
  195. </includes>
  196. </resource>
  197. <resource>
  198. <directory>src/main/resources</directory>
  199. <targetPath>BOOT-INF/classes/</targetPath>
  200. </resource>
  201. </resources>
  202. <finalName>${project.artifactId}</finalName>
  203. <plugins>
  204. <plugin>
  205. <groupId>org.springframework.boot</groupId>
  206. <artifactId>spring-boot-maven-plugin</artifactId>
  207. <version>2.6.8</version>
  208. <configuration>
  209. <includeSystemScope>true</includeSystemScope>
  210. </configuration>
  211. <executions>
  212. <execution>
  213. <goals>
  214. <goal>repackage</goal>
  215. </goals>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. <!-- 跳过单元测试 -->
  220. <plugin>
  221. <groupId>org.apache.maven.plugins</groupId>
  222. <artifactId>maven-surefire-plugin</artifactId>
  223. <configuration>
  224. <skipTests>true</skipTests>
  225. </configuration>
  226. </plugin>
  227. </plugins>
  228. </build>
  229. </project>