杭州市委办项管
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

pom.xml 12KB

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