柯桥增值式服务
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 8.2KB

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