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

352 line
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. <!-- <exclusion>-->
  189. <!-- <groupId>org.springframework.boot</groupId>-->
  190. <!-- <artifactId>spring-boot-starter-security</artifactId>-->
  191. <!-- </exclusion>-->
  192. </exclusions>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.ningdatech</groupId>
  196. <artifactId>nd-swagger2-starter</artifactId>
  197. <exclusions>
  198. <exclusion>
  199. <groupId>org.slf4j</groupId>
  200. <artifactId>slf4j-log4j12</artifactId>
  201. </exclusion>
  202. </exclusions>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.ningdatech</groupId>
  206. <artifactId>nd-flowable-starter</artifactId>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.ningdatech</groupId>
  210. <artifactId>nd-zwdd-starter</artifactId>
  211. <exclusions>
  212. <exclusion>
  213. <groupId>org.slf4j</groupId>
  214. <artifactId>slf4j-log4j12</artifactId>
  215. </exclusion>
  216. </exclusions>
  217. <version>1.0.0</version>
  218. </dependency>
  219. <!--KingBase-->
  220. <dependency>
  221. <groupId>com.kingbase8</groupId>
  222. <artifactId>kingbase8-8.6.0</artifactId>
  223. <version>8.2.0</version>
  224. <scope>system</scope>
  225. <systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath>
  226. </dependency>
  227. <dependency>
  228. <groupId>com.ningdatech</groupId>
  229. <artifactId>nd-dict-starter</artifactId>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.ningdatech</groupId>
  233. <artifactId>nd-cache-starter</artifactId>
  234. <version>1.0.0</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.ningdatech</groupId>
  238. <artifactId>nd-basic</artifactId>
  239. <version>1.0.0</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.kingbase.dialect</groupId>
  243. <artifactId>kingbase8-8.2.0</artifactId>
  244. <scope>system</scope>
  245. <systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath>
  246. </dependency>
  247. <dependency>
  248. <groupId>com.alibaba</groupId>
  249. <artifactId>easyexcel-core</artifactId>
  250. <version>3.1.2</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>com.ningdatech</groupId>
  254. <artifactId>nd-file-starter</artifactId>
  255. <version>1.0.0</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>com.ningdatech</groupId>
  259. <artifactId>nd-zwdd-starter</artifactId>
  260. <version>1.0.0</version>
  261. </dependency>
  262. </dependencies>
  263. <!-- 打包 -->
  264. <!--配置环境的profile-->
  265. <profiles>
  266. <profile>
  267. <id>dev</id>
  268. <properties>
  269. <!--使用${environment}获取值-->
  270. <environment>dev</environment>
  271. </properties>
  272. </profile>
  273. <profile>
  274. <id>test</id>
  275. <properties>
  276. <environment>test</environment>
  277. </properties>
  278. </profile>
  279. <profile>
  280. <id>pre</id>
  281. <properties>
  282. <environment>pre</environment>
  283. </properties>
  284. </profile>
  285. <profile>
  286. <id>prod</id>
  287. <properties>
  288. <environment>prod</environment>
  289. </properties>
  290. </profile>
  291. </profiles>
  292. <build>
  293. <resources>
  294. <resource>
  295. <directory>src/main/resources</directory>
  296. <includes>
  297. <include>**/*</include>
  298. </includes>
  299. </resource>
  300. <resource>
  301. <directory>src/main/java</directory>
  302. <includes>
  303. <include>**/*.xml</include>
  304. </includes>
  305. </resource>
  306. <resource>
  307. <directory>src/main/lib</directory>
  308. <targetPath>BOOT-INF/lib/</targetPath>
  309. <includes>
  310. <include>**/*.jar</include>
  311. </includes>
  312. </resource>
  313. <resource>
  314. <directory>src/main/resources</directory>
  315. <targetPath>BOOT-INF/classes/</targetPath>
  316. </resource>
  317. </resources>
  318. <finalName>${project.artifactId}</finalName>
  319. <plugins>
  320. <plugin>
  321. <groupId>org.springframework.boot</groupId>
  322. <artifactId>spring-boot-maven-plugin</artifactId>
  323. <version>2.6.8</version>
  324. <configuration>
  325. <includeSystemScope>true</includeSystemScope>
  326. </configuration>
  327. <executions>
  328. <execution>
  329. <goals>
  330. <goal>repackage</goal>
  331. </goals>
  332. </execution>
  333. </executions>
  334. </plugin>
  335. <!-- 跳过单元测试 -->
  336. <plugin>
  337. <groupId>org.apache.maven.plugins</groupId>
  338. <artifactId>maven-surefire-plugin</artifactId>
  339. <configuration>
  340. <skipTests>true</skipTests>
  341. </configuration>
  342. </plugin>
  343. </plugins>
  344. </build>
  345. </project>