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

365 line
13KB

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