杭州市委办项管
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

338 satır
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-cache-starter</artifactId>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.ningdatech</groupId>
  207. <artifactId>nd-basic</artifactId>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.alibaba</groupId>
  211. <artifactId>easyexcel-core</artifactId>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.ningdatech</groupId>
  215. <artifactId>nd-file-starter</artifactId>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.ningdatech</groupId>
  219. <artifactId>nd-flowable-starter</artifactId>
  220. </dependency>
  221. <!-- <dependency>-->
  222. <!-- <groupId>com.ningdatech</groupId>-->
  223. <!-- <artifactId>nd-yxt-starter</artifactId>-->
  224. <!-- <version>1.0.0</version>-->
  225. <!-- </dependency>-->
  226. <!--浙政钉-->
  227. <dependency>
  228. <groupId>com.alibaba.xxpt</groupId>
  229. <artifactId>zwdd</artifactId>
  230. <version>1.2.0</version>
  231. <scope>system</scope>
  232. <systemPath>${basedir}/src/lib/zwdd-sdk-java-1.2.0.jar</systemPath>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.apache.httpcomponents</groupId>
  236. <artifactId>httpclient</artifactId>
  237. </dependency>
  238. <dependency>
  239. <groupId>joda-time</groupId>
  240. <artifactId>joda-time</artifactId>
  241. </dependency>
  242. <!--状态机-->
  243. <dependency>
  244. <groupId>org.springframework.statemachine</groupId>
  245. <artifactId>spring-statemachine-core</artifactId>
  246. </dependency>
  247. </dependencies>
  248. <!-- 打包 -->
  249. <!--配置环境的profile-->
  250. <profiles>
  251. <profile>
  252. <id>dev</id>
  253. <properties>
  254. <!--使用${environment}获取值-->
  255. <environment>dev</environment>
  256. </properties>
  257. </profile>
  258. <profile>
  259. <id>test</id>
  260. <properties>
  261. <environment>test</environment>
  262. </properties>
  263. </profile>
  264. <profile>
  265. <id>pre</id>
  266. <properties>
  267. <environment>pre</environment>
  268. </properties>
  269. </profile>
  270. <profile>
  271. <id>prod</id>
  272. <properties>
  273. <environment>prod</environment>
  274. </properties>
  275. </profile>
  276. </profiles>
  277. <build>
  278. <resources>
  279. <resource>
  280. <directory>src/main/resources</directory>
  281. <includes>
  282. <include>**/*</include>
  283. </includes>
  284. </resource>
  285. <resource>
  286. <directory>src/main/java</directory>
  287. <includes>
  288. <include>**/*.xml</include>
  289. </includes>
  290. </resource>
  291. <resource>
  292. <directory>src/main/lib</directory>
  293. <targetPath>BOOT-INF/lib/</targetPath>
  294. <includes>
  295. <include>**/*.jar</include>
  296. </includes>
  297. </resource>
  298. <resource>
  299. <directory>src/main/resources</directory>
  300. <targetPath>BOOT-INF/classes/</targetPath>
  301. </resource>
  302. </resources>
  303. <finalName>${project.artifactId}</finalName>
  304. <plugins>
  305. <plugin>
  306. <groupId>org.springframework.boot</groupId>
  307. <artifactId>spring-boot-maven-plugin</artifactId>
  308. <version>2.6.8</version>
  309. <configuration>
  310. <includeSystemScope>true</includeSystemScope>
  311. </configuration>
  312. <executions>
  313. <execution>
  314. <goals>
  315. <goal>repackage</goal>
  316. </goals>
  317. </execution>
  318. </executions>
  319. </plugin>
  320. <!-- 跳过单元测试 -->
  321. <plugin>
  322. <groupId>org.apache.maven.plugins</groupId>
  323. <artifactId>maven-surefire-plugin</artifactId>
  324. <configuration>
  325. <skipTests>true</skipTests>
  326. </configuration>
  327. </plugin>
  328. </plugins>
  329. </build>
  330. </project>