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

pom.xml 12KB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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>org.apache.httpcomponents</groupId>
  246. <artifactId>httpclient</artifactId>
  247. </dependency>
  248. <dependency>
  249. <groupId>joda-time</groupId>
  250. <artifactId>joda-time</artifactId>
  251. </dependency>
  252. <!--状态机-->
  253. <dependency>
  254. <groupId>org.springframework.statemachine</groupId>
  255. <artifactId>spring-statemachine-core</artifactId>
  256. </dependency>
  257. </dependencies>
  258. <!-- 打包 -->
  259. <!--配置环境的profile-->
  260. <profiles>
  261. <profile>
  262. <id>dev</id>
  263. <properties>
  264. <!--使用${environment}获取值-->
  265. <environment>dev</environment>
  266. </properties>
  267. </profile>
  268. <profile>
  269. <id>test</id>
  270. <properties>
  271. <environment>test</environment>
  272. </properties>
  273. </profile>
  274. <profile>
  275. <id>pre</id>
  276. <properties>
  277. <environment>pre</environment>
  278. </properties>
  279. </profile>
  280. <profile>
  281. <id>prod</id>
  282. <properties>
  283. <environment>prod</environment>
  284. </properties>
  285. </profile>
  286. </profiles>
  287. <build>
  288. <resources>
  289. <resource>
  290. <directory>src/main/resources</directory>
  291. <includes>
  292. <include>**/*</include>
  293. </includes>
  294. </resource>
  295. <resource>
  296. <directory>src/main/java</directory>
  297. <includes>
  298. <include>**/*.xml</include>
  299. </includes>
  300. </resource>
  301. <resource>
  302. <directory>src/main/lib</directory>
  303. <targetPath>BOOT-INF/lib/</targetPath>
  304. <includes>
  305. <include>**/*.jar</include>
  306. </includes>
  307. </resource>
  308. <resource>
  309. <directory>src/main/resources</directory>
  310. <targetPath>BOOT-INF/classes/</targetPath>
  311. </resource>
  312. </resources>
  313. <finalName>${project.artifactId}</finalName>
  314. <plugins>
  315. <plugin>
  316. <groupId>org.springframework.boot</groupId>
  317. <artifactId>spring-boot-maven-plugin</artifactId>
  318. <version>2.6.8</version>
  319. <configuration>
  320. <includeSystemScope>true</includeSystemScope>
  321. </configuration>
  322. <executions>
  323. <execution>
  324. <goals>
  325. <goal>repackage</goal>
  326. </goals>
  327. </execution>
  328. </executions>
  329. </plugin>
  330. <!-- 跳过单元测试 -->
  331. <plugin>
  332. <groupId>org.apache.maven.plugins</groupId>
  333. <artifactId>maven-surefire-plugin</artifactId>
  334. <configuration>
  335. <skipTests>true</skipTests>
  336. </configuration>
  337. </plugin>
  338. </plugins>
  339. </build>
  340. </project>