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

1 year ago
1 year ago
1 year ago
7 months ago
1 year ago
7 months ago
1 year ago
1 year ago
1 year ago
7 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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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.ningdatech</groupId>
  165. <artifactId>nd-yxt-starter</artifactId>
  166. <version>1.0.0</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.alibaba</groupId>
  170. <artifactId>easyexcel-core</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.ningdatech</groupId>
  174. <artifactId>nd-file-starter</artifactId>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.ningdatech</groupId>
  178. <artifactId>nd-flowable-starter</artifactId>
  179. <exclusions>
  180. <exclusion>
  181. <groupId>com.baomidou</groupId>
  182. <artifactId>mybatis-plus-boot-starter</artifactId>
  183. </exclusion>
  184. <exclusion>
  185. <groupId>com.alibaba</groupId>
  186. <artifactId>druid-spring-boot-starter</artifactId>
  187. </exclusion>
  188. </exclusions>
  189. </dependency>
  190. <dependency>
  191. <groupId>joda-time</groupId>
  192. <artifactId>joda-time</artifactId>
  193. </dependency>
  194. <!--状态机-->
  195. <dependency>
  196. <groupId>org.springframework.statemachine</groupId>
  197. <artifactId>spring-statemachine-core</artifactId>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.github.oshi</groupId>
  201. <artifactId>oshi-core</artifactId>
  202. </dependency>
  203. </dependencies>
  204. <!-- 打包 -->
  205. <!--配置环境的profile-->
  206. <profiles>
  207. <profile>
  208. <id>dev</id>
  209. <properties>
  210. <!--使用${environment}获取值-->
  211. <environment>dev</environment>
  212. </properties>
  213. </profile>
  214. <profile>
  215. <id>test</id>
  216. <properties>
  217. <!--使用${environment}获取值-->
  218. <environment>test</environment>
  219. </properties>
  220. </profile>
  221. <profile>
  222. <id>prod</id>
  223. <properties>
  224. <environment>prod</environment>
  225. </properties>
  226. </profile>
  227. </profiles>
  228. <build>
  229. <resources>
  230. <resource>
  231. <directory>src/main/resources</directory>
  232. <includes>
  233. <include>**/*</include>
  234. </includes>
  235. </resource>
  236. <resource>
  237. <directory>src/main/java</directory>
  238. <includes>
  239. <include>**/*.xml</include>
  240. </includes>
  241. </resource>
  242. <resource>
  243. <directory>src/main/lib</directory>
  244. <targetPath>BOOT-INF/lib/</targetPath>
  245. <includes>
  246. <include>**/*.jar</include>
  247. </includes>
  248. </resource>
  249. <resource>
  250. <directory>src/main/resources</directory>
  251. <targetPath>BOOT-INF/classes/</targetPath>
  252. </resource>
  253. </resources>
  254. <finalName>${project.artifactId}</finalName>
  255. <plugins>
  256. <plugin>
  257. <groupId>org.springframework.boot</groupId>
  258. <artifactId>spring-boot-maven-plugin</artifactId>
  259. <version>2.6.8</version>
  260. <configuration>
  261. <includeSystemScope>true</includeSystemScope>
  262. </configuration>
  263. <executions>
  264. <execution>
  265. <goals>
  266. <goal>repackage</goal>
  267. </goals>
  268. </execution>
  269. </executions>
  270. </plugin>
  271. <!-- 跳过单元测试 -->
  272. <plugin>
  273. <groupId>org.apache.maven.plugins</groupId>
  274. <artifactId>maven-surefire-plugin</artifactId>
  275. <configuration>
  276. <skipTests>true</skipTests>
  277. </configuration>
  278. </plugin>
  279. </plugins>
  280. </build>
  281. </project>