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