杭州市委办项管
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

360 satır
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. </dependency>
  130. <dependency>
  131. <groupId>org.mapstruct</groupId>
  132. <artifactId>mapstruct</artifactId>
  133. <version>1.5.3.Final</version>
  134. </dependency>
  135. <!--引入jwt-->
  136. <dependency>
  137. <groupId>com.auth0</groupId>
  138. <artifactId>java-jwt</artifactId>
  139. <version>3.10.3</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.mapstruct</groupId>
  143. <artifactId>mapstruct-processor</artifactId>
  144. <version>1.5.3.Final</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-configuration-processor</artifactId>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.ningdatech</groupId>
  152. <artifactId>nd-log-starter</artifactId>
  153. <version>1.0.0</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.ningdatech</groupId>
  157. <artifactId>nd-basic</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-swagger2-starter</artifactId>
  168. <exclusions>
  169. <exclusion>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>slf4j-log4j12</artifactId>
  172. </exclusion>
  173. </exclusions>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.ningdatech</groupId>
  177. <artifactId>nd-zwdd-starter</artifactId>
  178. <exclusions>
  179. <exclusion>
  180. <groupId>org.slf4j</groupId>
  181. <artifactId>slf4j-log4j12</artifactId>
  182. </exclusion>
  183. </exclusions>
  184. <version>1.0.0</version>
  185. </dependency>
  186. <!--KingBase-->
  187. <dependency>
  188. <groupId>com.kingbase8</groupId>
  189. <artifactId>kingbase8-8.2.0</artifactId>
  190. <version>8.2.0</version>
  191. <scope>system</scope>
  192. <systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.ningdatech</groupId>
  196. <artifactId>nd-cache-starter</artifactId>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.ningdatech</groupId>
  200. <artifactId>nd-irs-starter</artifactId>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.ningdatech</groupId>
  204. <artifactId>nd-yxt-starter</artifactId>
  205. <version>1.0.0</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.alibaba</groupId>
  209. <artifactId>easyexcel-core</artifactId>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.ningdatech</groupId>
  213. <artifactId>nd-file-starter</artifactId>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.ningdatech</groupId>
  217. <artifactId>nd-flowable-starter</artifactId>
  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.ningdatech</groupId>
  265. <artifactId>nd-wps-convert-starter</artifactId>
  266. <version>1.0.0</version>
  267. </dependency>
  268. </dependencies>
  269. <!-- 打包 -->
  270. <!--配置环境的profile-->
  271. <profiles>
  272. <profile>
  273. <id>dev</id>
  274. <properties>
  275. <!--使用${environment}获取值-->
  276. <environment>dev</environment>
  277. </properties>
  278. </profile>
  279. <profile>
  280. <id>test</id>
  281. <properties>
  282. <environment>test</environment>
  283. </properties>
  284. </profile>
  285. <profile>
  286. <id>pre</id>
  287. <properties>
  288. <environment>pre</environment>
  289. </properties>
  290. </profile>
  291. <profile>
  292. <id>prod</id>
  293. <properties>
  294. <environment>prod</environment>
  295. </properties>
  296. </profile>
  297. </profiles>
  298. <build>
  299. <resources>
  300. <resource>
  301. <directory>src/main/resources</directory>
  302. <includes>
  303. <include>**/*</include>
  304. </includes>
  305. </resource>
  306. <resource>
  307. <directory>src/main/java</directory>
  308. <includes>
  309. <include>**/*.xml</include>
  310. </includes>
  311. </resource>
  312. <resource>
  313. <directory>src/main/lib</directory>
  314. <targetPath>BOOT-INF/lib/</targetPath>
  315. <includes>
  316. <include>**/*.jar</include>
  317. </includes>
  318. </resource>
  319. <resource>
  320. <directory>src/main/resources</directory>
  321. <targetPath>BOOT-INF/classes/</targetPath>
  322. </resource>
  323. </resources>
  324. <finalName>${project.artifactId}</finalName>
  325. <plugins>
  326. <plugin>
  327. <groupId>org.springframework.boot</groupId>
  328. <artifactId>spring-boot-maven-plugin</artifactId>
  329. <version>2.6.8</version>
  330. <configuration>
  331. <includeSystemScope>true</includeSystemScope>
  332. </configuration>
  333. <executions>
  334. <execution>
  335. <goals>
  336. <goal>repackage</goal>
  337. </goals>
  338. </execution>
  339. </executions>
  340. </plugin>
  341. <!-- 跳过单元测试 -->
  342. <plugin>
  343. <groupId>org.apache.maven.plugins</groupId>
  344. <artifactId>maven-surefire-plugin</artifactId>
  345. <configuration>
  346. <skipTests>true</skipTests>
  347. </configuration>
  348. </plugin>
  349. </plugins>
  350. </build>
  351. </project>