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

464 lines
16KB

  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>project-management</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>pmapi</artifactId>
  11. <version>1.0.0</version>
  12. <properties>
  13. <jjwt.version>0.11.5</jjwt.version>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.google.guava</groupId>
  18. <artifactId>guava</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>cn.hutool</groupId>
  22. <artifactId>hutool-all</artifactId>
  23. <version>5.8.5</version>
  24. </dependency>
  25. <!--lombok-->
  26. <dependency>
  27. <groupId>org.projectlombok</groupId>
  28. <artifactId>lombok</artifactId>
  29. </dependency>
  30. <!-- mybatis plus-->
  31. <dependency>
  32. <groupId>com.baomidou</groupId>
  33. <artifactId>mybatis-plus-boot-starter</artifactId>
  34. </dependency>
  35. <!--Spring boot Redis-->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-data-redis</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.baomidou</groupId>
  42. <artifactId>mybatis-plus-extension</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.session</groupId>
  46. <artifactId>spring-session-data-redis</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-freemarker</artifactId>
  51. </dependency>
  52. <!--spring boot 集成redis所需common-pool2-->
  53. <dependency>
  54. <groupId>org.apache.commons</groupId>
  55. <artifactId>commons-pool2</artifactId>
  56. <version>${commons-pool2.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.commons</groupId>
  60. <artifactId>commons-lang3</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.alibaba</groupId>
  64. <artifactId>fastjson</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.tomcat.embed</groupId>
  68. <artifactId>tomcat-embed-core</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-validation</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-web</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-jdbc</artifactId>
  81. </dependency>
  82. <!--实现springboot的热加载-->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-devtools</artifactId>
  86. <optional>true</optional>
  87. <scope>true</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-aop</artifactId>
  92. </dependency>
  93. <!--cache-->
  94. <dependency>
  95. <groupId>com.github.ben-manes.caffeine</groupId>
  96. <artifactId>caffeine</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.httpcomponents</groupId>
  100. <artifactId>httpclient</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.poi</groupId>
  104. <artifactId>poi</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.poi</groupId>
  108. <artifactId>poi-ooxml</artifactId>
  109. </dependency>
  110. <!-- 阿里云oss -->
  111. <dependency>
  112. <groupId>com.aliyun.oss</groupId>
  113. <artifactId>aliyun-sdk-oss</artifactId>
  114. <version>3.15.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>junit</groupId>
  118. <artifactId>junit</artifactId>
  119. <scope>test</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.aspectj</groupId>
  123. <artifactId>aspectjweaver</artifactId>
  124. </dependency>
  125. <!--Spring boot 测试-->
  126. <dependency>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-starter-test</artifactId>
  129. </dependency>
  130. <!--引入jwt-->
  131. <dependency>
  132. <groupId>com.auth0</groupId>
  133. <artifactId>java-jwt</artifactId>
  134. <version>3.10.3</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-configuration-processor</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.ningdatech</groupId>
  142. <artifactId>nd-log-starter</artifactId>
  143. <version>1.0.0</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.ningdatech</groupId>
  147. <artifactId>nd-basic</artifactId>
  148. <exclusions>
  149. <exclusion>
  150. <groupId>org.slf4j</groupId>
  151. <artifactId>slf4j-log4j12</artifactId>
  152. </exclusion>
  153. </exclusions>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.ningdatech</groupId>
  157. <artifactId>nd-swagger2-starter</artifactId>
  158. <exclusions>
  159. <exclusion>
  160. <groupId>org.slf4j</groupId>
  161. <artifactId>slf4j-log4j12</artifactId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.ningdatech</groupId>
  167. <artifactId>nd-zwdd-starter</artifactId>
  168. <exclusions>
  169. <exclusion>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>slf4j-log4j12</artifactId>
  172. </exclusion>
  173. </exclusions>
  174. <version>1.0.0</version>
  175. </dependency>
  176. <!--KingBase-->
  177. <dependency>
  178. <groupId>com.kingbase8</groupId>
  179. <artifactId>kingbase8-8.2.0</artifactId>
  180. <version>8.2.0</version>
  181. <scope>system</scope>
  182. <systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.ningdatech</groupId>
  186. <artifactId>nd-cache-starter</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>com.ningdatech</groupId>
  190. <artifactId>nd-irs-starter</artifactId>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.ningdatech</groupId>
  194. <artifactId>nd-yxt-starter</artifactId>
  195. <version>1.0.0</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.alibaba</groupId>
  199. <artifactId>easyexcel-core</artifactId>
  200. </dependency>
  201. <dependency>
  202. <groupId>com.ningdatech</groupId>
  203. <artifactId>nd-file-starter</artifactId>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.ningdatech</groupId>
  207. <artifactId>nd-flowable-starter</artifactId>
  208. <exclusions>
  209. <exclusion>
  210. <groupId>com.baomidou</groupId>
  211. <artifactId>mybatis-plus-boot-starter</artifactId>
  212. </exclusion>
  213. <exclusion>
  214. <groupId>com.alibaba</groupId>
  215. <artifactId>druid-spring-boot-starter</artifactId>
  216. </exclusion>
  217. </exclusions>
  218. </dependency>
  219. <!--浙政钉-->
  220. <dependency>
  221. <groupId>com.alibaba.xxpt</groupId>
  222. <artifactId>zwdd</artifactId>
  223. <version>1.2.0</version>
  224. <scope>system</scope>
  225. <systemPath>${basedir}/src/lib/zwdd-sdk-java-1.2.0.jar</systemPath>
  226. </dependency>
  227. <dependency>
  228. <groupId>joda-time</groupId>
  229. <artifactId>joda-time</artifactId>
  230. </dependency>
  231. <!--状态机-->
  232. <dependency>
  233. <groupId>org.springframework.statemachine</groupId>
  234. <artifactId>spring-statemachine-core</artifactId>
  235. </dependency>
  236. <!-- PDF生成 -->
  237. <dependency>
  238. <groupId>com.itextpdf</groupId>
  239. <artifactId>itextpdf</artifactId>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.itextpdf</groupId>
  243. <artifactId>itext-asian</artifactId>
  244. </dependency>
  245. <dependency>
  246. <groupId>com.itextpdf.tool</groupId>
  247. <artifactId>xmlworker</artifactId>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.xhtmlrenderer</groupId>
  251. <artifactId>flying-saucer-pdf-itext5</artifactId>
  252. </dependency>
  253. <!--将html转换成pdf-->
  254. <dependency>
  255. <groupId>com.itextpdf</groupId>
  256. <artifactId>html2pdf</artifactId>
  257. </dependency>
  258. <!--导入导出-->
  259. <dependency>
  260. <groupId>cn.afterturn</groupId>
  261. <artifactId>easypoi-base</artifactId>
  262. </dependency>
  263. <dependency>
  264. <groupId>com.agent</groupId>
  265. <artifactId>agent-boot</artifactId>
  266. <version>1.3.22</version>
  267. <scope>system</scope>
  268. <systemPath>${project.basedir}/lib/agent-boot-1.3.22.0215.jar</systemPath>
  269. </dependency>
  270. <dependency>
  271. <groupId>com.agent</groupId>
  272. <artifactId>agent-boot</artifactId>
  273. <version>1.3.22</version>
  274. <scope>system</scope>
  275. <systemPath>${project.basedir}/lib/agent-boot-1.3.22.0215.jar</systemPath>
  276. </dependency>
  277. <dependency>
  278. <groupId>com.suwell</groupId>
  279. <artifactId>suwell-agent-http</artifactId>
  280. <version>1.7</version>
  281. <scope>system</scope>
  282. <systemPath>${project.basedir}/lib/suwell-agent-http-1.7.220630.jar</systemPath>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.suwell</groupId>
  286. <artifactId>suwell-agent-wrapper</artifactId>
  287. <version>1.6</version>
  288. <scope>system</scope>
  289. <systemPath>${project.basedir}/lib/suwell-agent-wrapper-1.6.221208.jar</systemPath>
  290. </dependency>
  291. <dependency>
  292. <groupId>com.slf4j</groupId>
  293. <artifactId>slf4j-api</artifactId>
  294. <version>1.7.29</version>
  295. <scope>system</scope>
  296. <systemPath>${project.basedir}/lib/slf4j-api-1.7.29.jar</systemPath>
  297. </dependency>
  298. <dependency>
  299. <groupId>com.httpclient</groupId>
  300. <artifactId>httpclient</artifactId>
  301. <version>4.5.13</version>
  302. <scope>system</scope>
  303. <systemPath>${project.basedir}/lib/httpclient-4.5.13.jar</systemPath>
  304. </dependency>
  305. <dependency>
  306. <groupId>com.httpcore</groupId>
  307. <artifactId>httpcore</artifactId>
  308. <version>4.4.13</version>
  309. <scope>system</scope>
  310. <systemPath>${project.basedir}/lib/httpcore-4.4.13.jar</systemPath>
  311. </dependency>
  312. <dependency>
  313. <groupId>com.httpmime</groupId>
  314. <artifactId>httpmime</artifactId>
  315. <version>4.5.13</version>
  316. <scope>system</scope>
  317. <systemPath>${project.basedir}/lib/httpmime-4.5.13.jar</systemPath>
  318. </dependency>
  319. <dependency>
  320. <groupId>com.jbArchivesTools</groupId>
  321. <artifactId>jbArchivesTools</artifactId>
  322. <version>1.0</version>
  323. <scope>system</scope>
  324. <systemPath>${project.basedir}/lib/jbArchivesTools-1.0-SNAPSHOT.jar</systemPath>
  325. </dependency>
  326. <dependency>
  327. <groupId>com.suwell</groupId>
  328. <artifactId>suwell-convert-base</artifactId>
  329. <version>1.5.19</version>
  330. <scope>system</scope>
  331. <systemPath>${project.basedir}/lib/suwell-convert-base-1.5.19.0408.jar</systemPath>
  332. </dependency>
  333. <dependency>
  334. <groupId>com.gson</groupId>
  335. <artifactId>gson</artifactId>
  336. <version>2.8.0</version>
  337. <scope>system</scope>
  338. <systemPath>${project.basedir}/lib/gson-2.8.0.jar</systemPath>
  339. </dependency>
  340. <dependency>
  341. <groupId>com.suwell</groupId>
  342. <artifactId>suwell-rpc-manager-client</artifactId>
  343. <version>2.7</version>
  344. <scope>system</scope>
  345. <systemPath>${project.basedir}/lib/suwell-rpc-manager-client-2.7.211125.jar</systemPath>
  346. </dependency>
  347. <dependency>
  348. <groupId>com.suwell</groupId>
  349. <artifactId>suwell-packet-wrapper</artifactId>
  350. <version>1.21</version>
  351. <scope>system</scope>
  352. <systemPath>${project.basedir}/lib/suwell-packet-wrapper-1.21.230306.jar</systemPath>
  353. </dependency>
  354. <dependency>
  355. <groupId>com.dom4j</groupId>
  356. <artifactId>dom4j</artifactId>
  357. <version>2.0.2</version>
  358. <scope>system</scope>
  359. <systemPath>${project.basedir}/lib/dom4j-2.0.2.jar</systemPath>
  360. </dependency>
  361. </dependencies>
  362. <!-- 打包 -->
  363. <!--配置环境的profile-->
  364. <profiles>
  365. <profile>
  366. <id>dev</id>
  367. <properties>
  368. <!--使用${environment}获取值-->
  369. <environment>dev</environment>
  370. </properties>
  371. </profile>
  372. <profile>
  373. <id>test</id>
  374. <properties>
  375. <environment>test</environment>
  376. </properties>
  377. </profile>
  378. <profile>
  379. <id>pre</id>
  380. <properties>
  381. <environment>pre</environment>
  382. </properties>
  383. </profile>
  384. <profile>
  385. <id>prod</id>
  386. <properties>
  387. <environment>prod</environment>
  388. </properties>
  389. </profile>
  390. </profiles>
  391. <build>
  392. <resources>
  393. <resource>
  394. <directory>src/main/resources</directory>
  395. <includes>
  396. <include>**/*</include>
  397. </includes>
  398. </resource>
  399. <resource>
  400. <directory>src/main/java</directory>
  401. <includes>
  402. <include>**/*.xml</include>
  403. </includes>
  404. </resource>
  405. <resource>
  406. <directory>src/main/lib</directory>
  407. <targetPath>BOOT-INF/lib/</targetPath>
  408. <includes>
  409. <include>**/*.jar</include>
  410. </includes>
  411. </resource>
  412. <resource>
  413. <directory>src/main/resources</directory>
  414. <targetPath>BOOT-INF/classes/</targetPath>
  415. </resource>
  416. </resources>
  417. <finalName>${project.artifactId}</finalName>
  418. <plugins>
  419. <plugin>
  420. <groupId>org.springframework.boot</groupId>
  421. <artifactId>spring-boot-maven-plugin</artifactId>
  422. <version>2.6.8</version>
  423. <configuration>
  424. <includeSystemScope>true</includeSystemScope>
  425. </configuration>
  426. <executions>
  427. <execution>
  428. <goals>
  429. <goal>repackage</goal>
  430. </goals>
  431. </execution>
  432. </executions>
  433. </plugin>
  434. <!-- 跳过单元测试 -->
  435. <plugin>
  436. <groupId>org.apache.maven.plugins</groupId>
  437. <artifactId>maven-surefire-plugin</artifactId>
  438. <configuration>
  439. <skipTests>true</skipTests>
  440. </configuration>
  441. </plugin>
  442. </plugins>
  443. </build>
  444. </project>