杭州市委办项管
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

366 líneas
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>com.ningdatech</groupId>
  259. <artifactId>nd-rabbitmq-starter</artifactId>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.apache.httpcomponents</groupId>
  263. <artifactId>httpclient</artifactId>
  264. </dependency>
  265. <dependency>
  266. <groupId>joda-time</groupId>
  267. <artifactId>joda-time</artifactId>
  268. </dependency>
  269. <!--状态机-->
  270. <dependency>
  271. <groupId>org.springframework.statemachine</groupId>
  272. <artifactId>spring-statemachine-core</artifactId>
  273. </dependency>
  274. </dependencies>
  275. <!-- 打包 -->
  276. <!--配置环境的profile-->
  277. <profiles>
  278. <profile>
  279. <id>dev</id>
  280. <properties>
  281. <!--使用${environment}获取值-->
  282. <environment>dev</environment>
  283. </properties>
  284. </profile>
  285. <profile>
  286. <id>test</id>
  287. <properties>
  288. <environment>test</environment>
  289. </properties>
  290. </profile>
  291. <profile>
  292. <id>pre</id>
  293. <properties>
  294. <environment>pre</environment>
  295. </properties>
  296. </profile>
  297. <profile>
  298. <id>prod</id>
  299. <properties>
  300. <environment>prod</environment>
  301. </properties>
  302. </profile>
  303. </profiles>
  304. <build>
  305. <resources>
  306. <resource>
  307. <directory>src/main/resources</directory>
  308. <includes>
  309. <include>**/*</include>
  310. </includes>
  311. </resource>
  312. <resource>
  313. <directory>src/main/java</directory>
  314. <includes>
  315. <include>**/*.xml</include>
  316. </includes>
  317. </resource>
  318. <resource>
  319. <directory>src/main/lib</directory>
  320. <targetPath>BOOT-INF/lib/</targetPath>
  321. <includes>
  322. <include>**/*.jar</include>
  323. </includes>
  324. </resource>
  325. <resource>
  326. <directory>src/main/resources</directory>
  327. <targetPath>BOOT-INF/classes/</targetPath>
  328. </resource>
  329. </resources>
  330. <finalName>${project.artifactId}</finalName>
  331. <plugins>
  332. <plugin>
  333. <groupId>org.springframework.boot</groupId>
  334. <artifactId>spring-boot-maven-plugin</artifactId>
  335. <version>2.6.8</version>
  336. <configuration>
  337. <includeSystemScope>true</includeSystemScope>
  338. </configuration>
  339. <executions>
  340. <execution>
  341. <goals>
  342. <goal>repackage</goal>
  343. </goals>
  344. </execution>
  345. </executions>
  346. </plugin>
  347. <!-- 跳过单元测试 -->
  348. <plugin>
  349. <groupId>org.apache.maven.plugins</groupId>
  350. <artifactId>maven-surefire-plugin</artifactId>
  351. <configuration>
  352. <skipTests>true</skipTests>
  353. </configuration>
  354. </plugin>
  355. </plugins>
  356. </build>
  357. </project>