杭州市委办项管
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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