杭州市委办项管
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

357 lignes
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. <!--Spring boot 安全框架-->
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-security</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.google.guava</groupId>
  23. <artifactId>guava</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>cn.hutool</groupId>
  27. <artifactId>hutool-all</artifactId>
  28. <version>5.8.5</version>
  29. </dependency>
  30. <!--lombok-->
  31. <dependency>
  32. <groupId>org.projectlombok</groupId>
  33. <artifactId>lombok</artifactId>
  34. </dependency>
  35. <!-- mybatis plus-->
  36. <dependency>
  37. <groupId>com.baomidou</groupId>
  38. <artifactId>mybatis-plus-boot-starter</artifactId>
  39. </dependency>
  40. <!--Spring boot Redis-->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-data-redis</artifactId>
  44. </dependency>
  45. <!--spring boot 集成redis所需common-pool2-->
  46. <dependency>
  47. <groupId>org.apache.commons</groupId>
  48. <artifactId>commons-pool2</artifactId>
  49. <version>${commons-pool2.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.commons</groupId>
  53. <artifactId>commons-lang3</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.alibaba</groupId>
  57. <artifactId>fastjson</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.tomcat.embed</groupId>
  61. <artifactId>tomcat-embed-core</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-validation</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>nl.basjes.parse.useragent</groupId>
  69. <artifactId>yauaa</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>jakarta.persistence</groupId>
  73. <artifactId>jakarta.persistence-api</artifactId>
  74. </dependency>
  75. <!-- <dependency>-->
  76. <!-- <groupId>org.springframework.data</groupId>-->
  77. <!-- <artifactId>spring-data-jpa</artifactId>-->
  78. <!-- </dependency>-->
  79. <!-- <dependency>-->
  80. <!-- <groupId>org.hibernate</groupId>-->
  81. <!-- <artifactId>hibernate-core</artifactId>-->
  82. <!-- </dependency>-->
  83. <!-- <dependency>-->
  84. <!-- <groupId>org.springframework.boot</groupId>-->
  85. <!-- <artifactId>spring-boot-starter-data-jpa</artifactId>-->
  86. <!-- </dependency>-->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-web</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-jdbc</artifactId>
  94. </dependency>
  95. <!--实现springboot的热加载-->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-devtools</artifactId>
  99. <optional>true</optional>
  100. <scope>true</scope>
  101. </dependency>
  102. <!-- pg -->
  103. <dependency>
  104. <groupId>org.postgresql</groupId>
  105. <artifactId>postgresql</artifactId>
  106. <version>42.4.2</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.alibaba</groupId>
  110. <artifactId>druid-spring-boot-starter</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-aop</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework</groupId>
  118. <artifactId>spring-test</artifactId>
  119. </dependency>
  120. <!--cache-->
  121. <dependency>
  122. <groupId>com.github.ben-manes.caffeine</groupId>
  123. <artifactId>caffeine</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.httpcomponents</groupId>
  127. <artifactId>httpclient</artifactId>
  128. </dependency>
  129. <!-- jwt -->
  130. <dependency>
  131. <groupId>com.auth0</groupId>
  132. <artifactId>java-jwt</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>io.jsonwebtoken</groupId>
  136. <artifactId>jjwt-api</artifactId>
  137. <version>${jjwt.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>io.jsonwebtoken</groupId>
  141. <artifactId>jjwt-impl</artifactId>
  142. <version>${jjwt.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>io.jsonwebtoken</groupId>
  146. <artifactId>jjwt-jackson</artifactId>
  147. <version>${jjwt.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.poi</groupId>
  151. <artifactId>poi</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.apache.poi</groupId>
  155. <artifactId>poi-ooxml</artifactId>
  156. </dependency>
  157. <!-- 阿里云oss -->
  158. <dependency>
  159. <groupId>com.aliyun.oss</groupId>
  160. <artifactId>aliyun-sdk-oss</artifactId>
  161. <version>3.15.0</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>junit</groupId>
  165. <artifactId>junit</artifactId>
  166. <scope>test</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.aspectj</groupId>
  170. <artifactId>aspectjweaver</artifactId>
  171. </dependency>
  172. <!--pdf工具依赖 start-->
  173. <dependency>
  174. <groupId>com.itextpdf</groupId>
  175. <artifactId>itextpdf</artifactId>
  176. <version>5.5.13</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.itextpdf</groupId>
  180. <artifactId>itext-asian</artifactId>
  181. <version>5.2.0</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.apache.pdfbox</groupId>
  185. <artifactId>pdfbox</artifactId>
  186. <version>2.0.4</version>
  187. </dependency>
  188. <!--pdf工具依赖 end-->
  189. <dependency>
  190. <groupId>org.jxls</groupId>
  191. <artifactId>jxls-jexcel</artifactId>
  192. <version>1.0.6</version>
  193. </dependency>
  194. <!--Spring boot 测试-->
  195. <dependency>
  196. <groupId>org.springframework.boot</groupId>
  197. <artifactId>spring-boot-starter-test</artifactId>
  198. <scope>test</scope>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework.boot</groupId>
  202. <artifactId>spring-boot-starter-freemarker</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.mapstruct</groupId>
  206. <artifactId>mapstruct</artifactId>
  207. <version>1.4.2.Final</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.mapstruct</groupId>
  211. <artifactId>mapstruct-processor</artifactId>
  212. <version>1.4.2.Final</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.springframework.boot</groupId>
  216. <artifactId>spring-boot-configuration-processor</artifactId>
  217. </dependency>
  218. <dependency>
  219. <groupId>com.ningdatech</groupId>
  220. <artifactId>nd-log-starter</artifactId>
  221. <version>1.0.0</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.ningdatech</groupId>
  225. <artifactId>nd-basic</artifactId>
  226. <exclusions>
  227. <exclusion>
  228. <groupId>org.slf4j</groupId>
  229. <artifactId>slf4j-log4j12</artifactId>
  230. </exclusion>
  231. </exclusions>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.ningdatech</groupId>
  235. <artifactId>nd-swagger2-starter</artifactId>
  236. <exclusions>
  237. <exclusion>
  238. <groupId>org.slf4j</groupId>
  239. <artifactId>slf4j-log4j12</artifactId>
  240. </exclusion>
  241. </exclusions>
  242. </dependency>
  243. <!-- <dependency>-->
  244. <!-- <groupId>com.ningdatech</groupId>-->
  245. <!-- <artifactId>nd-flowable-starter</artifactId>-->
  246. <!-- </dependency>-->
  247. <dependency>
  248. <groupId>com.ningdatech</groupId>
  249. <artifactId>nd-zwdd-starter</artifactId>
  250. <exclusions>
  251. <exclusion>
  252. <groupId>org.slf4j</groupId>
  253. <artifactId>slf4j-log4j12</artifactId>
  254. </exclusion>
  255. </exclusions>
  256. <version>1.0.0</version>
  257. </dependency>
  258. <!--KingBase-->
  259. <dependency>
  260. <groupId>com.kingbase8</groupId>
  261. <artifactId>kingbase8-8.2.0</artifactId>
  262. <scope>system</scope>
  263. <systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath>
  264. </dependency>
  265. </dependencies>
  266. <!-- 打包 -->
  267. <!--配置环境的profile-->
  268. <profiles>
  269. <profile>
  270. <id>dev</id>
  271. <properties>
  272. <!--使用${environment}获取值-->
  273. <environment>dev</environment>
  274. </properties>
  275. </profile>
  276. <profile>
  277. <id>test</id>
  278. <properties>
  279. <environment>test</environment>
  280. </properties>
  281. </profile>
  282. <profile>
  283. <id>pre</id>
  284. <properties>
  285. <environment>pre</environment>
  286. </properties>
  287. </profile>
  288. <profile>
  289. <id>prod</id>
  290. <properties>
  291. <environment>prod</environment>
  292. </properties>
  293. </profile>
  294. </profiles>
  295. <build>
  296. <resources>
  297. <resource>
  298. <directory>src/main/resources</directory>
  299. <includes>
  300. <include>**/*</include>
  301. </includes>
  302. </resource>
  303. <resource>
  304. <directory>src/main/java</directory>
  305. <includes>
  306. <include>**/*.xml</include>
  307. </includes>
  308. </resource>
  309. <resource>
  310. <directory>src/main/lib</directory>
  311. <targetPath>BOOT-INF/lib/</targetPath>
  312. <includes>
  313. <include>**/*.jar</include>
  314. </includes>
  315. </resource>
  316. <resource>
  317. <directory>src/main/resources</directory>
  318. <targetPath>BOOT-INF/classes/</targetPath>
  319. </resource>
  320. </resources>
  321. <finalName>${project.artifactId}</finalName>
  322. <plugins>
  323. <plugin>
  324. <groupId>org.springframework.boot</groupId>
  325. <artifactId>spring-boot-maven-plugin</artifactId>
  326. <version>2.6.8</version>
  327. <configuration>
  328. <includeSystemScope>true</includeSystemScope>
  329. </configuration>
  330. <executions>
  331. <execution>
  332. <goals>
  333. <goal>repackage</goal>
  334. </goals>
  335. </execution>
  336. </executions>
  337. </plugin>
  338. <!-- 跳过单元测试 -->
  339. <plugin>
  340. <groupId>org.apache.maven.plugins</groupId>
  341. <artifactId>maven-surefire-plugin</artifactId>
  342. <configuration>
  343. <skipTests>true</skipTests>
  344. </configuration>
  345. </plugin>
  346. </plugins>
  347. </build>
  348. </project>