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

368 line
12KB

  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>org.springframework.session</groupId>
  42. <artifactId>spring-session-data-redis</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-freemarker</artifactId>
  47. </dependency>
  48. <!--spring boot 集成redis所需common-pool2-->
  49. <dependency>
  50. <groupId>org.apache.commons</groupId>
  51. <artifactId>commons-pool2</artifactId>
  52. <version>${commons-pool2.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.commons</groupId>
  56. <artifactId>commons-lang3</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.alibaba</groupId>
  60. <artifactId>fastjson</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.tomcat.embed</groupId>
  64. <artifactId>tomcat-embed-core</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-validation</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-web</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-jdbc</artifactId>
  77. </dependency>
  78. <!--实现springboot的热加载-->
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-devtools</artifactId>
  82. <optional>true</optional>
  83. <scope>true</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>druid-spring-boot-starter</artifactId>
  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. <!-- <scope>test</scope>-->
  130. </dependency>
  131. <dependency>
  132. <groupId>org.mapstruct</groupId>
  133. <artifactId>mapstruct</artifactId>
  134. <version>1.5.3.Final</version>
  135. </dependency>
  136. <!--引入jwt-->
  137. <dependency>
  138. <groupId>com.auth0</groupId>
  139. <artifactId>java-jwt</artifactId>
  140. <version>3.10.3</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.mapstruct</groupId>
  144. <artifactId>mapstruct-processor</artifactId>
  145. <version>1.5.3.Final</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-configuration-processor</artifactId>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.ningdatech</groupId>
  153. <artifactId>nd-log-starter</artifactId>
  154. <version>1.0.0</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.ningdatech</groupId>
  158. <artifactId>nd-basic</artifactId>
  159. <exclusions>
  160. <exclusion>
  161. <groupId>org.slf4j</groupId>
  162. <artifactId>slf4j-log4j12</artifactId>
  163. </exclusion>
  164. </exclusions>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.ningdatech</groupId>
  168. <artifactId>nd-swagger2-starter</artifactId>
  169. <exclusions>
  170. <exclusion>
  171. <groupId>org.slf4j</groupId>
  172. <artifactId>slf4j-log4j12</artifactId>
  173. </exclusion>
  174. </exclusions>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.ningdatech</groupId>
  178. <artifactId>nd-zwdd-starter</artifactId>
  179. <exclusions>
  180. <exclusion>
  181. <groupId>org.slf4j</groupId>
  182. <artifactId>slf4j-log4j12</artifactId>
  183. </exclusion>
  184. </exclusions>
  185. <version>1.0.0</version>
  186. </dependency>
  187. <!--KingBase-->
  188. <dependency>
  189. <groupId>com.kingbase8</groupId>
  190. <artifactId>kingbase8-8.2.0</artifactId>
  191. <version>8.2.0</version>
  192. <scope>system</scope>
  193. <systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.ningdatech</groupId>
  197. <artifactId>nd-cache-starter</artifactId>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.ningdatech</groupId>
  201. <artifactId>nd-basic</artifactId>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.ningdatech</groupId>
  205. <artifactId>nd-yxt-starter</artifactId>
  206. <version>1.0.0</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.alibaba</groupId>
  210. <artifactId>easyexcel-core</artifactId>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.ningdatech</groupId>
  214. <artifactId>nd-file-starter</artifactId>
  215. </dependency>
  216. <dependency>
  217. <groupId>com.ningdatech</groupId>
  218. <artifactId>nd-flowable-starter</artifactId>
  219. </dependency>
  220. <!-- <dependency>-->
  221. <!-- <groupId>com.ningdatech</groupId>-->
  222. <!-- <artifactId>nd-yxt-starter</artifactId>-->
  223. <!-- <version>1.0.0</version>-->
  224. <!-- </dependency>-->
  225. <!--浙政钉-->
  226. <dependency>
  227. <groupId>com.alibaba.xxpt</groupId>
  228. <artifactId>zwdd</artifactId>
  229. <version>1.2.0</version>
  230. <scope>system</scope>
  231. <systemPath>${basedir}/src/lib/zwdd-sdk-java-1.2.0.jar</systemPath>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.apache.httpcomponents</groupId>
  235. <artifactId>httpclient</artifactId>
  236. </dependency>
  237. <dependency>
  238. <groupId>joda-time</groupId>
  239. <artifactId>joda-time</artifactId>
  240. </dependency>
  241. <!--状态机-->
  242. <dependency>
  243. <groupId>org.springframework.statemachine</groupId>
  244. <artifactId>spring-statemachine-core</artifactId>
  245. </dependency>
  246. <!-- PDF生成 -->
  247. <dependency>
  248. <groupId>com.itextpdf</groupId>
  249. <artifactId>itextpdf</artifactId>
  250. </dependency>
  251. <dependency>
  252. <groupId>com.itextpdf</groupId>
  253. <artifactId>itext-asian</artifactId>
  254. </dependency>
  255. <dependency>
  256. <groupId>com.itextpdf.tool</groupId>
  257. <artifactId>xmlworker</artifactId>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.xhtmlrenderer</groupId>
  261. <artifactId>flying-saucer-pdf-itext5</artifactId>
  262. </dependency>
  263. <!--将html转换成pdf-->
  264. <dependency>
  265. <groupId>com.itextpdf</groupId>
  266. <artifactId>html2pdf</artifactId>
  267. </dependency>
  268. <!--导入导出-->
  269. <dependency>
  270. <groupId>cn.afterturn</groupId>
  271. <artifactId>easypoi-base</artifactId>
  272. </dependency>
  273. </dependencies>
  274. <!-- 打包 -->
  275. <!--配置环境的profile-->
  276. <profiles>
  277. <profile>
  278. <id>dev</id>
  279. <properties>
  280. <!--使用${environment}获取值-->
  281. <environment>dev</environment>
  282. </properties>
  283. </profile>
  284. <profile>
  285. <id>test</id>
  286. <properties>
  287. <environment>test</environment>
  288. </properties>
  289. </profile>
  290. <profile>
  291. <id>pre</id>
  292. <properties>
  293. <environment>pre</environment>
  294. </properties>
  295. </profile>
  296. <profile>
  297. <id>prod</id>
  298. <properties>
  299. <environment>prod</environment>
  300. </properties>
  301. </profile>
  302. </profiles>
  303. <build>
  304. <resources>
  305. <resource>
  306. <directory>src/main/resources</directory>
  307. <includes>
  308. <include>**/*</include>
  309. </includes>
  310. </resource>
  311. <resource>
  312. <directory>src/main/java</directory>
  313. <includes>
  314. <include>**/*.xml</include>
  315. </includes>
  316. </resource>
  317. <resource>
  318. <directory>src/main/lib</directory>
  319. <targetPath>BOOT-INF/lib/</targetPath>
  320. <includes>
  321. <include>**/*.jar</include>
  322. </includes>
  323. </resource>
  324. <resource>
  325. <directory>src/main/resources</directory>
  326. <targetPath>BOOT-INF/classes/</targetPath>
  327. </resource>
  328. </resources>
  329. <finalName>${project.artifactId}</finalName>
  330. <plugins>
  331. <plugin>
  332. <groupId>org.springframework.boot</groupId>
  333. <artifactId>spring-boot-maven-plugin</artifactId>
  334. <version>2.6.8</version>
  335. <configuration>
  336. <includeSystemScope>true</includeSystemScope>
  337. </configuration>
  338. <executions>
  339. <execution>
  340. <goals>
  341. <goal>repackage</goal>
  342. </goals>
  343. </execution>
  344. </executions>
  345. </plugin>
  346. <!-- 跳过单元测试 -->
  347. <plugin>
  348. <groupId>org.apache.maven.plugins</groupId>
  349. <artifactId>maven-surefire-plugin</artifactId>
  350. <configuration>
  351. <skipTests>true</skipTests>
  352. </configuration>
  353. </plugin>
  354. </plugins>
  355. </build>
  356. </project>