杭州市委办项管
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.

pom.xml 9.8KB

1 year ago
1 year ago
1 year ago
5 months ago
1 year ago
5 months ago
1 year ago
1 year ago
1 year ago
5 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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.hz.pm</groupId>
  7. <artifactId>hz-project-management</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>hz-pm-api</artifactId>
  11. <version>1.0.0</version>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.google.guava</groupId>
  15. <artifactId>guava</artifactId>
  16. <version>33.0.0-jre</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>cn.hutool</groupId>
  20. <artifactId>hutool-all</artifactId>
  21. <version>5.8.25</version>
  22. </dependency>
  23. <!--lombok-->
  24. <dependency>
  25. <groupId>org.projectlombok</groupId>
  26. <artifactId>lombok</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.assertj</groupId>
  30. <artifactId>assertj-core</artifactId>
  31. </dependency>
  32. <!-- mybatis plus-->
  33. <dependency>
  34. <groupId>com.baomidou</groupId>
  35. <artifactId>mybatis-plus-boot-starter</artifactId>
  36. </dependency>
  37. <!--Spring boot Redis-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-data-redis</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.baomidou</groupId>
  44. <artifactId>mybatis-plus-extension</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.session</groupId>
  48. <artifactId>spring-session-data-redis</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-freemarker</artifactId>
  53. </dependency>
  54. <!--spring boot 集成redis所需common-pool2-->
  55. <dependency>
  56. <groupId>org.apache.commons</groupId>
  57. <artifactId>commons-pool2</artifactId>
  58. <version>${commons-pool2.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.commons</groupId>
  62. <artifactId>commons-lang3</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>fastjson</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.tomcat.embed</groupId>
  70. <artifactId>tomcat-embed-core</artifactId>
  71. <version>9.0.87</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-validation</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-web</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-jdbc</artifactId>
  84. </dependency>
  85. <!--实现springboot的热加载-->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-devtools</artifactId>
  89. <scope>runtime</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-aop</artifactId>
  94. </dependency>
  95. <!--cache-->
  96. <dependency>
  97. <groupId>com.github.ben-manes.caffeine</groupId>
  98. <artifactId>caffeine</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.httpcomponents</groupId>
  102. <artifactId>httpclient</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>junit</groupId>
  106. <artifactId>junit</artifactId>
  107. <scope>test</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.aspectj</groupId>
  111. <artifactId>aspectjweaver</artifactId>
  112. </dependency>
  113. <!--Spring boot 测试-->
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-test</artifactId>
  117. <scope>test</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.springframework</groupId>
  121. <artifactId>spring-test</artifactId>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-configuration-processor</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.ningdatech</groupId>
  129. <artifactId>nd-log-starter</artifactId>
  130. <version>1.0.0</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.ningdatech</groupId>
  134. <artifactId>nd-basic</artifactId>
  135. <exclusions>
  136. <exclusion>
  137. <groupId>org.slf4j</groupId>
  138. <artifactId>slf4j-log4j12</artifactId>
  139. </exclusion>
  140. </exclusions>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.ningdatech</groupId>
  144. <artifactId>nd-swagger2-starter</artifactId>
  145. <exclusions>
  146. <exclusion>
  147. <groupId>org.slf4j</groupId>
  148. <artifactId>slf4j-log4j12</artifactId>
  149. </exclusion>
  150. </exclusions>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.dm</groupId>
  154. <artifactId>Dm8JdbcDriver</artifactId>
  155. <version>1.8</version>
  156. <scope>system</scope>
  157. <systemPath>${project.basedir}/lib/DmJdbcDriver18.jar</systemPath>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.ningdatech</groupId>
  161. <artifactId>nd-cache-starter</artifactId>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.alibaba</groupId>
  165. <artifactId>easyexcel-core</artifactId>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.ningdatech</groupId>
  169. <artifactId>nd-file-starter</artifactId>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.ningdatech</groupId>
  173. <artifactId>nd-flowable-starter</artifactId>
  174. <exclusions>
  175. <exclusion>
  176. <groupId>com.baomidou</groupId>
  177. <artifactId>mybatis-plus-boot-starter</artifactId>
  178. </exclusion>
  179. <exclusion>
  180. <groupId>com.alibaba</groupId>
  181. <artifactId>druid-spring-boot-starter</artifactId>
  182. </exclusion>
  183. </exclusions>
  184. </dependency>
  185. <dependency>
  186. <groupId>joda-time</groupId>
  187. <artifactId>joda-time</artifactId>
  188. </dependency>
  189. <!--状态机-->
  190. <dependency>
  191. <groupId>org.springframework.statemachine</groupId>
  192. <artifactId>spring-statemachine-core</artifactId>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.github.oshi</groupId>
  196. <artifactId>oshi-core</artifactId>
  197. </dependency>
  198. </dependencies>
  199. <!-- 打包 -->
  200. <!--配置环境的profile-->
  201. <profiles>
  202. <profile>
  203. <id>dev</id>
  204. <properties>
  205. <!--使用${environment}获取值-->
  206. <environment>dev</environment>
  207. </properties>
  208. </profile>
  209. <profile>
  210. <id>test</id>
  211. <properties>
  212. <!--使用${environment}获取值-->
  213. <environment>test</environment>
  214. </properties>
  215. </profile>
  216. <profile>
  217. <id>prod</id>
  218. <properties>
  219. <environment>prod</environment>
  220. </properties>
  221. </profile>
  222. </profiles>
  223. <build>
  224. <resources>
  225. <resource>
  226. <directory>src/main/resources</directory>
  227. <includes>
  228. <include>**/*</include>
  229. </includes>
  230. </resource>
  231. <resource>
  232. <directory>src/main/java</directory>
  233. <includes>
  234. <include>**/*.xml</include>
  235. </includes>
  236. </resource>
  237. <resource>
  238. <directory>src/main/lib</directory>
  239. <targetPath>BOOT-INF/lib/</targetPath>
  240. <includes>
  241. <include>**/*.jar</include>
  242. </includes>
  243. </resource>
  244. <resource>
  245. <directory>src/main/resources</directory>
  246. <targetPath>BOOT-INF/classes/</targetPath>
  247. </resource>
  248. </resources>
  249. <finalName>${project.artifactId}</finalName>
  250. <plugins>
  251. <plugin>
  252. <groupId>org.springframework.boot</groupId>
  253. <artifactId>spring-boot-maven-plugin</artifactId>
  254. <version>2.6.8</version>
  255. <configuration>
  256. <includeSystemScope>true</includeSystemScope>
  257. </configuration>
  258. <executions>
  259. <execution>
  260. <goals>
  261. <goal>repackage</goal>
  262. </goals>
  263. </execution>
  264. </executions>
  265. </plugin>
  266. <!-- 跳过单元测试 -->
  267. <plugin>
  268. <groupId>org.apache.maven.plugins</groupId>
  269. <artifactId>maven-surefire-plugin</artifactId>
  270. <configuration>
  271. <skipTests>true</skipTests>
  272. </configuration>
  273. </plugin>
  274. </plugins>
  275. </build>
  276. </project>