杭州市委办项管
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

331 rinda
11KB

  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. </dependency>
  17. <dependency>
  18. <groupId>cn.hutool</groupId>
  19. <artifactId>hutool-all</artifactId>
  20. <version>5.8.5</version>
  21. </dependency>
  22. <!--lombok-->
  23. <dependency>
  24. <groupId>org.projectlombok</groupId>
  25. <artifactId>lombok</artifactId>
  26. </dependency>
  27. <!-- mybatis plus-->
  28. <dependency>
  29. <groupId>com.baomidou</groupId>
  30. <artifactId>mybatis-plus-boot-starter</artifactId>
  31. </dependency>
  32. <!--Spring boot Redis-->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-data-redis</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.baomidou</groupId>
  39. <artifactId>mybatis-plus-extension</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.session</groupId>
  43. <artifactId>spring-session-data-redis</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-freemarker</artifactId>
  48. </dependency>
  49. <!--spring boot 集成redis所需common-pool2-->
  50. <dependency>
  51. <groupId>org.apache.commons</groupId>
  52. <artifactId>commons-pool2</artifactId>
  53. <version>${commons-pool2.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.commons</groupId>
  57. <artifactId>commons-lang3</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>fastjson</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.tomcat.embed</groupId>
  65. <artifactId>tomcat-embed-core</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-validation</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-web</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-jdbc</artifactId>
  78. </dependency>
  79. <!--实现springboot的热加载-->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-devtools</artifactId>
  83. <optional>true</optional>
  84. <scope>true</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-aop</artifactId>
  89. </dependency>
  90. <!--cache-->
  91. <dependency>
  92. <groupId>com.github.ben-manes.caffeine</groupId>
  93. <artifactId>caffeine</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.httpcomponents</groupId>
  97. <artifactId>httpclient</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.poi</groupId>
  101. <artifactId>poi</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.poi</groupId>
  105. <artifactId>poi-ooxml</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>junit</groupId>
  109. <artifactId>junit</artifactId>
  110. <scope>test</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.aspectj</groupId>
  114. <artifactId>aspectjweaver</artifactId>
  115. </dependency>
  116. <!--Spring boot 测试-->
  117. <dependency>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-starter-test</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-configuration-processor</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.ningdatech</groupId>
  127. <artifactId>nd-log-starter</artifactId>
  128. <version>1.0.0</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.ningdatech</groupId>
  132. <artifactId>nd-basic</artifactId>
  133. <exclusions>
  134. <exclusion>
  135. <groupId>org.slf4j</groupId>
  136. <artifactId>slf4j-log4j12</artifactId>
  137. </exclusion>
  138. </exclusions>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.ningdatech</groupId>
  142. <artifactId>nd-swagger2-starter</artifactId>
  143. <exclusions>
  144. <exclusion>
  145. <groupId>org.slf4j</groupId>
  146. <artifactId>slf4j-log4j12</artifactId>
  147. </exclusion>
  148. </exclusions>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.ningdatech</groupId>
  152. <artifactId>nd-zwdd-starter</artifactId>
  153. <exclusions>
  154. <exclusion>
  155. <groupId>org.slf4j</groupId>
  156. <artifactId>slf4j-log4j12</artifactId>
  157. </exclusion>
  158. </exclusions>
  159. <version>1.0.0</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.dm</groupId>
  163. <artifactId>Dm8JdbcDriver</artifactId>
  164. <version>1.8</version>
  165. <scope>system</scope>
  166. <systemPath>${project.basedir}/lib/DmJdbcDriver18.jar</systemPath>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.ningdatech</groupId>
  170. <artifactId>nd-cache-starter</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.ningdatech</groupId>
  174. <artifactId>nd-irs-starter</artifactId>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.ningdatech</groupId>
  178. <artifactId>nd-yxt-starter</artifactId>
  179. <version>1.0.0</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.alibaba</groupId>
  183. <artifactId>easyexcel-core</artifactId>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.ningdatech</groupId>
  187. <artifactId>nd-file-starter</artifactId>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.ningdatech</groupId>
  191. <artifactId>nd-flowable-starter</artifactId>
  192. <exclusions>
  193. <exclusion>
  194. <groupId>com.baomidou</groupId>
  195. <artifactId>mybatis-plus-boot-starter</artifactId>
  196. </exclusion>
  197. <exclusion>
  198. <groupId>com.alibaba</groupId>
  199. <artifactId>druid-spring-boot-starter</artifactId>
  200. </exclusion>
  201. </exclusions>
  202. </dependency>
  203. <!--浙政钉-->
  204. <dependency>
  205. <groupId>com.alibaba.xxpt</groupId>
  206. <artifactId>zwdd</artifactId>
  207. <version>1.2.0</version>
  208. <scope>system</scope>
  209. <systemPath>${basedir}/src/lib/zwdd-sdk-java-1.2.0.jar</systemPath>
  210. </dependency>
  211. <dependency>
  212. <groupId>joda-time</groupId>
  213. <artifactId>joda-time</artifactId>
  214. </dependency>
  215. <!--状态机-->
  216. <dependency>
  217. <groupId>org.springframework.statemachine</groupId>
  218. <artifactId>spring-statemachine-core</artifactId>
  219. </dependency>
  220. <!-- PDF生成 -->
  221. <dependency>
  222. <groupId>com.itextpdf</groupId>
  223. <artifactId>itextpdf</artifactId>
  224. </dependency>
  225. <dependency>
  226. <groupId>com.itextpdf</groupId>
  227. <artifactId>itext-asian</artifactId>
  228. </dependency>
  229. <dependency>
  230. <groupId>com.itextpdf.tool</groupId>
  231. <artifactId>xmlworker</artifactId>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.xhtmlrenderer</groupId>
  235. <artifactId>flying-saucer-pdf-itext5</artifactId>
  236. </dependency>
  237. <!--将html转换成pdf-->
  238. <dependency>
  239. <groupId>com.itextpdf</groupId>
  240. <artifactId>html2pdf</artifactId>
  241. </dependency>
  242. <!--导入导出-->
  243. <dependency>
  244. <groupId>cn.afterturn</groupId>
  245. <artifactId>easypoi-base</artifactId>
  246. </dependency>
  247. </dependencies>
  248. <!-- 打包 -->
  249. <!--配置环境的profile-->
  250. <profiles>
  251. <profile>
  252. <id>dev</id>
  253. <properties>
  254. <!--使用${environment}获取值-->
  255. <environment>dev</environment>
  256. </properties>
  257. </profile>
  258. <profile>
  259. <id>test</id>
  260. <properties>
  261. <!--使用${environment}获取值-->
  262. <environment>test</environment>
  263. </properties>
  264. </profile>
  265. <profile>
  266. <id>prod</id>
  267. <properties>
  268. <environment>prod</environment>
  269. </properties>
  270. </profile>
  271. </profiles>
  272. <build>
  273. <resources>
  274. <resource>
  275. <directory>src/main/resources</directory>
  276. <includes>
  277. <include>**/*</include>
  278. </includes>
  279. </resource>
  280. <resource>
  281. <directory>src/main/java</directory>
  282. <includes>
  283. <include>**/*.xml</include>
  284. </includes>
  285. </resource>
  286. <resource>
  287. <directory>src/main/lib</directory>
  288. <targetPath>BOOT-INF/lib/</targetPath>
  289. <includes>
  290. <include>**/*.jar</include>
  291. </includes>
  292. </resource>
  293. <resource>
  294. <directory>src/main/resources</directory>
  295. <targetPath>BOOT-INF/classes/</targetPath>
  296. </resource>
  297. </resources>
  298. <finalName>${project.artifactId}</finalName>
  299. <plugins>
  300. <plugin>
  301. <groupId>org.springframework.boot</groupId>
  302. <artifactId>spring-boot-maven-plugin</artifactId>
  303. <version>2.6.8</version>
  304. <configuration>
  305. <includeSystemScope>true</includeSystemScope>
  306. </configuration>
  307. <executions>
  308. <execution>
  309. <goals>
  310. <goal>repackage</goal>
  311. </goals>
  312. </execution>
  313. </executions>
  314. </plugin>
  315. <!-- 跳过单元测试 -->
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-surefire-plugin</artifactId>
  319. <configuration>
  320. <skipTests>true</skipTests>
  321. </configuration>
  322. </plugin>
  323. </plugins>
  324. </build>
  325. </project>