杭州市委办项管
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

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