柯桥增值式服务
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 line
8.1KB

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