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

241 lines
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>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. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-freemarker</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. <optional>true</optional>
  77. <scope>true</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-aop</artifactId>
  82. </dependency>
  83. <!--cache-->
  84. <dependency>
  85. <groupId>com.github.ben-manes.caffeine</groupId>
  86. <artifactId>caffeine</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.httpcomponents</groupId>
  90. <artifactId>httpclient</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.poi</groupId>
  94. <artifactId>poi</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.poi</groupId>
  98. <artifactId>poi-ooxml</artifactId>
  99. </dependency>
  100. <!-- 阿里云oss -->
  101. <dependency>
  102. <groupId>com.aliyun.oss</groupId>
  103. <artifactId>aliyun-sdk-oss</artifactId>
  104. <version>3.15.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>junit</groupId>
  108. <artifactId>junit</artifactId>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.aspectj</groupId>
  113. <artifactId>aspectjweaver</artifactId>
  114. </dependency>
  115. <!--Spring boot 测试-->
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-test</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-configuration-processor</artifactId>
  123. </dependency>
  124. <!-- MYSQL -->
  125. <dependency>
  126. <groupId>mysql</groupId>
  127. <artifactId>mysql-connector-java</artifactId>
  128. </dependency>
  129. <dependency>
  130. <groupId>io.swagger</groupId>
  131. <artifactId>swagger-models</artifactId>
  132. <version>1.6.5</version>
  133. </dependency>
  134. <!--配置文件加密-->
  135. <dependency>
  136. <groupId>com.github.ulisesbocchio</groupId>
  137. <artifactId>jasypt-spring-boot-starter</artifactId>
  138. <version>3.0.4</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.ningdatech</groupId>
  142. <artifactId>nd-log-starter</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-data-redis</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.session</groupId>
  150. <artifactId>spring-session-data-redis</artifactId>
  151. </dependency>
  152. </dependencies>
  153. <!-- 打包 -->
  154. <!--配置环境的profile-->
  155. <profiles>
  156. <profile>
  157. <id>dev</id>
  158. <properties>
  159. <!--使用${environment}获取值-->
  160. <environment>dev</environment>
  161. </properties>
  162. </profile>
  163. <profile>
  164. <id>test</id>
  165. <properties>
  166. <environment>test</environment>
  167. </properties>
  168. </profile>
  169. <profile>
  170. <id>pre</id>
  171. <properties>
  172. <environment>pre</environment>
  173. </properties>
  174. </profile>
  175. <profile>
  176. <id>prod</id>
  177. <properties>
  178. <environment>prod</environment>
  179. </properties>
  180. </profile>
  181. </profiles>
  182. <build>
  183. <resources>
  184. <resource>
  185. <directory>src/main/resources</directory>
  186. <includes>
  187. <include>**/*</include>
  188. </includes>
  189. </resource>
  190. <resource>
  191. <directory>src/main/java</directory>
  192. <includes>
  193. <include>**/*.xml</include>
  194. </includes>
  195. </resource>
  196. <resource>
  197. <directory>src/main/lib</directory>
  198. <targetPath>BOOT-INF/lib/</targetPath>
  199. <includes>
  200. <include>**/*.jar</include>
  201. </includes>
  202. </resource>
  203. <resource>
  204. <directory>src/main/resources</directory>
  205. <targetPath>BOOT-INF/classes/</targetPath>
  206. </resource>
  207. </resources>
  208. <finalName>${project.artifactId}</finalName>
  209. <plugins>
  210. <plugin>
  211. <groupId>org.springframework.boot</groupId>
  212. <artifactId>spring-boot-maven-plugin</artifactId>
  213. <version>2.6.8</version>
  214. <configuration>
  215. <includeSystemScope>true</includeSystemScope>
  216. </configuration>
  217. <executions>
  218. <execution>
  219. <goals>
  220. <goal>repackage</goal>
  221. </goals>
  222. </execution>
  223. </executions>
  224. </plugin>
  225. <!-- 跳过单元测试 -->
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-surefire-plugin</artifactId>
  229. <configuration>
  230. <skipTests>true</skipTests>
  231. </configuration>
  232. </plugin>
  233. </plugins>
  234. </build>
  235. </project>