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

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