柯桥增值式服务
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.

238 lines
8.0KB

  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. <dependency>
  147. <groupId>com.ningdatech</groupId>
  148. <artifactId>nd-file-starter</artifactId>
  149. </dependency>
  150. </dependencies>
  151. <!-- 打包 -->
  152. <!--配置环境的profile-->
  153. <profiles>
  154. <profile>
  155. <id>dev</id>
  156. <properties>
  157. <!--使用${environment}获取值-->
  158. <environment>dev</environment>
  159. </properties>
  160. </profile>
  161. <profile>
  162. <id>test</id>
  163. <properties>
  164. <environment>test</environment>
  165. </properties>
  166. </profile>
  167. <profile>
  168. <id>pre</id>
  169. <properties>
  170. <environment>pre</environment>
  171. </properties>
  172. </profile>
  173. <profile>
  174. <id>prod</id>
  175. <properties>
  176. <environment>prod</environment>
  177. </properties>
  178. </profile>
  179. </profiles>
  180. <build>
  181. <resources>
  182. <resource>
  183. <directory>src/main/resources</directory>
  184. <includes>
  185. <include>**/*</include>
  186. </includes>
  187. </resource>
  188. <resource>
  189. <directory>src/main/java</directory>
  190. <includes>
  191. <include>**/*.xml</include>
  192. </includes>
  193. </resource>
  194. <resource>
  195. <directory>src/main/lib</directory>
  196. <targetPath>BOOT-INF/lib/</targetPath>
  197. <includes>
  198. <include>**/*.jar</include>
  199. </includes>
  200. </resource>
  201. <resource>
  202. <directory>src/main/resources</directory>
  203. <targetPath>BOOT-INF/classes/</targetPath>
  204. </resource>
  205. </resources>
  206. <finalName>${project.artifactId}</finalName>
  207. <plugins>
  208. <plugin>
  209. <groupId>org.springframework.boot</groupId>
  210. <artifactId>spring-boot-maven-plugin</artifactId>
  211. <version>2.6.8</version>
  212. <configuration>
  213. <includeSystemScope>true</includeSystemScope>
  214. </configuration>
  215. <executions>
  216. <execution>
  217. <goals>
  218. <goal>repackage</goal>
  219. </goals>
  220. </execution>
  221. </executions>
  222. </plugin>
  223. <!-- 跳过单元测试 -->
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-surefire-plugin</artifactId>
  227. <configuration>
  228. <skipTests>true</skipTests>
  229. </configuration>
  230. </plugin>
  231. </plugins>
  232. </build>
  233. </project>