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

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